Forums

[resolved] How to get non-default permalinks working with XAMPP (9 posts)

  1. misksh
    Member
    Posted 1 year ago #

    I have a local installation of WordPress 3.0.1 on "XAMPP Lite (Basis Package) version 1.7.3". The initial installation of WordPress works fine until I try to change my permalink settings to anything, but the default. Example: When I change my settings to "/%year%/%monthnum%/%day%/%postname%/", my "options-permalink.php" screen looses its formatting. Also, my test WordPress website will not function and gets a "Server error!", "Error 500". I checked my htaccess file and WordPress has written to it:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /xampp/wordpress2/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /xampp/wordpress2/index.php [L]
    </IfModule>

    I don't know if there is a problem with this code. How do I get "Pretty Permalinks" to work on a local install of WordPress?

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Check that mod_rewrite is running.

  3. misksh
    Member
    Posted 1 year ago #

    I checked my "httpd.conf" file and it was not commented out.
    LoadModule rewrite_module modules/mod_rewrite.so
    So, I am assuming it is running. Is there another way to check?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    You could interrogate the server by creating a simple PHP file in your web root folder that just contains <?php phpinfo();?> and then navigating to that file in your web browser. That should give you all of the details on the current server environment.

    Also, check in your httpd.conf file that you have AllowOverride None set for your root folder.

  5. misksh
    Member
    Posted 1 year ago #

    I created the phpinfo() file and it seems that I have the "mod_rewrite" module installed.

    I also changed the "AllowOverride All" to none and it still gives me the same error.

    Thanks for the information.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems?

  7. misksh
    Member
    Posted 1 year ago #

    All the plugins are deactivated and only the default theme "Twenty Ten" is being used, but I still have the problem.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  9. misksh
    Member
    Posted 1 year ago #

    I just solved the problem. XAMPP must have a problem running on Windows 7. I installed WAMP and my problem went away.

    Thanks again for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic