| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
icetrax
Joined: 11 Mar 2008 Posts: 1
|
Posted: Tue Mar 11, 2008 6:34 pm Post subject: A little problem. |
|
|
I think the problem is simple, there it is:
Instead of writing page URLs like this:
domain.com/category/x/xxx.html
domain.com/product/xxx.html
It's going like:
domain.com/category/category/x/xxx.html
domain.com/category/product/xxx.html
The category or product doubles. I will be very very thankful if you can help me fix this.
Thats my .htaccess:
| Code: |
Options -MultiViews
RewriteEngine On
SetEnvIf Request_URI "/admin/" static
SetEnvIf Request_URI "ajmp.php" static
RewriteRule (.*)/images/([^/]+) images/$2 [L]
RewriteRule ^(.*)contact contact.php [L,QSA]
RewriteRule ^(.*)about about.php [L,QSA]
RewriteRule ^product/([0-9]+)\.html product.php?id=$1 [L,QSA]
RewriteRule ^category/([0-9]+)/([0-9]+)/([0-9]+)\.html product_list.php?affiliate_id=$1&category=$2&page=$3 [L,QSA]
RewriteRule ^category/([0-9]+)/([0-9]+)\.html product_list.php?affiliate_id=$1&category=$2 [L,QSA]
RewriteRule ^category/([0-9]+)\.html product_list.php?affiliate_id=$1 [L,QSA]
RewriteRule ^search/([^/]*)/([0-9]+) search.php?search=$1&page=$2 [L,QSA]
RewriteRule ^search/([^/]*) search.php?search=$1 [L,QSA]
|
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |