• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

.htaccess

Status
Not open for further replies.
Joined
Jun 1, 2010
Posts
548
Reaction score
2
I tried uploading a .htaccess file into the directory for a site I've just uploaded which is an add on domain in my hosting package. I already have another .htaccess file in another directory for another site which is also an add on domain. For some reason it won't let me upload the new .htaccess file without overwriting the other, which I don't want to do.. any ideas?

I just changed the URL to make the different .htaccess files, are they correct?

RewriteEngine On
Options +FollowSymLinks

RewriteCond %{HTTP_HOST} !^www.
RewriteRule (.*) http://www.dressupgamesforgirls.org.uk/$1 [R=301,L]

and

RewriteEngine On
Options +FollowSymLinks

RewriteCond %{HTTP_HOST} !^www.
RewriteRule (.*) http://www.cleaninginbristol.org.uk/$1 [R=301,L]
 
Sorry didn't know how to word it. I have 2 domains as 'add on' domains on my hosting account, and both have htaccess files in their respective directories. Well only one has a htaccess at the moment as it wants to overwrite the first one with the second, despite them being in different directories? Don't know if that's any clearer..

But if I rename the first one will it then cease to do it's job?
 
bump.. any answers? I want to start link building but want all link juice going to the same prefix
 
There really should be no reason why it is doing this...

I have some hosting structured exactly the same as what your doing and each directory/site has its own .htaccess with no problems.

I cant see how it would try to overight something that isnt even in the same directory?

Are you using the hosting uploader or your own ftp client?
 
Status
Not open for further replies.
Top Bottom