timir Posted June 17, 2011 Share Posted June 17, 2011 I had been using a prestashop instance in a sub-dir for example http://www.mydomain.com/beta'>http://www.mydomain.com/beta for a year now and I have decided to place the shop at the root of the domain http://www.mydomain.com,'>http://www.mydomain.com, however since a year I had been doing alot of promotions on various forums , social network etc, by posting link to the product pages etc.Hence I needed to know if there is anywhere to redirect all the external links that were pointing to the earlier locationhttp://www.mydomain.com/beta'>http://www.mydomain.com/beta to the current http://www.mydomain.com to avoid broken links that were used in promoting the shop on various forums.I hope there someone can point me in the right direction. Link to comment Share on other sites More sharing options...
shokinro Posted June 17, 2011 Share Posted June 17, 2011 you use URL rewrite rules to do this.You need to add the rewrite rules to .htaccess file of your site.(which is locates under root folder) Link to comment Share on other sites More sharing options...
timir Posted June 17, 2011 Author Share Posted June 17, 2011 Hi @shokinro,Thanks for pointing out, but from what I read about mod_rewrite is that it can be done with some professional knowledge and it could mess up with the site.Can someone please help me write a rule where all the external links bypass the /beta folder. Link to comment Share on other sites More sharing options...
shokinro Posted June 17, 2011 Share Posted June 17, 2011 Yes you are right, if it is a little bit complicated to someone who do not much about regular express and rewrite rules.It also depend your old site version and use SEO friendly URL or not.Honestly I am not an export on this. Hope someone can give you some help. Link to comment Share on other sites More sharing options...
timir Posted June 18, 2011 Author Share Posted June 18, 2011 I have the friendly url's are turned on through the Prestashop BO Link to comment Share on other sites More sharing options...
Recommended Posts