bartman Posted March 31, 2010 Share Posted March 31, 2010 working on a new design for a site, The site is an old oscommerce site, but it very well indexed on google and has a good search ranking,obviously when the site goes live with its new prestashop design, although the main url will remain the same all the old category and products urls are going to changewhat is the best way to handle the change.What I was planning todo is create 301 redirectw from the old oscommerce pages to the new prestashop urls in the .htaccessIs this the correct way to handle the problem or is their a better soloutionmany thanksChris Link to comment Share on other sites More sharing options...
Maksym Posted April 6, 2010 Share Posted April 6, 2010 301 redirect is the best solution imho. Check this link http://www.google.com/support/webmasters/bin/answer.py?answer=83105&hl=enAlso, if you need to move all your products, customers and/or orders you can use Cart2Cart - shopping cart migration service. Link to comment Share on other sites More sharing options...
jeckyl Posted April 16, 2010 Share Posted April 16, 2010 Hi,the best solution is to use 301 but did you know how to wrote only one line to redirect all oscommerce produt to prestashop ? Link to comment Share on other sites More sharing options...
cybersteph Posted April 16, 2010 Share Posted April 16, 2010 redirect old url oscommerce in the htaccess for every new url presta! View old url in the google analytic. Link to comment Share on other sites More sharing options...
jeckyl Posted April 16, 2010 Share Posted April 16, 2010 thnks, but with 900 url i don't want to chek all and its possible to make it with only 1 expression because all url are a same structure Link to comment Share on other sites More sharing options...
cybersteph Posted April 16, 2010 Share Posted April 16, 2010 in french! i'm frenchhttp://www.prestashop.com/forums/viewthread/49764/discussion_generale/petit_coup_de_pouce_pour_des_301_en_htaccess/ Link to comment Share on other sites More sharing options...
Maksym Posted April 20, 2010 Share Posted April 20, 2010 thnks, but with 900 url i don't want to chek all and its possible to make it with only 1 expression because all url are a same structure Google Webmaster Tools -> Site configuration -> Change of address Link to comment Share on other sites More sharing options...
jeckyl Posted April 20, 2010 Share Posted April 20, 2010 Google Webmaster Tools -> Site configuration -> Change of address Thankds, but it's only if i change my domain name, but i change all files. Link to comment Share on other sites More sharing options...
Adwords Oglaševanje Posted May 7, 2011 Share Posted May 7, 2011 RewriteEngine on RewriteCond %{QUERY_STRING} ^products_id=([0-9]*)$ RewriteRule ^product_info\.php$ http://www.domainname.com/shop/product.php?id_product=%1 [R=301,L] RewriteCond %{QUERY_STRING} ^manufacturers_id=[0-9]*&products;_id=([0-9]*)$ RewriteRule ^product_info\.php$ http://www.domainname.com/shop/product.php?id_product=%1 [R=301,L] This worked for me. First set is for redirecting http://www.domainname.com/product_info.php?products_id=123 to http://www.domainname.com/shop/product.php?id_product=123the second is for redirecting http://www.domainname.com/product_info.php?manufacturers_id=123&products_id=123 to http://www.domainname.com/shop/product.php?id_product=123leave out "/shop/" in RewriteRule if your shop is not in the "/shop/" subfolder or change if its in another subfolder.Let me know how that works for you.BestA[/code] Link to comment Share on other sites More sharing options...
Adwords Oglaševanje Posted May 7, 2011 Share Posted May 7, 2011 in the second set the forum keeps on setting ";" after "products" in product_id, please ignore the ";" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now