Hello,
I understand that you have several duplicate posts on your site with URLs ending in -2 that you want to redirect to the original post URL. To achieve this redirection, you can follow these steps:
-
Go to your WordPress admin dashboard and navigate to Rank Math SEO > Redirections.
-
Click on Add New Redirection and enter the Source URL (the duplicate post URL ending in -2) and the Destination URL (the original post URL).
-
Select the redirection type as 301 Permanent Move.
-
Click the Add Redirection button to save the redirection.
By setting up this 301 redirect in Rank Math, any traffic going to the duplicate post URLs ending in -2 will be automatically redirected to the original post URL. This will help consolidate the traffic and ensure that only the original version is accessible.
If you have multiple URLs that need to be redirected, you can also add them in bulk using Rank Math’s Redirections feature.
If you encounter any issues or need further assistance, please feel free to reach out. Thank you for bringing this concern to our attention.
Best regards.
Sources:
How to Fix ‘Duplicate, Submitted URL Not Selected as Canonical’ Issue in Google Search Console » Rank Math
How to Fix “Duplicate, Google Chose Different Canonical than User” » Rank Math
How to Fix ‘Duplicate Without User-Selected Canonical’ Status in Google Search Console » Rank Math
This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hi
I need to redirect all URLs that end in -2 to the same URLs without -2.
There must be a global way to redirect these without doing it one by one.
Hello,
Thank you for contacting Rank Math support.
Navigate to Rank Math > Redirection and add the following redirection rule to your website:
Source URLs: ^(.*)-2$
Destination URL: /$1
Redirection Mode: Regex
Redirection Type: 301 Permanent Move
We hope this helps you resolve the issue. Don’t hesitate to contact us again with any other questions or concerns regarding Rank Math. We are always happy to help.
Thank you for choosing Rank Math!