2n3055 Posted March 9, 2012 Share Posted March 9, 2012 Running CC 5.0.7 and SEO friendly links, How can I redirect this old link: http://mywebsite.com/cubecart/index.php/test-kits/c_2.html to this: http://mywebsite.com/cubecart/test-kits/ I tried many variations of a 301 redirect within htaccess and CPanel but it doesn't seem to work. Hopefully it's something simple, Thanks. Quote Link to comment Share on other sites More sharing options...
Guest acschnabel Posted April 12, 2012 Share Posted April 12, 2012 We use 301 redirects as such: http://www.domain.com/products.asp to http://www.domain.com/products.php In your case, it would be: redirect 301 /products.asp http://www.domain.com/products.php The above would redirect redirect 301 /cubecart/index.php/text-kits/c_2.html http://mywebsite.com/cubecart/test-kits Quote Link to comment Share on other sites More sharing options...
2n3055 Posted April 12, 2012 Author Share Posted April 12, 2012 This is wonderful! Thanks for clearing that up for me! Quote Link to comment Share on other sites More sharing options...
Guest Ryanloop Posted April 24, 2012 Share Posted April 24, 2012 We use 301 redirects as such: redirect 301 /products.asp http://www.domain.com/products.php The above would redirect http://www.domain.com/products.asp to http://www.domain.com/products.php In your case, it would be: redirect 301 /cubecart/index.php/text-kits/c_2.html http://mywebsite.com/cubecart/test-kits Thanks for the information very useful @acschnabel Quote Link to comment Share on other sites More sharing options...
viren Posted July 18, 2013 Share Posted July 18, 2013 Hi Ryan, I recently upgraded my CC3 to CC5 and added 301 redirect rule as you suggested, but these are not working. can you please look into htaccess below and let me know what I am doing wrong, <IfModule mod_rewrite.c> RewriteEngine On redirect 301 /mainspressure/ http://www.hotwatercylinder.co.nz/mains-pressure.html redirect 301 solar-/-wetback/superheat/superheat-wetback http://www.hotwatercylinder.co.nz/superheat-nz.html RewriteCond %{HTTP_HOST} ^hotwatercylinder.co.nz [NC] RewriteRule (.*) http://www.hotwatercylinder.co.nz/$1 [L] ErrorDocument 404 http://www.hotwatercylinder.co.nz/index.php?_a=document&doc_id=28 ErrorDocument 301 http://www.hotwatercylinder.co.nz/index.php?_a=document&doc_id=28 RewriteRule ^sitemap.html$ index.php?_a=plugin&plugin=sitemap [L] ######## START v4 SEO URL BACKWARD COMPATIBILITY ######## RewriteCond %{QUERY_STRING} (.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule cat_([0-9]+)(.[a-z]{3,4})?(.*)$ index.php?_a=category&cat_id=$1&%1 [NC] Quote Link to comment Share on other sites More sharing options...
colesraymond Posted September 18, 2013 Share Posted September 18, 2013 A 301 redirect is a permanent redirect from one URL to the other. And 301 redirect to send traffic from the other URLs to your preferred URL. Quote Link to comment Share on other sites More sharing options...
colesraymond Posted October 9, 2013 Share Posted October 9, 2013 (edited) Hello Friend... Here i am sharing video link you can follow all steps and redirect your Urls... <search on youtube> Thanks for... Edited October 9, 2013 by Dirty Butter nonCC url removed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.