Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)

I’ve got problems getting pretty permalinks to work.

When changing the permalinks (e.g. to month/name), my .htaccess (in the wordpress directory – there is another one one level up) is changed like this:

Read More
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

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

# END WordPress

But I still get 404s when trying to access an existing page.

My blog is in the /wordpress/ subdirectory, not sure if that may be a problem. The URLs are both set to http://<my domain>/wordpress which is where my wordpress files are located.

Any ideas what I can do, where I can see the results of the rewrite or anything else that would help me to track down the problem?

Thanks in advance!

Related posts

Leave a Reply

2 comments

  1. Save your existing .htaccess file by renaming it to backup.htaccess & then re-save your permalinks which will create a new .htaccess file. That solves issues most of the time.

  2. I’ve finally managed to track down the cause of the problem .. it was a Plugin that seems to have issues (Top Level Categories). I’ve looked into their documentation, but there is no indication that I would run into that problem. Hmmmm …

    At least it’s working now!