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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

apache url redirects?

Status
Not open for further replies.
What are you trying to accomplish? Permanant redirects are as simple as:

RedirectPermanent old path & filename "new url"
 
I guess what i'm trying to say is which files do i need to edit to make this work?
 
thanks for the relpy which lines should i add to both these files?
 
Hi

sikek said:
thanks for the relpy which lines should i add to both these files?
The one mentioned by smah, which is detailed in the [tt]mod_alias[/tt] documentation, already referred in you question. And not in both files, just to one of them.
Code:
RedirectPermanent / [URL unfurl="true"]http://newmydomain.com/newdir[/URL]
Or I do not understand your problem.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top