Pootis Spencer Posted January 2, 2014 Share Posted January 2, 2014 I have a website that is defaulting to another folder other than the root public_html folder How can I change this? I have deleted the old site that it is pointing to but the main web address still points to it. www.mysite.com/otherfolder/home.html instead of www.mysite.com/index.html Link to comment Share on other sites More sharing options...
0 snaphat (Myles Landwehr) Member Posted January 2, 2014 Member Share Posted January 2, 2014 You need to be more specific about what web server you are using, etc., otherwise I don't think people will be able to help Link to comment Share on other sites More sharing options...
0 n_K Posted January 2, 2014 Share Posted January 2, 2014 You need to be more specific about what web server you are using, etc., otherwise I don't think people will be able to help Agreed. Windows host, linux host, mac host? IIS, apache, nginx? Link to comment Share on other sites More sharing options...
0 Pootis Spencer Posted January 2, 2014 Author Share Posted January 2, 2014 Sorry. Its a Linux server with apache. I only have access to cpanel Link to comment Share on other sites More sharing options...
0 Seahorsepip Veteran Posted January 3, 2014 Veteran Share Posted January 3, 2014 Check if there are any redirects in the .htaccess files and remove those to prevent redirection. Link to comment Share on other sites More sharing options...
0 Nashy Posted January 3, 2014 Share Posted January 3, 2014 Go to cPanel, and then click on Redirects.If there are any listed, remove them. Otherwise, as above, check your ,htaccess. Link to comment Share on other sites More sharing options...
0 the better twin Posted January 3, 2014 Share Posted January 3, 2014 Dont forget that .htaccess is hidden by default too, so you need to check the box to show hidden files when accessing through the cpanel file manager (or use ftp). Link to comment Share on other sites More sharing options...
0 Pootis Spencer Posted January 4, 2014 Author Share Posted January 4, 2014 No redirects are setup. I did check that first. :) The .htaccess file is empty. Stuck on this.... Link to comment Share on other sites More sharing options...
0 +Kyle Subscriber¹ Posted January 6, 2014 Subscriber¹ Share Posted January 6, 2014 I have a website that is defaulting to another folder other than the root public_html folder How can I change this? I have deleted the old site that it is pointing to but the main web address still points to it. www.mysite.com/otherfolder/home.html instead of www.mysite.com/index.html Is that an addon domain or is that the default account domain? Link to comment Share on other sites More sharing options...
0 Pootis Spencer Posted January 6, 2014 Author Share Posted January 6, 2014 No its not an addon. I have access to the root folder. Link to comment Share on other sites More sharing options...
Question
Pootis Spencer
I have a website that is defaulting to another folder other than the root public_html folder
How can I change this? I have deleted the old site that it is pointing to but the main web address still points to it.
www.mysite.com/otherfolder/home.html instead of www.mysite.com/index.html
Link to comment
Share on other sites
9 answers to this question
Recommended Posts