Hi ,
Can someone give me a redirect code for the below URL to the new URL. I dont know coding so wondering if someone can help me. I am using OC 1.56 and I assume I just stick this in .htaccess file.
OLD URL : http://thekollection.net/Wooden-Boxes_c4.htm
New URL to Point : http://thekollection.net/Hand-Painted-Wooden-Boxes
Any help please..
Thanks
Can someone give me a redirect code for the below URL to the new URL. I dont know coding so wondering if someone can help me. I am using OC 1.56 and I assume I just stick this in .htaccess file.
OLD URL : http://thekollection.net/Wooden-Boxes_c4.htm
New URL to Point : http://thekollection.net/Hand-Painted-Wooden-Boxes
Any help please..
Thanks
If you use CPanel it can be done very simply in there
Running OC 1.5.5.1 with vqmods.
http://www.aislings.co.uk
http://www.lovers-paradise-toys.co.uk
I did it in CPanel and this is what it show
Domain Directory Redirect Url Type Match www. Wildcard Remove
ALL /Wooden-Boxes_c4.htm http://thekollection.net/Hand-Painted-Wooden-Boxes permanent
However when I check it .. its now going to the URL
http://thekollection.net/Hand-Painted-W ... xes_c4.htm
Domain Directory Redirect Url Type Match www. Wildcard Remove
ALL /Wooden-Boxes_c4.htm http://thekollection.net/Hand-Painted-Wooden-Boxes permanent
However when I check it .. its now going to the URL
http://thekollection.net/Hand-Painted-W ... xes_c4.htm
Code: Select all
RewriteEngine on
rewriterule ^Wooden-Boxes_c4.htm (.*)$ http://thekollection.net/Hand-Painted-Wooden-Boxes $1/[R=301,L]
Running OC 1.5.5.1 with vqmods.
http://www.aislings.co.uk
http://www.lovers-paradise-toys.co.uk
Comes up with a server error ..any thoughts
http://thekollection.net/Hand-Painted-W ... xes_c4.htm
http://thekollection.net/Hand-Painted-W ... xes_c4.htm
I'm trying to do this, too.
I want to change this: http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-grade-a-gemstone-beads
to this: http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
I used the "redirect" link in my cpanel, and this is what it inserted in my htaccess file (it's NOT working):
#RewriteCond %{HTTP_HOST} ^nelsongemstones\.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.nelsongemstones\.com$
#RewriteRule ^gemstone\-beads\/green\-opal\/green\-opal\-8mm\-round\-grade\-a\-gemstone\-beads$ #"http\:\/\/nelsongemstones\.com\/gemstone\-beads\/green\-opal\/green\-opal\-8mm\-round\-beads" [R=301,L]
So I tried typing directly in the htaccess file this:
Redirect 301 gemstone-beads/green-opal/green-opal-8mm-round-grade-a-gemstone-beads http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
and I tried this:
Redirect 301 /green-opal-8mm-round-grade-a-gemstone-beads http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
When I click on a search link in Google, the page is not found and the URL looks like this:
http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads?_route_=green-opal-8mm-round-grade-a-gemstone-beads
What am I doing wrong?
I want to change this: http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-grade-a-gemstone-beads
to this: http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
I used the "redirect" link in my cpanel, and this is what it inserted in my htaccess file (it's NOT working):
#RewriteCond %{HTTP_HOST} ^nelsongemstones\.com$ [OR]
#RewriteCond %{HTTP_HOST} ^www\.nelsongemstones\.com$
#RewriteRule ^gemstone\-beads\/green\-opal\/green\-opal\-8mm\-round\-grade\-a\-gemstone\-beads$ #"http\:\/\/nelsongemstones\.com\/gemstone\-beads\/green\-opal\/green\-opal\-8mm\-round\-beads" [R=301,L]
So I tried typing directly in the htaccess file this:
Redirect 301 gemstone-beads/green-opal/green-opal-8mm-round-grade-a-gemstone-beads http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
and I tried this:
Redirect 301 /green-opal-8mm-round-grade-a-gemstone-beads http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads
When I click on a search link in Google, the page is not found and the URL looks like this:
http://nelsongemstones.com/gemstone-beads/green-opal/green-opal-8mm-round-beads?_route_=green-opal-8mm-round-grade-a-gemstone-beads
What am I doing wrong?
If you guys don't want to mess around with htaccess, you could take a look at my Redirect Manager extension. It has an OpenCart interface for adding redirects, and accomplishes them using PHP.
Who is online
Users browsing this forum: Majestic-12 [Bot] and 21 guests