Need .htacces file for redirecting pages
Budget: €8 – €30 EUR
We've just transfered a site to another domain and need several redirectons in the .htaccess file. While our rules work more or less, they could need some fine tuning. Here's what we need. It is important the alle rules are excecuted in a specific order! Please, keep this in mind.
First come the specific redirects
Redirect 301 /old-url/ https://newdomain.com/old-url/
Redirect 301 /folder-a/old-url/ https://newdomain.com/new-url/
Next comes a less specific rule like so:
Redirect all urls containing /folder-a/etc/ to new url
Last rule is:
Redirect everything else that does not match the rules before
First come the specific redirects
Redirect 301 /old-url/ https://newdomain.com/old-url/
Redirect 301 /folder-a/old-url/ https://newdomain.com/new-url/
Next comes a less specific rule like so:
Redirect all urls containing /folder-a/etc/ to new url
Last rule is:
Redirect everything else that does not match the rules before