Article URL not working
Not sure where to begin describing my issue... :confused:
I am working with Pretty URLs for my website which is full of Sections and Articles within those Sections.
If you chose the "Finance" section, then that "navigation tab" would get shaded and you'd be taken to...
The mod_rewrite to make this happen is...
If you click on one of the Article Summaries on the Finance home page - at the URL above - then you would be taken to a URL like this...
Now, before I added the concept of "Sections" to my website, an Article would have been located at a URL like this...
And I was using this mod_rewrite...
So, here is my current problem...
If you went to the Article above using my new style of URL...
...then I still want the "Finance" navigation tab highlighted, so that you know what Section you are in.
When my website didn't have any Sections, the PHP I was using to accomplish this was...
Unfortunately, now both my PHP and mod_rewrite seem outdated with the addition of "Sections".
To trouble-shoot, I echoed the variable $queryString, and am getting this when I go to that Article...
So clearly my PHP isn't seeing that the Article is in the "Finance" section.
Could someone help me figure out how to adjust my mod_rewrites and PHP so my Navigation Tabs behave properly like before I added the concept of a "Section" to my website??
I tried this code, but got a 500 Error from Apache...
Here is hoping that my changes to handle Sections didn't break this feature of my website?! :(
|All times are GMT +1. The time now is 03:14 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.