Suspended
the below is the .htaccess file at the main website of the host which i thought would only relate to the main website linked below
http://www.greencleansolution.co.uk/
the below is for another different domain linked below on the same server.
http://www.greencarpets.co.uk/
the trouble i'm having is the first htaccess is being applied to the second domain which i don't want to happen. if you browse the second site and say go to carpet cleaning link, you'll get redirected to the first site
any clues why this is happening?
http://www.greencleansolution.co.uk/
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^greencleansolution\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.greencleansolution.co.uk/$1 [R=301,L]
redirect 301 /?p=home http://www.greencleansolution.co.uk/
redirect 301 /contact.php http://www.greencleansolution.co.uk/contact/
redirect 301 /carpetcleaning http://www.greencleansolution.co.uk/services/carpet-cleaning/
redirect 301 /?p=pricing http://www.greencleansolution.co.uk/prices/
redirect 301 /?p=quotebook http://www.greencleansolution.co.uk/online-quote/
redirect 301 /?p=quotebook&s=quote http://www.greencleansolution.co.uk/online-quote/
redirect 301 /?p=quotebook&s=quote&u=spring http://www.greencleansolution.co.uk/online-quote/spring.php
redirect 301 /?p=quotebook&s=quote&u=tenancy http://www.greencleansolution.co.uk/online-quote/rental.php
redirect 301 /?p=quotebook&s=quote&u=carpet http://www.greencleansolution.co.uk/online-quote/carpet.php
redirect 301 /?p=quotebook&s=quote&u=domestic http://www.greencleansolution.co.uk/online-quote/domestic.php
redirect 301 /?p=quotebook&s=book http://www.greencleansolution.co.uk/book-online/
redirect 301 /?p=services http://www.greencleansolution.co.uk/services/
redirect 301 /?p=services&s=spring http://www.greencleansolution.co.uk/services/spring-cleaning/
redirect 301 /?p=services&s=domestic http://www.greencleansolution.co.uk/services/domestic-cleaning/
redirect 301 /?p=services&s=tenancy http://www.greencleansolution.co.uk/services/rental-cleaning/
redirect 301 /?p=services&s=carpet http://www.greencleansolution.co.uk/services/carpet-cleaning/
redirect 301 /?p=services&s=upholstery http://www.greencleansolution.co.uk/services/upholstery-cleaning/
redirect 301 http://www.greencleansolution.co.uk/?p=services&s=office http://www.greencleansolution.co.uk/services/office-cleaning/
redirect 301 /?p=services&s=commercial http://www.greencleansolution.co.uk/services/commercial-cleaning/
redirect 301 /?p=services&s=oven http://www.greencleansolution.co.uk/services/oven-cleaning/
redirect 301 /?p=services&s=builders http://www.greencleansolution.co.uk/services/builders-cleaning/
ErrorDocument 404 /error404.php
the below is for another different domain linked below on the same server.
http://www.greencarpets.co.uk/
Code:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^greencarpets\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.greencarpets.co.uk/$1 [R=301,L]
redirect 301 /carpetcleaning/index.php http://www.greencarpets.co.uk/carpetcleaning/guildford.php
redirect 301 /carpetcleaning/where http://www.greencarpets.co.uk/carpetcleaning/where.php
redirect 301 /carpetcleaning/restaurant.php http://www.greencarpets.co.uk/additional-services/restaurant-carpet-cleaning.php
redirect 301 /carpetcleaning/hotel.php http://www.greencarpets.co.uk/additional-services/hotel-carpet-cleaning.php
ErrorDocument 404 /error404.php
the trouble i'm having is the first htaccess is being applied to the second domain which i don't want to happen. if you browse the second site and say go to carpet cleaning link, you'll get redirected to the first site
any clues why this is happening?