WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Links" panel doesn't support relative links? (3 posts)

  1. sparkletack
    Member
    Posted 7 years ago #

    I want to link to Pages with relative links, to enable portability of the blog to another domain. (coming up in the near future)

    Background: I have WP installed in the root directory, ie there is no directory named "wordpress". Permalinks are active. I've already read a billion posts in this forum that don't quite answer this question:

    When I use the "Links" panel in the WP Dashboard, it will not allow relative links to the root. In other words, if I type in the link:

    /page/

    or

    ../page/

    WP converts the link to:

    http:///page/

    or

    http://../page

    which is not helpful at all.

    it works wonderfully if the Pages are in a subdirectory, but not at all when WP is installed at the root.

    Any suggestions???

    (Of course, I could use absolute links, but when I move the blog I will be doing a lot of retyping.)

  2. moshu
    Member
    Posted 7 years ago #

    Just out of curiousity: not using the Links feature (which is, BTW, for external links!) but WP's own template tag for displaying the Pages > wp_list_pages - wouldn't solve your problem?
    [

  3. sparkletack
    Member
    Posted 7 years ago #

    Why yes, so it would! Thanks very much.

    New to WP, heading down a blind alley or two....

Topic Closed

This topic has been closed to new replies.

About this Topic