943,632 Members | Top Members by Rank

Ad:
Sep 12th, 2007
0

.htaccess question

Expand Post »
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
Similar Threads
Reputation Points: 70
Solved Threads: 15
Posting Whiz
kanaku is offline Offline
378 posts
since Jan 2007
Nov 23rd, 2007
0

Re: .htaccess question

You can find the answer at this link. Try to learn.
Reputation Points: 10
Solved Threads: 1
Newbie Poster
hence is offline Offline
4 posts
since Sep 2007
Nov 24th, 2007
0

Re: .htaccess question

No you cannot do it, use 404 rather.
Reputation Points: 769
Solved Threads: 128
Banned
ithelp is offline Offline
1,910 posts
since May 2006

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Configuring Readymade Scripts Forum Timeline: CGI or other form processes
Next Thread in Configuring Readymade Scripts Forum Timeline: help!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC