Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Override inherited redirect in subdirectory

Status
Not open for further replies.

Erik8

MIS
Joined
May 26, 2004
Messages
2
Location
DE
Hello all -

I have a web site at with its own .htaccess and another, unrelated website, running in a subdirectory at with its own .htaccess.

The problem is that on my main site I redirect the page " (no longer valid) to the page " with the following htaccess line:

Redirect seeother /links.php
This works fine. However, I also have the page " (valid on this site) in my subdirectory and when requested, it inherits the redirect from the main site and this link ends up at "
I am hosted in a shared environment and don't have access to the httpd.conf file, so I need an htaccess only solution to keep this inheritance from happening.

Any ideas?

Thanks in advance,
Erik
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top