WordPress.org

Ready to get started?Download WordPress

Forums

Giving WordPress its Own Directory (3 posts)

  1. icastano
    Member
    Posted 7 years ago #

    I've followed the instructions in this article:

    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    and I have some problems, the blog appears fine, but the links have this format:

    http://example.com/index.php/?p=122#respond

    While the correct link should be:

    http://example.com/index.php?p=122#respond

    I can easily fix it by searching for get_settings('home') in template-functions-links.php and removing the slashes manually, but I have to do that on every update and it usually doesn't fix all the links.

    Is there any other way of solving this problem? Is that a bug or a feature? I've been having this problem since ~wp-1.5.

    Thanks!

  2. Don't search/replace because WordPress is not the problem (i.e it works fine for me).

    I suspect you just have funky permalinks on or something. Just use the default ones or turn on pretty permalinks.

  3. icastano
    Member
    Posted 7 years ago #

    I'm using the default ones. I've tried the others and I get the same results. For example:

    http://castano.ludicon.com/weblog.php/?p=123

    While this works fine:

    http://castano.ludicon.com/weblog.php?p=123

    Oh, I just discovered the problem! It's just that the reference to the css file was relative. Making it absolute fixed the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic