WordPress.org

Ready to get started?Download WordPress

Forums

Relative links not working fron archive (1 post)

  1. brockman.eric
    Member
    Posted 1 year ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic