Tagged: x
-
AuthorPosts
-
February 4, 2017 at 4:35 am #1357783
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?
February 4, 2017 at 5:11 am #1357800Hi 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.
February 4, 2017 at 6:02 am #1357832Thank 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.
February 4, 2017 at 6:11 am #1357836You’re welcome.
You mean some thing like
/page
instead ofhttp://example.com/page
?
Yes, you can use relative URLs as well.Hope it helps.
February 4, 2017 at 6:27 am #1357848Yes, 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!
February 4, 2017 at 6:38 am #1357855Hi 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.
February 4, 2017 at 7:23 am #1357863Definitely! Thank you very much for your answers! 🙂
February 4, 2017 at 7:27 am #1357864If you need anything else please let us know.
-
AuthorPosts