WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

mod_rewrite not working on main page
urls on home page do not seem to use mod_rewrite

Version:
Example URL: http://www.hifiresource.com/links
printPrint


mod_rewrite not working on main page
hifresource
Beginner

Usergroup: Member
Joined: Nov 13, 2004
Total Topics: 2
Total Posts: 7
Posted 11/14/04 - 10:25 AM:
quote post
#1
I've enabled the mod_rewrite feature in WSNLinks and it works fine for listings of subdirectory links but does not apply to the links on my main page links. The links at www.hifiresource.com/links show urls like

http://www.hifiresource.com/links/index.php?actio...

When you browse to that page, the subdirectory links show http://www.hifiresource.com/links/Audio_and_HiFi_... as expected with mod_rewrite turned on.

My templates for both page use the same format as displayed below. What's stopping the links on the home page from using the mod-rewrite format??



{CATNAME} ({CATNUMLINKS}) {CATHASNEW} {CATADMIN}
{CATDESCRIPTION}

{CATNAME},



Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 6014
Posted 11/15/04 - 12:55 PM:
quote post
#2
Did you add the class there? Try moving it to before the href.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
hifresource
Beginner

Usergroup: Member
Joined: Nov 13, 2004
Total Topics: 2
Total Posts: 7
Posted 11/16/04 - 03:34 PM:
quote post
#3
First of all, both the Main Index and Show Links templates are using the same structure with the class in the same place, after the URL. You are seeing the code from the Show Links template which DOES work. I tried removing the class calls from the Main template but no change.
hifresource
Beginner

Usergroup: Member
Joined: Nov 13, 2004
Total Topics: 2
Total Posts: 7
Posted 11/19/04 - 06:33 AM:
quote post
#4
Does anyone have any other ideas on this or do I just live with this bug?

Thanks, Bob
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.