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
[code:1:5d54fe9e16]RewriteRule ^(.*)$ https://www.fulldomain.ext/$1 [R=301,L][/code:1:5d54fe9e16]
Leave a Reply