WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upgraded to 2.7 RC2 - pretty premalinks stopped working (6 posts)

  1. meesha
    Member
    Posted 5 years ago #

    I just upgraded to 2.7 RC2 and after trying to upload images and getting the http error, I added an .htaccess file that contained:

    <IfModule mod_security.c>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </IfModule>

    that corrected the upload problem. Now the only issue left is my day/name permalinks don't work. All post links go to 404. If I switch back to the default permalinks everything works fine. After switching to day/name permalinks, the new admin tells me I need to update my .htaccess file with:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /blog/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /blog/index.php [L]
    </IfModule>

    Since the only .htaccess file is the one I added above, I added this code as well but it did not help. Also the new admin tells me it could do this if my .htaccess file was writable. I changed the permission to 777 but this doesn't help me either.

    Thoughts on what I can do or have done wrong.

    Thanks

  2. meesha
    Member
    Posted 5 years ago #

    Yes I did read that page, your point?

    The pretty permalinks were working fine with 2.5.6 so the issue is caused by the upgrade. Do you see something in that article that will help me with this problem?

  3. meesha
    Member
    Posted 5 years ago #

    I downloaded the AskApache RewriteRules Viewer plugin, installed and was able to view my .htaccess file, found my problem and now all works fine again

  4. paul
    Member
    Posted 5 years ago #

    what was the problem? that might be a useful tidbot to leave in a comment.

  5. paul
    Member
    Posted 5 years ago #

    I found that deleting the rewrite_rules from the database fixed my problem. They seem to get generated afresh when you work on your permalinks, so you could try that.

Topic Closed

This topic has been closed to new replies.

About this Topic