Message Text |
I'm not having much luck at all with the rewrite. Tested it a few versions ago and it seemed fine. With this site I did have it working, then decided to change the format of the rewrite for details. After changing I regenerated everything.
The categories work fine, but click on details and you just get a 404 error. I don't understand the .htaccess at all, but here is what mine is....
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]
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 ^detail/([-_/+A-Za-z0-9äüößèà ]+)-([0-9]+).html$ link.php?action=detail&id=$2
RewriteRule ^/([-_/+A-Za-z0-9äüößèà ]+)-([0-9]+).html$ link.php?action=detail&id=$2
Under the FTP info I have put the exact info I use to upload my files
WSN Links is in the root of my site.
|