Forum Moderators: phranque
or would it be something else?
I will need to temporarily direct ANY requests for ANY pages on a particular domain to the main page.
Of course, I could just try it couldn't I? but I'm a-scared!
:-/
No reason to be scared to try something as long as you are ready to quickly put the old .htaccess file back if you get the dreaded server error.
RewriteEngine on
RewriteRule ^.*$ / [R=302,L]
or mod_alias:
RedirectMatch ^/.*$ [yoursite.com...]
First one did not seem to do anything.
Second one worked perfectly on Safari browswer but Mozilla and IE just did an infinite loop of re-directs.
yes, I uploaded as text, not binary. Perhaps I did something else wrong.
oh, well, it was for an April Fools prank, no big deal.