Webmastersite.net
Register Log In

detail rewriting issue

Title detail rewriting issue
Description goes to "thread" instead of links
Message Text Just purchased script! AMAZING! Two small issues I need help with. When I switch the "use link names in link details URL" to "no" and the uses clicks on details they get this www.abc.com/classifieds//thread/1. How do I correct this so it points to the Linking Details? Also, I want to get rid of this "//" in the URL. Ideally, there would only be one "/" or a word. I would prefer a shortern the URL for Search Engines. I have never worked with rewrites. I appreciate any help you can give me. -------------------------- Current .httaccess file: -------------------------- Options +FollowSymlinks RewriteEngine on # If not working, uncomment and correctly fill the line below: # RewriteBase /links RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+[^/])$ $1/ [R] RewriteRule ^admin$ admin/index.php RewriteRule ^admin/$ admin/index.php RewriteRule ^links/([a-z]+)/([0-9]+)/?$ link.php?action=$1&id=$2 RewriteRule ^links/([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 ^links/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership Soren
Views 592 views. Averaging 0 views per day.
Similar Topics
Submission Date Jul 30, 2005 - 5:00 AM