URL Path redirect?
-
This might be a silly/simple question, but I am having a hard time finding anything about this in the documentation.
Is it possible for me to redirect a URL path instead of a direct URL?
I used a translation plun-in that unbeknownst to be created a bunch of new pages with new paths. So, the page, https://sanpanchorentals.com/properties/casa-cascada/ became https://sanpanchorentals.com/es/properties/casa-cascada/ when translated (adding the “/es” for Spanish).
Now that I am no longer using the translation plug-in so I was left with a bunch of new pages which I had to delete. I now have a bunch of 404 errors for these Spanish pages (with the “/es” in the URL). I realize that I can go through individually and redirect https://sanpanchorentals.com/es/properties/casa-cascada/ to https://sanpanchorentals.com/properties/casa-cascada/ individually, but I am wondering if there is a more global approach and how to accomplish that.
I’d like to redirect all URLs that begin with https://sanpanchorentals.com/es/properties/ to redirect to https://sanpanchorentals.com/properties/ so that:https://sanpanchorentals.com/es/properties/casa-cascada/ would automatically redirect to:
https://sanpanchorentals.com/properties/casa-cascada/
https://sanpanchorentals.com/es/properties/villa-amigos/ to:
https://sanpanchorentals.com/properties/villa-amigos/
https://sanpanchorentals.com/es/properties/casa-miramar/ to:
https://sanpanchorentals.com/properties/casa-miramar/Etc?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.