Hi,
I have been trying to redirect request to any of the pages on an "under-construction" website to root.
e.g. redirect www.example.com/randomxyz to www.example.com
I wrote this code, but didn't seem to work. Any suggestions?
I have been trying to redirect request to any of the pages on an "under-construction" website to root.
e.g. redirect www.example.com/randomxyz to www.example.com
I wrote this code, but didn't seem to work. Any suggestions?
Code:
RedirectMatch ^([.]+)$ http://www.example.com
Comment