Linking webpage on home page

Status
Not open for further replies.

rh.steele69

New Member
Messages
8
Reaction score
0
Points
0
I want to link content access to a button on my home page and everything I try comes back as broken link.
What should I have in the index.html for this please?
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
What's happened is this: According to the page source you've put in code like this:

< a href=" <A HREF= url </A>" > That is placing the url code inside a url code. This doesn't work because it's trying to take you to: http://subdomain.domain.com/index.html/<A HREF=url</A>

That of course doesn't work and doesn't exist.

Are you editing the index.html manually or are you going through a program to enter this?

If you can manually edit the index.html page, the above way to do this is simply take out the inside/second <A HREF code and replace it with directory/ inside the quotes of the outer <a href code. directory would of course be the name of the folder of the content you want to link to.
 
Last edited:

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
The proper way to make that link is <a href="http://www.aussieladydesigns.elementfx.com/wp9/htm"></a>

But the thing is that the server is saying that the folder/directory htm doesn't exist. I also tried without the htm, but it also says that the folder/directory wp9 doesn't exist. Please check where you are trying to link and try again.
 
Last edited:

rh.steele69

New Member
Messages
8
Reaction score
0
Points
0
This is the file I am trying to link

/public_html/ozlady/WP9

Sorry for the dumb brain but i am only new here and have figured out most everything else but this has me stumped.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
The link would be this <a href="http://www.aussieladydesigns.elementfx.com/ozlady/WP9/60.html">In between here would be the picture that you wanted to place the link on.</a> Please note that x10hosting uses linux servers so capitalization matters with folder and file names. WP9 is considered a different folder than wp9. Also index.html and index.HTML and Index.htm are considered to be different files as well.

I included the 60.html address because I assume you meant for the link to go there instead of just a directory listing located here http://www.aussieladydesigns.elementfx.com/ozlady/WP9.
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
Please look back at my last reply about how capitalization works with linux servers. Compare the difference of 1.html with the name of the actual file you are trying to link to. They are two entirely different files as read by linux servers. Linux is case sensitive and the capitalization has to be exact.
 
Last edited:

rh.steele69

New Member
Messages
8
Reaction score
0
Points
0
OMG Thank you. I do think I have it.
Now I never capilize my html but must have this time.
Now believe it or not I am a blonde or did you guess that.:biggrin:
 
Status
Not open for further replies.
Top