Hello,
I apologize for the issue you are facing with setting up redirects for your sub-pages under /blog to redirect to the main /blog page. To achieve this redirection and direct any cached content to your main blog page, you can follow these steps:
- Create a 301 Redirect with Rank Math:
- Go to your WordPress Dashboard and navigate to Rank Math SEO > Redirections.
- Click on the Add New Redirection button.
- In the Source URL field, enter the pattern for all sub-pages under /blog (e.g., /blog/*).
- Set the Destination URL as /blog.
- Choose the redirection type as 301 Permanent Redirect.
- Click on the Add Redirection button to save the redirect.

-
Bulk Redirects (Optional):
- If you have multiple sub-pages under /blog that need to be redirected, you can also add them in bulk using Rank Math’s redirection feature.
-
Verify the Redirect:
- After setting up the redirect, ensure to test it by accessing one of the sub-pages under /blog to confirm that it redirects to the main /blog page correctly.
If you encounter any issues or need further assistance with setting up these redirects, please feel free to reply here, and a human agent from our support team will assist you promptly.
Thank you for bringing this concern to our attention, and we appreciate your efforts in optimizing your website’s redirection strategy.
We’re here to help if you need any more assistance or have additional questions.
Sources:
How to Fix the Submitted URL Seems to Be a “Soft 404” Error » Rank Math
How to Redirect Posts After Changing URLs » Rank Math
How to Customize Breadcrumbs in Rank Math » Rank Math
What Is a Slug in WordPress? » Rank Math
How to Fix “Duplicate, Google Chose Different Canonical than User” » Rank Math
I want to set these up in bulk, like a wildcard for any possible slug after /blog/ to redirect to the main /blog page without having to add individual exact urls
Hello,
Thank you for your patience.
You can set the redirect like this to achieve that in Rank Math > Redirections:
Source: blog/(.*)
Type: Regex
Destination: https://yourwebsite.com/blog/
Please update the domain to your actual site. Once done, clear your website’s cache as well.
Hope that helps.
Hello,
We are glad to know that this issue has been resolved. Thank you for letting us know.
This ticket will be closed now, but you can always open a new one if you have any other questions or concerns. We are here to help you with anything related to Rank Math.
We appreciate your patience and cooperation throughout this process.
Thank you for choosing Rank Math.