Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1357783

    raphaelzydek
    Participant

    Hey guys,

    right now i am working with TheGrid as navigation element and I am adding Custom Links to every image. So a question came up how do I format a link to a page that exists on my own page.

    I am used to insert like “portfolio.html” or something like that to refer to my own pages. Is this possible within wordpress as well?

    #1357800

    Christopher
    Moderator

    Hi there,

    If you want to link it to one of sections inside current page, please target section’s ID. e.g : #x-section-5
    If it should link to another page, use absolute URL. e.g : http://example.com/page.

    Hope it helps.

    #1357832

    raphaelzydek
    Participant

    Thank you Christopher.
    So do I understand this right that it is not possible to relate to a file which is not domain dependend?

    Have a great day.

    #1357836

    Christopher
    Moderator

    You’re welcome.

    You mean some thing like /page instead of http://example.com/page ?
    Yes, you can use relative URLs as well.

    Hope it helps.

    #1357848

    raphaelzydek
    Participant

    Yes, actually I do! The problem is, that it did not work when I tried. I have a page that is titled “Japan” and when I enter /japan it tells me this page does not exist.

    Does this has something to do with domain settings? So as soon as I refer my wordpress page to the first folder level on my FTP server this type of links should work, right?

    Thank you!

    #1357855

    Nabeel A
    Moderator

    Hi again,

    If you’ve external pages then those must be placed in the root directory of your installation. For example if you’ve japan.html and if you want to use /japan then this page must be uploaded to the root directory (first folder level on your FTP server) of your installation.

    Hope this makes sense.

    #1357863

    raphaelzydek
    Participant

    Definitely! Thank you very much for your answers! 🙂

    #1357864

    Thai
    Moderator

    If you need anything else please let us know.