Jump to content



Photo

Web Address Defaulting To Another Folder?


  • Please log in to reply
9 replies to this topic

#1 wivelden

wivelden

    Neowinian

  • Joined: 04-December 02
  • Location: United Kingdom

Posted 02 January 2014 - 18:31

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




#2 +snaphat (Myles Landwehr)

snaphat (Myles Landwehr)

    Electrical & Computer Engineer

  • Tech Issues Solved: 29
  • Joined: 23-August 05
  • OS: Win/Lin/Bsd/Osx
  • Phone: dumb phone

Posted 02 January 2014 - 18:44

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



#3 n_K

n_K

    Neowinian Senior

  • Tech Issues Solved: 3
  • Joined: 19-March 06
  • Location: here.
  • OS: FreeDOS
  • Phone: Nokia 3315

Posted 02 January 2014 - 18:49

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?



#4 OP wivelden

wivelden

    Neowinian

  • Joined: 04-December 02
  • Location: United Kingdom

Posted 02 January 2014 - 19:08

Sorry.

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



#5 +Seahorsepip

Seahorsepip

    http://seapip.com

  • Tech Issues Solved: 16
  • Joined: 23-January 11
  • Location: Netherlands
  • OS: Windows 8.1 Pro
  • Phone: Nexus 5

Posted 03 January 2014 - 11:42

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



#6 Nashy

Nashy

    Neowinian Senior

  • Joined: 05-September 04
  • Location: Brisbane, Australia
  • OS: Windows 8.1
  • Phone: Samsung Galaxy S5 - SM-G900i

Posted 03 January 2014 - 12:00

Go to cPanel, and then click on Redirects.

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



#7 the better twin

the better twin

    Neowinian Senior

  • Tech Issues Solved: 2
  • Joined: 26-January 10
  • OS: Win 8
  • Phone: Nokia Lumia

Posted 03 January 2014 - 12:10

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



#8 OP wivelden

wivelden

    Neowinian

  • Joined: 04-December 02
  • Location: United Kingdom

Posted 04 January 2014 - 15:41

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



#9 +Kyle K.

Kyle K.

    aka Kyle

  • Tech Issues Solved: 2
  • Joined: 12-February 06

Posted 06 January 2014 - 15:07

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? 



#10 OP wivelden

wivelden

    Neowinian

  • Joined: 04-December 02
  • Location: United Kingdom

Posted 06 January 2014 - 20:29

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





Click here to login or here to register to remove this ad, it's free!