Forums

posts_nav_link generating wrong URL in IE7 (8 posts)

  1. Muhammed Bello
    Member
    Posted 2 years ago #

    Here's my problem;

    On Firefox the posts_nav_link() function comes up the correct URLs for previous and next page, i.e. When I'm the front page, the URL for "Previous Posts" is
    "http://www.mysite.com/myfolder/blog/?paged=2"
    and on the second page "Next Posts" is
    "http://www.mysite.com/myfolder/blog/"

    All good.

    However on IE7 (and the institution I'm doing this for mostly use IE7) the situation is Previous Posts points to;
    "http://www.mysite.com/myfolder/blog/myfolder/blog/?paged=2"
    and the second page comes up with;
    "http://www.mysite.com/myfolder/blog/myfolder/blog/"

    Any ideas on what is going on here? Why is this only happening with IE?

    Please please help!!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Site url?

  3. Muhammed Bello
    Member
    Posted 2 years ago #

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    I'm also seeing problems in IE8 that seem to suggest a rewrite problem. In Firefox3, the Previous link on the Home page points to:

    http://www.ncc.gov.ng/new_site/nccblog/?paged=2

    which is correct. But in IE8, it's pointing to:

    http://www.ncc.gov.ng/new_site/nccblog/new_site/nccblog/?paged=2

    (new_site/nccblog/ duplicated)

    You're using the default permalinks and there's no problem with the post links themselves in either browser. Are you using any form of navigation plugin?

    Failing that, I'd check the .htaccess file in the root WP folder, the parent folder and also in the root folder of the site.

  5. Muhammed Bello
    Member
    Posted 2 years ago #

    Thanks esmi.

    The server hosting the blog is running Windows Server 2003 - does that mean anything?

  6. marygayle
    Member
    Posted 2 years ago #

    I am also having the same problem. Hope we can find the best solution here.Please help..
    Regards,
    Mary Gayle
    http://www.bestdatingsitesblog.com

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    @Muhammed: Unfortunately I've never worked with Windows servers, so know very little about them. But, essentially you need to investigate the way in which the server is re-writing your WordPress urls. Something is definitely wrong.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    @marygayle: I don't see any post navigation links on the front page of your blog, so I'm not convinced it's the same problem. If you do still need help, can you post a new topic, please?

Topic Closed

This topic has been closed to new replies.

About this Topic