 | MEMBER LOGIN |
|
|
 |
|
 | SERVICES & FEATURES |
|
|
 |
|
 | THE 20 LATEST PROJECTS |
 | POPULAR NEW PROJECTS |
|
|
Project: htaccess RewriteRule for SEO ID: 1231849564 |
|  |  |  |
 |
| |
|
Status: |
Closed (Chosen Programmer: cogzidel; Paid; Rated 10 out of 10)
|
|
Budget: |
$10
|
|
Created: |
1/13/2009 at 7:26 EST
|
|
Closed: |
1/13/2009 at 10:51 EST
|
|
Project Creator: |
|
|
Description: |
I have problems putting statements in my .htaccess file. At the moment it looks like this:
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
RewriteRule ^([a-zA-Z0-9_-]+).htm$ /Pages/$1.php
RewriteRule ^$ /index.php
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)$ /Pages/category_products.php?CategoryID=$2
RewriteRule ^([a-zA-Z0-9_-]+)/([0-9]+)-p-([0-9]+)$ /Pages/category_products.php?CategoryID=$2&pageNum_rsProducts=$3
In the above code everything looks fine bt i need to add another rewrite rule and nothing seems to be working. Also it seems like when there is more than one "/" on the left-hand side of the rule the page is loading but without all the css and images.
the rule i'd like to add is:
RewriteRule ^([0-9]+)/([a-zA-Z0-9_-]+)$ /Pages/product_details.php?ProductID=$4
or something similar that makes the dynamic page look static.
I look forward to your reply.
Agata
|
|
Job Type: |
|
| |
 |
|
Messages Posted: 10 |
| |