Sign in to follow this  

Web Address Defaulting To Another Folder?

Recommended Posts

Pootis Spencer    17

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

Share this post


Link to post
Share on other sites
snaphat (Myles Landwehr)    414

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

Share this post


Link to post
Share on other sites
n_K    1,641

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?

Share this post


Link to post
Share on other sites
Pootis Spencer    17

Sorry.

Its a Linux server with apache. I only have access to cpanel

Share this post


Link to post
Share on other sites
Seahorsepip    539

Check if there are any redirects in the .htaccess files and remove those to prevent redirection.

Share this post


Link to post
Share on other sites
Nashy    1,299

Go to cPanel, and then click on Redirects.

If there are any listed, remove them.  Otherwise, as above, check your ,htaccess.

Share this post


Link to post
Share on other sites
the better twin    359

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).

Share this post


Link to post
Share on other sites
Pootis Spencer    17

No redirects are setup. I did check that first. :) The .htaccess file is empty. Stuck on this....

Share this post


Link to post
Share on other sites
+Kyle    97

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? 

Share this post


Link to post
Share on other sites
Pootis Spencer    17

No its not an addon. I have access to the root folder.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.