Good Morning, and Happy New Year to everyone...
I have a membership website that I have been developing, and am looking for a way to do something different with the ErrorDocument 404 that I have set in the .htaccess file.
Not 100% sure this is what is necessary, but hopefully someone here can give me a suggestion as to the best route to take.
Here is what it is:
The site has an ad directory for member to member advertising, which has primary categories, and sub categories, and the ads can be placed directly under either one. When you click on an ad, it opens in a new window, and I have removed all navigation from within that page, so they don't end up with multiple occurrences of the primary website. That way when they close the ad or the resulting website linked, they will be back on the ad directory...
Anyway, it all works great except for if the link in the ad is bad, when you click on it, it follows the 404 doc that is set up in the .htaccess, and takes them back to the main web page with navigation, etc. in place, thereby creating the second occurrence of the website that I am trying to avoid.
Long story short (finally), How can I separate this ad display page from the site completely, and still carry the session variables with me?
My first thought is to change where the 404 is redirected just for this page, and just re-direct it to itself, thus no duplication of the base website.
Any suggestions on how to accomplish this, and/or on any better approach to resolving this issue.
Thanks in advance for your thoughts, ideas, suggestions, comments, and basically for your time.
Have a very happy new year...
Douglas