Tag Info

New answers tagged

0

if (!-e $request_filename){ rewrite ^(.*)$ /$1.php; } try_files $uri $uri/ /index.html; What happens if /$1.php does not exist either? I'm no expert on Nginx unfortunately, but on Apache this sort of rewrite could result in a rewrite loop (you would need to check that the file exists first before rewriting to it). Should this not be rewritten using ...


0

As a belated followup for anyone else experiencing this issue, it took my site about two weeks to fully recover, and there was no permanent damage done to my SEO ranking. Once the site was fully recovered I introduced conical links to all pages to help google identify out of place pages in the event of another such mishap.



Top 50 recent answers are included