Page 1 of 1

[Zen Cart] 301 redirects

Posted: Wed Feb 16, 2011 1:41 pm
by makenoiz
In order to get a 301 redirect, I just want to make sure that I can safely add the the end of the generated .htaccess file my own rule such as (Ill reset permissions to read only after I change):

Code: Select all

RewriteCond %{QUERY_STRING} ^main_page=unsubscribe&addr=&action=unsubscribe$ [NC]
RewriteRule (.*) http://mydomain.com/index.php?main_page=myCustom_unsubscribe [R=301,L]


Thank you

Re: [Zen Cart] 301 redirects

Posted: Wed Feb 16, 2011 2:11 pm
by inveo
Yes. You can add any Rewrite Rules to the .htaccess file.

Re: [Zen Cart] 301 redirects

Posted: Wed Jun 29, 2011 1:11 pm
by jeking
I had the same question but not as skilled at rewrite rules.

I'm discontinuing a product and want all inbound links to redirect to it's replacement.

I entered the following at the end of my htacess file but it's not working. I'm getting an error about infinite redirects. What did I do wrong?

redirect 301 /photo-beach-towels-2/personalized-beach-towels-3/woven-photo-beach-towel-6.html /photo-beach-towels-2/personalized-beach-towels-3/full-color-photo-beach-towel-1222.html

Re: [Zen Cart] 301 redirects

Posted: Tue Jul 05, 2011 8:44 pm
by jeking
Bump.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

I am loving the speed! Hope this helps bounce rate and more sales :)

Andy, the owner of Lipgloss Clubwear

We are glad with our business relationship with the folks at Inveostore.com. They are very knowledgeable and speed of support is second to none. They have also gone the extra mile to assist us in writing codes to make other urls to have the nicely formed urls. Kudos to all the team at Inveo and keep up the good work. Looking forward...

Issac, the owner of Clevershoppers.com

More Testimonials »