Portal Home > Knowledgebase > Web Hosting > HTML > My links are not working. What is wrong?


My links are not working. What is wrong?




First of all, check that the link is correctly spelled, and that the correct case is used - INDEX.HTML is not the same as index.html.

Next, check the file paths. A common error is to leave the location relative to another computer's filesystem, eg:-

< a href="C:\Documents\MySite\mysite.html">Link

This is incorrect as it refers to a file on your PC, not on our servers. File paths should either be absolute, eg:-

< a href="http://mysite.com/mysite.html">Link

or relative, eg:-

< a href="mysite.html">Link, if mysite.html is in the same directory as the page that it's linking from.

Finally, check that there are no conflicts with other scripts on the site. Many major CMS's such as Wordpress and Joomla use URL rewriting that will interfere with the correct operation of links.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read

Powered by WHMCompleteSolution

Web Hosting - The World of Host
Language:

Contact Us

Sales
If you need to contact our sales team you can email them at: sales@theworldofhost.com
Marketing
If you need to contact our Marketing team you can email them at:  Markting@theworldofhost.com