Forums

next/previous links problem (6 posts)

  1. tapirul
    Member
    Posted 4 years ago #

    I asked in a different thread, I am asking again.
    The next/previous links on my blog(s) are displaying the domain twice, therefore they do not work, like here .
    It is not theme related, because it happens in all themes, on all three blogs I have on my database.
    I've been told that it could be the tilde (~) in the address. Any idea how to fix this?
    Thanks

  2. moshu
    Member
    Posted 4 years ago #

    If they worked with versions before 2.3 - the only ting I can think of could be how WP treates differently the rewrite rules in 2.3.x.

    There is a post about it by one of the devs:
    http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical-urls/
    and there is also a plugin to try to turn off the new rules:
    http://txfx.net/files/wordpress/disable-canonical-redirects.phps

  3. tapirul
    Member
    Posted 4 years ago #

    thanks for the tip. I doesn't work, so it's probably something else. I'll wait the next release, maybe it will fix the issues

  4. tapirul
    Member
    Posted 4 years ago #

    It might help somebody... It had something to to with the way WP was upgraded. I did a clean reinstall (deleted files and tables)and I imported the XML file with posts/comments (which I previously had saved), and now it works fine.

  5. silfani
    Member
    Posted 4 years ago #

    My original fix for this (adjusting the string returned from get_pagenum_link) no longer works in 2.3 and 2.5. The function seems like it was entirely redesigned. Aargh.

  6. silfani
    Member
    Posted 4 years ago #

    I fixed it using the same hack, but it's puzzling why the %7E in 2.2 had now become a tilde in 2.3/5 (my original solution involved deleting this part from the string, before it was returned).

    The only thing I can think of is that instead of REQUEST_URI, the new function uses SCRIPT_URL?

Topic Closed

This topic has been closed to new replies.

About this Topic