Hi there, I am in the middle of a big site move and I would like to redirect many links if possible to my subdomain.
There are hundreds of links out there on my main domain tayloryourbestlife.com/////* (the stars are variables)
What I would like to do is somehow, forward the links to the exact same link on my submdomain, mab.tayloryourbestlife.com/////* …
I can’t do a full redirect because I have links like tayloryourbestlife.com/mab/review that will be in use in the new site, but longer affiliate links with 3 4 or 5 /s need to be redirected to the new MAB subdomain.
I set up some page rules, but it doesn’t seem to be working. Is there any way around this please?
It did work! It just took a little while for it to implement. I think it may have been cached for me from before. All seems to be ok now though, thanks so much for all your help!
Can you provide a curl command which shows it not working. Right now the hostname is , but I can simulate requests to and the redirects seems to work as expected:
You only need the third Page Rule. The other two are essentially redundant, the last * in the three star Page Rule will match everything that comes after the last /.
I’m a bit lost here because yesterday your site didn’t seem to be a WordPress installation, but today it does!
Anyway, you can prevent the redirect for most assets by creating page rule with any directive and placing it above the one that redirects the subdirectories:
URL: /wp-*
Setting: Auto Minify: Off
(It could be any setting that doesn’t interfere with your website performance)
There may be a few other assets on your domain that do not start with /wp-, and for those you’d need to add aditional page rules to avoid these URLs from being redirected.