AlexDelierre Posted January 14, 2013 Share Posted January 14, 2013 Hey guys, Google's asking me to do a 301 redirect to my 404 errors .... Here is the old url : http://www.clickandshirts.com/fr/category.php?id_category=5 And the new is http://www.clickandshirts.com/fr/15-t-shirt I've try several things, but i thing the problem is in the /fr/ ....... Redirect permanent http://www.clickandshirts.com/fr/category.php?id_category=5 http://www.clickandshirts.com/fr/11-hommes'>http://www.clickandshirts.com/fr/11-hommes : doesn't work RewriteCond %{REQUEST_URI} ^(.*)/category.php?id_category=5(.*)$ RewriteRule ^(.*)$ http://www.clickandshirts.com/fr/11-homme [R=301] Also this doesn't work ... Can someone help ? Alex Link to comment Share on other sites More sharing options...
Radek100 Posted January 14, 2013 Share Posted January 14, 2013 Hi, you should try to redirect through htaccess file like this: # Redirect Redirect 301 /fr/category.php?id_category=5 http://www.clickandshirts.com/fr/15-t-shirt you should use Webmaster tool to remove your old url Let me know Link to comment Share on other sites More sharing options...
AlexDelierre Posted January 15, 2013 Author Share Posted January 15, 2013 Thank you guys, i've used webmaster tools for that ! Link to comment Share on other sites More sharing options...
sunilmkt Posted January 17, 2013 Share Posted January 17, 2013 301 redirection is best redirection methos. Just go to .htacces file and type url which one you want to redirect. 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