WordPress.org

Support

Support » How-To and Troubleshooting » Relative links not working fron archive

Relative links not working fron archive

  • Hello, I have posts with relative links embedded in them, but if I call these post by way of an archive page like categories, tags, or search, then the links don’t work.

    Post I’d like to get to – website.com/post 1
    link inside relative post – <a href="post-1">

    Problem is if I got the post I’m currently in by way of archive then the archive info actually changes the link – so the browser stats looking for – website.com/category/categoryname/post-1

    make sense?
    If you can offer any insight, I’d greatly appreciate it!
    thanks!

  • The topic ‘Relative links not working fron archive’ is closed to new replies.