Forums

get_permalink returns page_id= links on one page, but not others (3 posts)

  1. jeremyduffy
    Member
    Posted 5 years ago #

    So I have two template pages. In one, any call to get_permalink returns the permalink the way I have it set up (like http://www.jeremyduffy.com/tools/). But on one page, and one page only, all links using the get_permalink command return links like this instead (http://www.jeremyduffy.com/?page_id=110)

    This is fairly odd and I don't see any big differences between the two pages so I can't figure out why one works and the other doesn't. Help?

  2. jeremyduffy
    Member
    Posted 5 years ago #

    Forgot to mention. The pages are

    http://www.jeremyduffy.com/sitemap/

    and

    http://www.jeremyduffy.com/tools/

    or any other page. You'll notice on the sitemap page ALL the links (almost) are using the wrong permalink method.

  3. jeremyduffy
    Member
    Posted 5 years ago #

    Nvm, for some reason it's working perfectly now.

Topic Closed

This topic has been closed to new replies.

About this Topic