• Hi, I’m having this strange problem.
    I’m using the changed permalinks and they look like this: /%category%-something/%postname%/ . The problem shows when an user tries to acces a page that doesn’t exist, like /%category%-blabla. He is redirected to the main page but with some weird encoding so none of my czech letters are shown ok. I would like to show the main page allright or to show an 404. My .htaccess looks like this :

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

    Any help much appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t think this is a valid structure:
    /%category%-something/%postname%/
    What is that “something”???

    Thread Starter snakey

    (@snakey)

    well it works..that “something” is exactly “stazeni-zdarma” whitch means in czech “free download”, it is for SEO purposes. That is not the problem, the problem is redirecting when an user enters a bad address…

    Thread Starter snakey

    (@snakey)

    please, anyone knows? Or just tell me what to add to the htaccess to redirect 404’s somewhere…

    Same problem; after the upgrade the server didn’t throw up 404s anymore but instead redirected to some sort of broken index page. Example: https://six-by-nine.org/nothere (usually those posts appear in different categories, not on the same page). I think this poster is having the same problem.

    My permalink structure:
    /%year%/%monthnum%/%postname%/

    Category base:
    /blog

    Same .htaccess as above. Any ideas?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘weird 404’ is closed to new replies.