Support » Fixing WordPress » “Previous Entries”-link on mainpage is not correct

  • Resolved krugern

    (@krugern)


    As said, “Previous Entries”-link on mainpage is not correct and gives an 404-error. My website is krugern.no and wordpress is installed in krugern.no/dev. The correct url in the link should be krugern.no/dev/page/2/, but is showing as krugern.no/dev/dev/page/2/. Where can I locate the appropriate string I need to alter? I have been looking around for a while, but I guess I am too annoyed by the problem to find it.. heh.

    If I enter the correct url by hand the next previous entries link is correct..

    And clues?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Do you have a redirect on the main site that takes you to the /dev folder?

    the page is at /dev/ and there is a redirect from the domain root. krugern.no is krugern.no/dev.

    Remove the redirect and see if it works correctly.

    no change, and i am not surprised. the domain root and the /dev folder isn’ really connected. my websited main page is at /dev.


    index.php at krugern.no root:

    <?PHP
    header(“HTTP/1.1 301 Moved Permanently");
    header(
    “Location: http://www.krugern.no/dev/");
    ?>

    The weird thing is that if I remove the double /dev in the link and move on to the correct previous page the links are all good.. but not the front page..

    lol, the problem is gone. dont know what caused it or what fixed it…. it was okay this morning… ????

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Previous Entries”-link on mainpage is not correct’ is closed to new replies.