How do you link to other webpages in your webiste in different folders within "public_html"?
Category: How To
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?
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?
Best answer chosen by User
|
0
|
Hello aaronmg, To link to the test folder, you would simply use the code http://yourdomain.com/test 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 |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
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: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


