.htaccess question

Thread Solved

Join Date: Jan 2007
Posts: 276
Reputation: kanaku is on a distinguished road 
Solved Threads: 15
kanaku's Avatar
kanaku kanaku is offline Offline
Posting Whiz in Training

.htaccess question

 
0
  #1
Sep 12th, 2007
I didn't know where else to put this thread *sorry if it's in the wrong forum*

I want to go an a hiatus, and I found this .htaccess tutorial where you can redirect users from an old file or directory to a new file or directory...

I was wondering if I can do this for the whole site. (ie) Can I put this line in the .htaccess file?

Redirect / http://mysite.com/hiatusmessage.html
Reply With Quote Quick reply to this message  
Join Date: Sep 2007
Posts: 4
Reputation: hence is an unknown quantity at this point 
Solved Threads: 1
hence hence is offline Offline
Newbie Poster

Re: .htaccess question

 
0
  #2
Nov 23rd, 2007
You can find the answer at this link. Try to learn.
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,827
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 118
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: .htaccess question

 
0
  #3
Nov 24th, 2007
No you cannot do it, use 404 rather.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Existing Scripts Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC