• Resolved 793552

    I am running a wp install locally on windows xp, recent apache, and php.

    The default url style (which leaves out “index.php” (i.e. localhost/blog)) simply brings up a page listing the directory structure of the wp install on the server.

    Only localhost/blog/index.php actually works. This would be fine except the urls to say a comment on the blog are of the form “http://localhost/wp/?p=1#comments” and if I click on them again I get the directory listing. If I manually insert “http://localhost/wp/index.php?p=1#comments” then it works.

    Any help? I have mod_rewrite turned on in apache.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter 793552

    That is basically I need a way to force wp to put the appropriate .php file in the url when it generates them, or make apache understand the urls without the .php file stated

    The default url style (which leaves out “index.php” (i.e. localhost/blog)) simply brings up a page listing the directory structure of the wp install on the server.

    Configure your web server (I’m guessing IIS) to recognize index.php as a default page.

    Thread Starter 793552

    Configure your web server (I’m guessing IIS) to recognize index.php as a default page.

    Ah ok, didn’t know there was such a setting. For the record here is the page that tells you how to change it on apache: http://bignosebird.com/apache/a2.shtml

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘“localhost/blog” url does not work (index.php req)’ is closed to new replies.