• Resolved sparkletack

    (@sparkletack)


    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:

    https:///page/

    or

    https://../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.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?
    [

    Thread Starter sparkletack

    (@sparkletack)

    Why yes, so it would! Thanks very much.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Links” panel doesn’t support relative links?’ is closed to new replies.