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</a> 

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

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

or relative, eg:- 

<a href="mysite.html">Link</a>, 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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Do you support SSI (Server Side Includes)?

Yes we do. SSI (Server Side Includes) are tags that are placed in HTML pages, and evaluated on...

How can I change the file name extension of my index page?

It is possible to name your default index page something other than index.html, index.cgi,...

How can I enable directory indexing

If you want to see a list of files in a directory when viewing it in a browser rather than a web...

How can I force a particular charset? (Character Encoding)

You are able to set a default value for the media type charset parameter (the name of a character...

How do I edit php.ini (PHP settings) for my hosting package?

Becuase of the way in which we run PHP, you are able to customise its behaviour with php.ini...