Support » Alpha/Beta/RC » Upgraded to 2.7 RC2 – pretty premalinks stopped working

  • Resolved meesha


    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

    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]

    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.


Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep



    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?



    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

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

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Upgraded to 2.7 RC2 – pretty premalinks stopped working’ is closed to new replies.