InMotion Hosting Support Center

How do you link to other webpages in your webiste in different folders within "public_html"?

Category: How To

2012-10-24 11:35 am EST

Hits: 280
I tried linking to a webpage within my site with
Test and it created an error. I have the folder "test" in my "public_html" and the file "index.htm" in the "test" folder. What is the coding I have to use?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


43,761 Points
2012-10-24 11:45 am EST
Hello aaronmg,

To link to the test folder, you would simply use the code as the destination in your link. This would lead the visitor to the front page for the test folder.

I took a look at your folder setup and the only thing I can see that would cause a problem is that your folder is named "Test" and not "test". Linux servers are case sensitive, so if you name the folder "Test" you will always need to remember to capitalize the T when making any links. Microsoft servers do not make this distinction, however.

The standard practice is to make all folder names lowercase to avoid any confusion, but that is entirely up to you.

Best Regards,
Scott M

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!