Jump to content

Rewrite cart.php


itdungpt

Recommended Posts

please view

powernet.vn/order-group2-power-hosting.html

how to make

 

domain.com/cart.php?gid=
domain.com/cart.php?a=add&pid=95

 

i want rewrite to domain.com/groupname and domain/productname

 

can you tell me rewrite rules for htaccess?

Edited by itdungpt
Killed Link
Link to comment
Share on other sites

What exactly is the question, please post the issue here to this thread.

 

 

domain.com/cart.php?gid=
domain.com/cart.php?a=add&pid=95

 

i want rewrite to domain.com/groupname and domain/productname

 

can you tell me rewrite rules for htaccess?

Link to comment
Share on other sites

  • 2 years later...
On 06/11/2015 at 11:45 PM, nimonogi said:

You can use something like this:

 

RewriteEngine On

RewriteRule ^anything\.php$ /cart.php?gid=1 [L]

 

so when you visit domain.com/anything.php will show the content of domain.com/cart.php?gid=1

 

Thanks! it works very well

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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