Jump to content

Disabling the old cart.php system?


MikeDVB

Recommended Posts

I don't see an option in the administration panel (maybe I'm blind) but I'm trying to do so via mod_rewrite and I wrote these rules:

RewriteRule ^cart\.php\?a=add&pid=([0-9]+) ./order/?pid=$1&skip=1 [R=301,L,NC]
RewriteRule ^cart\.php$ ./order/ [R=301,L,NC]

 

The problem is that the first rule for whatever reason isn't working and I can't seem to figure it out :) According to my regex tester my checking should work but mod_rewrite might be quirky (not used it in a while).

 

2010-09-02_1141.png

 

Ideas/suggestions?

 

Edit: Yes, the rewrite engine is on (I only posted my rules, not my entire .htaccess).

Edited by MikeDVB
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated