url mod_rewrite
I had an e-commerce website hosted on http://mydomain.com/beta for more than a year, eventually I decided to move the website to root http://mydomain.com
I had done quite a lot of link postings to forums etc, when my site used to be hosted in the sub-dir /beta.
Is there a way to do a mod_rewrite by which all the old links that I have posted do not return as broken links, since now longer the site is hosted in /beta and is now hosted on the site root.
I did read that mod_rewrite can help resolve this issue, but also read about that this has to be done with care. Just a tip that this site is using friendly URL.
I had an e-commerce website hosted on http://mydomain.com/beta for more than a year, eventually I decided to move the website to root http://mydomain.com
I had done quite a lot of link postings to forums etc, when my site used to be hosted in the sub-dir /beta.
Is there a way to do a mod_rewrite by which all the old links that I have posted do not return as broken links, since now longer the site is hosted in /beta and is now hosted on the site root.
I did read that mod_rewrite can help resolve this issue, but also read about that this has to be done with care. Just a tip that this site is using friendly URL.
No comments:
Post a Comment