Page 2 of 2

Re: Rewrite Rules for Zen Cart Mods

Posted: Tue Jul 01, 2008 7:01 pm
by BlessIsaacola
BTW, this code did not work to solve the problem described above:

Code: Select all

RewriteRule ^index.php?main_page=about_us$ about-us.html [R=301,L,QSA]

Re: Rewrite Rules for Zen Cart Mods

Posted: Mon Jul 14, 2008 10:33 am
by inveo
You are correct. I hope this will work fine:

Code: Select all

RewriteCond ${QUERY_STRING} ^main_page=about_us$
RewriteRule ^index.php$ about-us.html? [R=301,L]

Re: Rewrite Rules for Zen Cart Mods

Posted: Wed Jul 16, 2008 8:36 am
by BlessIsaacola
Unfortunately, it did not work. You can click on this link: http://www.clevershoppers.com/index.php ... e=about_us and it will still take you to the non-formatted page instead of rewriting.

Re: Rewrite Rules for Zen Cart Mods

Posted: Wed Jul 16, 2008 8:38 am
by inveo
Please make sure you put this code immediately after RewriteBase line.

Re: Rewrite Rules for Zen Cart Mods

Posted: Sun Jul 27, 2008 4:12 pm
by BlessIsaacola
Yes! That's exactly where it is located and it still doesn't work. Thanks!

Re: Rewrite Rules for Zen Cart Mods

Posted: Mon Aug 11, 2008 4:44 pm
by sarah2472
Actually... I'm editing this, because I stated it wrong in my last post, so I'm rephrasing it :)

I tried using:

RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})&zenid=([a-z0-9]*)$ [OR]
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})$ [OR]
RewriteCond %{QUERY_STRING} ^zenid=([a-z0-9]*)$ [OR]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^returns.html$ index.php?main_page=returns [L,QSA]


to rewrite the returns page. The rewrite works because you can access the page now from either URL. The problem is that it's not transforming the link in the information sidebox. It still links and goes to: https://www.ktpetsupply.com/index.php?main_page=returns

I would have thought it would automatically change like the others.

Re: Rewrite Rules for Zen Cart Mods

Posted: Sat Oct 18, 2008 10:18 am
by DoBBs
Hi,

I have installed Magic SEO and everything is working correctly. Since install I have added a Mod called Links Manager v3 (http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=297), which is not working, I believe because of URl rewriting. When I submit a link I get a 403 error (http://www.molliemoo.co.uk/index.php?main_page=links_submit&lPath=2).

I have read this forum and have used existing rules as a template, but have had no success. I have also tried using the About us example in this thread again without success.

Code: Select all

#links - links
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})&zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3}) [OR]
RewriteCond %{QUERY_STRING} ^zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^
RewriteRule ^links.html$ index.php?main_page=links [L,QSA]
#links submit - links submit
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})&zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3}) [OR]
RewriteCond %{QUERY_STRING} ^zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^
RewriteRule ^links_submit.html$ index.php?main_page=links_submit&lPath=2 [L,QSA]
#links submit 2 - links submit 2
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3})&zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^currency=([a-zA-Z]{3}) [OR]
RewriteCond %{QUERY_STRING} ^zenid=([a-z0-9]*) [OR]
RewriteCond %{QUERY_STRING} ^
RewriteRule ^links_submit_success.html$ index.php?main_page=links_submit&action=send [L,QSA]


Is there something fundamental I am missing?

Any help is much appreciated.

Re: Rewrite Rules for Zen Cart Mods

Posted: Sat Oct 18, 2008 11:09 am
by inveo
You don't need to add any Rules in this case. Problem you are experiencing is not caused by MSU, but by MOD (you can prove it by disabling MSU, i.e.: rename .htaccess and comment out installation line).

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
  • [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
  • [phpBB3] Chinese language support
    Hi, i bought magic seo for phpbb because it says that it supports a wide range of alphabets and UTF-8, however i found that it doesn't. I'm preparing a website in Chinese and all forums having a...
    by iwsmike
  • [WP2PS] Yoast SEO plugin
    Thanks for your support installing the PS-WP integration. However there is some errors when PS-WP integration is activated. 1. Error generating sitemap with Yoas SEO plugin (it disappears when...
    by argidomin
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 »