• Resolved lukep

    (@lukep)


    Thank you for reading this.

    I’ve got an older site recently upgraded from 2.7.1 to 2.8. The upgrade went well except for this one issue:

    I can’t access any pages or posts!

    They all still exist, and the permalink structure, /%catagory%/%postname%/, is still the same as it was before the upgrade. The theme (Vistalicious) is the same too.

    However, both pages and posts aren’t accessable and I get sent to the 404 page every time.

    When I try to go to a POST now, the post will be formed (every link site-wide) like:
    domain.com/%category%/the-correct-post-name

    (And if I manually enter the correct category into that string instead of %category% then I am taken to the working post.)

    But where this really gets weird is with the pages. When I go to a PAGE now, the path is correct but I still get the 404.

    ??

    I’ve tried deleting the .htaccess file and the new one doesn’t fix the problem. I’ve tried changing the permalink structure, but the pages never are accessable. I’m out of options now, and the blog pages are completely broken in the meantime.

    Please someone, I’m really desperate here, this one is driving me nuts. Any new ideas I can try???

    Thanks,
    Luke

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter lukep

    (@lukep)

    And in case it helps to see what’s being generated in my htaccess file, here it is:

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

    Thanks again!

    rewrite your permalinks, try deleting the backslash at the end of your permalink

    /%year%/%monthnum%/%postname%
    Thread Starter lukep

    (@lukep)

    Thanks for writing, Nazcar,

    Wow, that makes it even more weird.

    I just stripped off the trailing /, and then deleted my .htaccess file and watched it regenerate a new one.

    The pages didn’t work any better… But the post pages resolve (show up) now!

    -The weird part is that the path to these posts in the address bar above is still showing /%category%/ in the path!

    I can’t understand how that is working, but the page shows up nonetheless. It’s so odd!

    Thread Starter lukep

    (@lukep)

    AHA! I just spelled category wrong in my permalink settings!

    I spelled it ‘catagory’ by mistake… And when I just changed it back, everything is working now as it should.

    Thanks to nazcar for your help, I’ll mark this one resolved.

    you’re welcome..

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Please help! Seriously Messed-Up htaccess file!’ is closed to new replies.