| Title |
.htaccess |
| Message Text |
I have an htaccess file that looks like this
Options +FollowSymlinks
RewriteEngine on
# If not working, uncomment and correctly fill the line below:
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
RewriteRule ^admin$ admin/index.php
RewriteRule ^admin/$ admin/index.php
RewriteRule ^listing/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2
RewriteRule ^listing/([0-9]+)/?$ link.php?id=$1
RewriteRule ^thread/([0-9]+)/?$ comments.php?id=$1
RewriteRule ^thread/([0-9]+)/([0-9]+)/?$ comments.php?id=$1&page=$2
RewriteRule ^([0-9]+)/?$ index.php?action=displaycat&catid=$1
RewriteRule ^([0-9]+)/([0-9]+)/?$ index.php?action=displaycat&catid=$1&page=$2
RewriteRule ^([-_/\+A-Za-z0-9]+)$ index.php?action=displaycat&catname=$1
RewriteRule ^listing/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
How can I make it so that links that are like this http://tidget.com/listing/detail/14
change to
http://tidget.com/14
Thanks,
Matt |
| Rating |
0/5 based on 0 votes.
|
| Ownership |
scriptwiki |
| Views |
1,037 views. Averaging 0 views per day. |
| Similar Topics |
|
| Submission Date |
Mar 18, 2006 - 4:44 PM |