Internal Links

  • Unknown's avatar

    I would like to direct a link to a specific area of another page in my blog.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,

    You can use Page Jumps to do that.

    On the area of the page you want to link to, you can create an anchor point like this:

    <a id="unique-identifier"></a>

    The part in quotation marks that says unique-identifier is a unique name you can give the section you’re linking to. (You can use any name you’d like as long as it doesn’t have spaces in it.)

    Then, on the page you’re linking from, you can create a link to that section. To do that, take the regular link to the page, add a hash character (#), and then put your unique identifier at the end, like this:

    <a href="http://myblog.wordpress.com/page/#unique-identifier">This is a link!</a>

    That will make the text “This is a link!” turn into a link pointing to that section of the page.

    Please let me know if you have any questions about that. :)

  • Unknown's avatar

    Thanks so much for the help. I am not having much luck however in getting it to work. (I do not doubt that the failure is due to “user error”. I am still being directed to the page but not the specific location on the page.

    Possibly a little more detail will help:
    +Is there a specific location within the code I need to insert the unique identifier?
    +In the link from page – do I need to include: This is a link! verbiage or do I only need to insert the #unique identifier? (Actually, I’ve tried it both ways but getting the same results).

  • Unknown's avatar

    You need to insert the anchor (the < a id="unique-identifier">See?< /a> part) where you want the link to go, and the < a href= > link where you want to have the clickable text.

    If you think about this as a book, the anchor would be the start of each chapter, and the link would be an entry in the table of contents.

    This is very hard to explain verbally, however, and also a bit hard to visualize at first (it took me a while to learn it the first time as well).

    I’d recommend you spend some time with the documentation at http://en.support.wordpress.com/splitting-content/page-jumps/ to see if you can make it work, and if not, post a link to a page or post where you are trying to use it, and what you’re wanting to do, and I can check your code to see if you’re doing it correctly.

  • Unknown's avatar

    I looked at the documentation as you suggested but this doesn’t appear to address my need. I want to link from one page to a specific area in another page, if I read correctly, this information in this documentation only gets me to the header of another page. For example, I have a page with words that I want to give a definition for on a separate page. I can link to the page with the definitions but can’t seem to direct the link to a specific area of that page – it only goes to the beginning of the page.

    Source page;
    This is what is commonly called justification.
    This is what is commonly called This%20is a link!“>justification.

    Target page:
    Sanctification: An act of making holy. The act of God’s grace by which the affections of men are purified or alienated from sin and the world, and exalted to a supreme love to God. Growing in divine grace as a result of Christian commitment.

    Thanks again for any help you can give.

  • Unknown's avatar

    Are you wanting there to be a link that goes from “justification” on one page to “sanctification” on the same page or a separate page?

    Could you provide actual links to page(s) in question?

  • Unknown's avatar

    No was giving expletive and obviously copied wrong HTML.
    I want to be able to link from word on one page to that word/definition on a different page. Here are the pages currently in question but I assume the method would apply to other situations as well.

    http://sandrabivenssmith.com/week-two-
    Enter title here
    Permalink: http://sandrabivenssmith.com/resources/

  • Unknown's avatar

    Okay so let’s call the document with the links the main doc, and the destination for the link the reference.

    Just before the reference you will want to create a link like this (no spaces between letters and the < > brackets):

    < a id=”first-reference” >

    In the main doc, to create a link to that reference, you would create a link like this:

    < a href=”#first-reference” >click here< /a >

    If the main doc is a different page from the reference, as you are suggesting, then you would need a full path to the reference doc, so something like:

    < a href=”http://mygroovysite.com/references/#first-reference/” >click here< /a >

    So in your page http://sandrabivenssmith.com/week-two add a link like this:
    < a href=”http://sandrabivenssmith.com/resources/#first-reference/” >click here< /a > and then on http://sandrabivenssmith.com/resources/ create a link like < a id=”first-reference” >.

    You might also try http://www.w3schools.com/html/html_links.asp for an additional explanation.

  • The topic ‘Internal Links’ is closed to new replies.