Problem With Hosting - URL's Getting Redirected To Wrong URL

Discussion in 'Web Hosting' started by bad_bob00, Mar 27, 2008.

  1. #1
    Hi,

    I have web hosting which holds 4 websites (3 are placed in folders on the host, and the other is simply using the main root hosting).

    Everything was working fine (I could type in the URL's for each of the 4 sites and would be taken to each unique website) so there was no problems at all.

    However recently I updated the .htaccess file on the main web host folder, and now when I type any of the 4 URL's I get taken to the one main website which is in the root folder.


    Any ideas why this is happening? And how to fix the problem?

    EDIT: I have realised that it is to do with the .htaccess file. I removed one line of code (redirect 301 /index.html http://www.blahblahblah.com/index.php) and now the domains all work okay.

    However some of my other websites have the same pagenames as my main website, and I think they are getting redirected due to the .htaccess file. Any idea how to prevent this happening?



    Thanks for any help
     
    bad_bob00, Mar 27, 2008 IP
  2. bad_bob00

    bad_bob00 Active Member

    Messages:
    3,472
    Likes Received:
    56
    Best Answers:
    0
    Trophy Points:
    90
    #2
    Anybody able to help please? :(
     
    bad_bob00, Mar 28, 2008 IP