#256 permalink URL broken

closed
nabber00
Interface (93)
5
2011-02-10
2011-01-23
Guesser
No

permalink hyperlinks pointing one level too high, i.e. http://foo.com/bar/index.php when blog is actually installed at http://foo.com/bar/baz/index.php

Discussion

  • nabber00

    nabber00 - 2011-01-23

    It sounds like your webserver may use symlinks. In this case, you need to set BASEURL correctly in scripts/config.php. Update this line:

    define('BASEURL', '/' . basename(dirname(dirname(__file__))) . '/');

     
  • nabber00

    nabber00 - 2011-01-23
    • assigned_to: nobody --> nabber00
    • status: open --> pending
     
  • Guesser

    Guesser - 2011-01-25
    • status: pending --> open
     
  • Guesser

    Guesser - 2011-01-25

    hmm, this is strange. The blog directory is below the root directory of the web server so it's not the symlink issue.
    The strange thing here is that it's now magically stopped doing it by itself! not sure what I've changed, certainly not anything in the sources.

    The only problem /now/ is that permalinks still aren't working as they point to index.php?entry=title-of-the-post but the blog always displays the last entry posted for any link.

    Perhaps I should do a clean re-install of the blog, I upgraded from an old version a week ago using the procedure in the documentation.

     
  • nabber00

    nabber00 - 2011-01-27

    That means the title isn't found. Are there any weird characters in the title of the post that might cause it?

     
  • nabber00

    nabber00 - 2011-01-27
    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks