Go Back   Computer Forums > General Computing > Programming
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 02-21-2006, 11:25 PM   #1
Beta Member
Join Date: Feb 2006
Posts: 1
Default mod_rewrite navigation prob

Well I got that last problem I had fixed so here's a new one I'm having.
I have mod_rewrite on my site on and its causing some navigation menu problems.

I coded my index file so that when you access:
You get the about page in a tech'ish type template.
and when you go to
You get the about page in a simple type template.
I don't like using redirects if I don't have to so I put several lines of code to check if the user selected a template or not and if not, give them the default one (the default is the tech'ish one).
I eventually want to add a preferences manager to the site which stores cookies on the users computer where they can choose what template they want to see everytime they go to the site.
I got mod_rewrite working so that you can access the about page in a tech'ish type template by entering
and the same thing in a simple template by entering
So all that works.

I just can't get the navigation to work. When you go to http://dbhsusb.org it doesnt work but if you go to one of the mod_rewrite urls it works. I can't get it to work on both the mod_rewrite urls and the main real url (dbhsusb.org).

You can view the site at http://dbhsusb.org
igeoffi is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 10:22 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0