redirect all store pages
-
Hi,
I have a site that has an online store.
I am moving my online store pages to a sub domain.
How do I redirect ALL pages that have a certain path.
I do not want to manually add each redirect as with the WP plugin I am currently using, each product is a page, and it will take me forever to create an individual redirect for each.
Here’s an example of what I was looking to do.
REDIRECT THESE PAGES
https://www.mydomain.com/online-store/socks
https://www.mydomain.com/online-store/sneakers
https://www.mydomain.com/online-store/baseballsTO
https://www.shop.mydomain.com/That way any page indexed by search engines with /online-store/ will redirect to my sub domain NEW online store main page with a message that say’s something like “welcome to our new online store”
I think I got it to work doing something like this
/online-store/(.*) (and Regex checked)BUT I don’t know if that’s “proper”
Any help is appreciated,
iso
- The topic ‘redirect all store pages’ is closed to new replies.