htaccess RewriteRule for SEO
Project ID: 1231849564
Project Details
- Status: Closed (Chosen Programmer: cogzidel; Paid; Rated 10 out of 10)
- Posted: 1/13/2009 at 7:26 EST
- Closed: 1/13/2009 at 10:51 EST
- Project Creator:
- Budget: $10
- 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 - Tags:
| Project Bids |
| Programmer | Bid |
Delivery Time | Time of Bid | Rating | |
| cogzidel | $10 | 1 day | 1/13/2009 at 9:23 EST | (161 reviews) |
|
| can be done | |||||






