• Hello al wordpress people!
    Is it possible to link from page to another page by reference to page id or page title? I’d like my site to be able to withstand switching of permalink styles, and once I put a link eg. to /blog/hobbies/pets/my dog, it won’t work when I move to another host who doesn’t support mod_rewrite.
    So I imagine there should be solution like [link to page id=23 text=”my dog”], where wordpress would put always actual path according to current permalink style. Is this possible, please?
    Thanks for any advice!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You have to make a choice in your permalink structure and stay with it. The most secure way is to stay with the “index.php?page_id=23” It will always work because this is the real link.

    Thread Starter keff

    (@keff)

    I actually found a plugin that woul do part of it: https://www.coffee2code.com/archives/2005/03/23/plugin-easy-post-to-post-links/#acknowledge
    but it doesn’t work with WP2.0 and it doesn’t allow changing of the text in the link, which is a no-go :/

    CG-Inline will do this. You reference by post ID (and I assume Pages will work the same!), and I recall I could override the link and hover text. It also had in-post page linking (that’s page as in 1-10 and [nextpage] tags, not as in capital ‘P’ Pages).

    And it has a bunch of other features in it too. Best of all, it’s a ‘pluggable’ system which can be enhanced with other detect/replace rules, with minimal performance impact (versus say a dozen different replacement plugins).

    Of course, I’d argue one of the best features is its integration with CG-Amazon, for embedded Amazon links in posts. ?? ??

    -d

    Hello,

    I’m having a similar situation – I have pretty permalinks but occassionally need to use the page_id=4 links to ensure that any date changes don’t affect the URL.

    Does anyone know of a work around for this or any other solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to make links from page to page working with all kinds of permalinks’ is closed to new replies.