Hello,
I’m sorry to hear about the issue you’re facing with the page redirection. It seems like there might be a conflict with the URL structure and the redirections. To resolve this, you can use Rank Math’s Redirection Manager to remove the additional number from the URL.
Here’s how you can do it:
- Navigate to your WordPress Dashboard and go to Rank Math SEO > Redirections.
- Click on the Add New button to create a new redirection.
- In the Source URL field, add the following regex code:
/team/(.*)-2
- In the Destination URL field, add:
/team/$1
This will remove the additional number from the URL when the page is accessed.
If you encounter any issues or need further assistance, please feel free to reach out to us by assigning this ticket to our support team using the available buttons.
We’re here to help!
Sources:
Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
Page With Redirect – Google Search Console Status » Rank Math
How to Remove a Specific Word From Your Permalinks (URLs) » Rank Math
How to Fix “Duplicate, Google Chose Different Canonical than User” » Rank Math
sorry can you please check the images for better understanding and give me a solution
https://imgur.com/a/KfYtdv5
Hello,
Apologies for the confusion.
The redirect will not work in that case.
The number is added if there are other URLs with the same slug. Please check your URLs as well if it’s getting duplicated.
If none, then this happens when the Redirect Attachments option is enabled on your site, and you have a media or attachment URL with the same slug.
If that is the case, you can re-upload the media with a different file name (/md-rifat-kamal) or at least rename the attachment URL to a different slug to avoid getting the -2
or -3
in the URL.
Let us know how this goes.
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.