Redirect a indexed broken url to new one in python django- nginx server

33 Views Asked by At

I have a python-django projet & it's hosted in AWS- nginx server. recently we changed the filename but whenever someone searching the old file (that is indexed in google) shows. it throws 404 error. how will I redirect old url (indexed one) to new one. ie:

www.example.com/logistics-services-odisha to www.example.com/logistics-services-in-odisha

we are trying it in robots.txt but no clue more. and we've not much experienced in this

0

There are 0 best solutions below