WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Previous Entries"-link on mainpage is not correct (6 posts)

  1. krugern
    Member
    Posted 7 years ago #

    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?

  2. moshu
    Member
    Posted 7 years ago #

    Do you have a redirect on the main site that takes you to the /dev folder?

  3. krugern
    Member
    Posted 7 years ago #

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

  4. moshu
    Member
    Posted 7 years ago #

    Remove the redirect and see if it works correctly.

  5. krugern
    Member
    Posted 7 years ago #

    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..

  6. krugern
    Member
    Posted 7 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.