WordPress.org

Support

Support » How-To and Troubleshooting » relative link to pages using "wp_make_link_relative"

relative link to pages using "wp_make_link_relative"

  • I have a wordpress with 50 pages, and a lot of those pages are linked between them.
    So for example in page “one” I have links to page “two” “four” “nine”, etc.
    I need to make those links relative. Because when going from my local wordpress to my live one I don’t want to go through the 50 pages and change all the url’s of the links.
    I read somewhere that you can use wp_make_link_relative for doing that. But I have no luck trying that.
    Anybody knows how to accomplish that??
    thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘relative link to pages using "wp_make_link_relative"’ is closed to new replies.
Skip to toolbar