I have a lot of URLS ending in [url removed, login to view] or [url removed, login to view] which I need to redirect to different url's
I am using NGINX version nginx/1.4.2
I need to setup proper redirect for all those urls or some command which can detect 404 and then forward all those urls to main page.
I just need example and the rest I can do as long as they redirect properly without any loop error.
3 freelancers are bidding on average $20 for this job
Hello, you should check try_files and error_page directives. its very simple but very useful. so, if content is now found, it can put 404 and do redirect to whatever you want.