I've been working on modifications of WSN links all day, so this is probably something really simple, so if anyone knows what to do, I'd appreciate the help!
The htaccess doesn't have anything to do with what links the script puts in the html, only with whether they work.
When a category has a special character in the name it'd end up using the numerical rewriting. Presumably your subcategories don't though. What are your rewrite settings? I suppose something must be different from what I have at http://links.webmastersite.net where it works.
sulleleven - Custom things would be an htaccess matter, not a script matter.
0/5
1
2
3
4
5
This thread is closed, so you cannot post a reply.
Comments on Mod-rewrite
Usergroup: Customer
Joined: Apr 17, 2004
Total Topics: 21
Total Comments: 50
I did a search to see if I could find anything about this, but I didn't see this addressed specifically...
I did everything required to get mod-rewrite working but it doesn't seem to be working past the main category.
I get: http://www.domain/directory/catname
but on a sub-cat of "catname": http://www.domain.com/78
I've been working on modifications of WSN links all day, so this is probably something really simple, so if anyone knows what to do, I'd appreciate the help!
Jen
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
That's probably a 3.3.4 bug, sounds familar. Seems to be working right at http://links.webmastersite.net which is more recent.
Usergroup: Customer
Joined: Apr 17, 2004
Total Topics: 21
Total Comments: 50
I upgraded to 3.3.11 and the problem with mod-write wasn't fixed by upgrading....any other ideas?
Thanks,
Jen
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Perhaps you need to regenerate categories before it applies?
Usergroup: Customer
Joined: Apr 17, 2004
Total Topics: 21
Total Comments: 50
One step ahead of you Paul! I already regenerated categories and everything else as well....
This one really has me stumped!
Jen
Usergroup: Customer
Joined: Apr 17, 2004
Total Topics: 21
Total Comments: 50
I've been trying everything I can to make this work properly....could it be something extra that needs to be modified in my .htaccess file?
I *think* I did everything I was supposed to in it....I'll post it below if someone could look at it and tell me if I screwed anything up.
Options +FollowSymlinks
RewriteEngine on
# If not working, uncomment and correctly fill the line below:
RewriteBase /directory/
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
RewriteRule ^/([-_/\+A-Za-z0-9]+)-([0-9]+).html$ link.php?action=detail&id=$2
Thanks,
Jen
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The htaccess doesn't have anything to do with what links the script puts in the html, only with whether they work.
When a category has a special character in the name it'd end up using the numerical rewriting. Presumably your subcategories don't though. What are your rewrite settings? I suppose something must be different from what I have at http://links.webmastersite.net where it works.
sulleleven - Custom things would be an htaccess matter, not a script matter.