when some idiot decides to put a whole site in a (dated) subfolder like
www/2018/
and you want to migrate to another host and set things strait ( meaning www/ ) you will end up with A LOT OF 404 urls
You need to create a 2018 folder and put this in your htaccess to redirect 301 all requests to the parent root folder
RewriteRule ^(.*)$ https://www.fulldomain.ext/\ [R=301,L]
Leave a Reply