: Search engine results I run this website www.chalopicnic.com and My development team recently changed the url structure to include hyphen which originally had underscore. This is resulting in NOT
I run this website chalopicnic.com and My development team recently changed the url structure to include hyphen which originally had underscore. This is resulting in NOT FOUND in search engines.
For example when "jet skiing in Mumbai" is searched on Google, the 5th result is
chalopicnic.com/more_info.php?tid=373
The change done to the above link is the hyphen
chalopicnic.com/more-info.php?tid=373
Is there a way to have the renamed link auto redirected to new link so that I don't loose ranking on Google.
My dev team is unable to find an elegant solution and hence I am seeking help on this.
More posts by @Samaraweera270
1 Comments
Sorted by latest first Latest Oldest Best
Most online web servers will support rewriting of the URL. In Apache this can be done by using a htaccess file and using something like:
RewriteRule (.*)_(.*) - [N]
Your find many questions and answers on Stack Overflow regarding converting and rewriting the URL from underscores to hyphens. It's worth mentioning that your development team should of never changed the URL structure before setting up the redirects in advance, by doing so you run the risk of Google dropping the old pages, which means you may lose the authority and rankings gained on the old pages.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.