![]() |
|
| Domain Name Sales | Domain Software | Calculate UK Domain Drop Dates | Domain Registration | NameDrive | Domain Parking | Subscribe to our Domains For Sale newsletter |
| | ||||||
| Home | Register | Rules | Membership Upgrade | Domains For Sale | Domain Name Escrow | Mark Forums Read | Domain Classified | Chat Room |
| Scripts and Coding PHP, MySQL, scripts |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
![]() | .htaccess
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] |
| |
| | #3 (permalink) |
![]() |
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? |
| |
| | #5 (permalink) |
![]() |
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? |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Domain Name Community | Replies | Last Post |
| .htaccess duplicate content redirect problem | matty281k | Website Design | 1 | 14-02-2011 11:48:37 AM |
| .htaccess help | SecNam | Website Design | 1 | 07-09-2009 01:42:31 AM |
| .htaccess mod_rewrite assistance needed | ribble-valley | Services Wanted | 2 | 20-07-2009 10:09:08 AM |
| Simple .htaccess request | retired_member16 | Website Design | 4 | 20-08-2007 07:22:03 PM |
| catch all with .htaccess | stevie | General Board | 4 | 05-10-2006 10:19:43 PM |