Forums

[resolved] Another htaccess - mod_rewrite Problem (5 posts)

  1. repoulin
    Member
    Posted 3 years ago #

    INFO
    Domain: http://blog.800hightech.com
    Wordpress: Version 2.6.2
    Database: MySQL v5.0.45
    Server: Linux
    Permalink Structure: /%postname%/%post_id%/

    I just moved over to a new server and cannot seem to get the mod_rewrite rule to work for the love of God. I seen a note that there were some bugs with PHP 5 and certain versions of Apache. I did not understand what the fix was or if this is even my problem.

    If I use the default permalink structure, I have no problems. When I use the permalink structure I was using before my move, I get a 404 but I can see the homepage.

    Thanks for any help.

  2. Otto
    Tech Ninja
    Posted 3 years ago #

    What is the contents of the .htaccess file?

  3. repoulin
    Member
    Posted 3 years ago #

    Right now it is:

    # BEGIN WordPress

    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*) index.php

    # END WordPress

    However I have went through a number of different options. I have the permissions writable by the server as well. WordPress is able to automatically write to this file.

  4. Otto
    Tech Ninja
    Posted 3 years ago #

    Does the server have AllowOverrides turned on? That is, is it setup to actually use the contents of your .htaccess file?

  5. repoulin
    Member
    Posted 3 years ago #

    Otto42 Schooled my hosting provider. It was driving me nuts. My blog is now working again.

    Thanks Otto

Topic Closed

This topic has been closed to new replies.

About this Topic