.htaccess in subdomain

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I have a second domain that is actually a subdomain of my primary domain
which does not have a .htaccess.
Do I create the .htaccess or copy it from primary directory? Or redirect
cannot be done in subdomain??

Attempting to redirect in primary .htaccess does not work, ie,
RedirectMatch permanent ^/gotr/contactus.php$

RedirectMatch permanent ^/gotr/contactus.php$

Any advice is appreciated.

Re: .htaccess in subdomain

On Tue, 27 Feb 2007 19:12:12 GMT, Mickey~ wrote:

Quoted text here. Click to load it

copy and put in the sub

Secretary of Altered States
Governement of the Mens Room

Re: .htaccess in subdomain

Gwin wrote:
Quoted text here. Click to load it

The redirect still does not work for either combination above.

The .htaccess is being read though as error page is being redirected to
an error file in the sub with "ErrorDocument 404 /404error2.php" command
in .htaccess file.

Site Timeline