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

Recommended Answers

All 2 Replies

No you cannot do it, use 404 rather.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.