Hello, I apologize for the inconvenience you are facing. To add “/madrid/” before the URL of specific pages on your WordPress website using Rank Math SEO without affecting other URLs, you can follow these steps:
-
Navigate to Redirections:
- Go to WordPress Dashboard → Rank Math SEO → Redirections.
-
Add a New Redirection:
- Click the Add New button in the Redirections Manager.
-
Set up the Redirection:
- In the redirection setup, enter the original URL of the page you want to modify (e.g., “www.dominio/url-de-la-pagina”) in the Source URL field.
- In the Destination URL field, enter the modified URL with “/madrid/” added at the beginning (e.g., “www.dominio/madrid/url-de-la-pagina”).
- Ensure to save the redirection.
By following these steps, you can add “/madrid/” before the URL of specific pages on your website while keeping other URLs unaffected. If you encounter any issues or need further assistance, please feel free to ask. Thank you for reaching out with your concern!
Sources:
Why Are Posts Redirecting to www or Non-www Incorrectly?
How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math
How to Fix ‘Duplicate, Submitted URL Not Selected as Canonical’ Issue in Google Search Console » Rank Math
How to Fix ‘Duplicate Without User-Selected Canonical’ Status in Google Search Console » Rank Math
Alternate Page with Proper Canonical Tag Status in Google Search Console » Rank Math
Hello,
Thank you for your patience.
Could you please confirm if you’re referring to the WordPress default “Pages” Post type?
If so, then you can create a parent and child relationship to add that to the URL. Here’s a link for more information:
https://www.wpbeginner.com/beginners-guide/how-to-create-a-child-page-in-wordpress/
However, if you prefer a different method and just add it to the slug, then you may need to use a permalink plugin like Permalink Manager to achieve that specifically.
Hope that helps.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.