Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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:

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!

share|improve this question
    
Is the .htaccess in the same directory as WordPress? And what are the two URLs you have set in Options - General (WordPress address & Site address)? –  TheDeadMedic Mar 18 '11 at 23:20
    
I've added the information you requested. Hope it helps in tracking down the issue! –  IronGoofy Mar 19 '11 at 7:48
add comment

2 Answers

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.

share|improve this answer
    
This didn't change anything. (And I wouldn't know why it should as long as wordpress was able to write the .htaccess file.) –  IronGoofy Mar 19 '11 at 10:09
    
@IronGoofy Does the default permalinks work? Also you shouldn't be using a plugin which has issues with WP 3.1, take a look here - wordpress.org/support/topic/… –  Ashfame Mar 19 '11 at 10:33
    
Thanks for the suggestion with the plugins, that helped me to try out some more things which finally lead to the solution of my problem (see my own answer). –  IronGoofy Mar 19 '11 at 19:21
    
@IronGoofy you can mark your answer as the accepted answer, add any details that you feel might help someone who comes looking for the same problem. –  Ashfame Mar 19 '11 at 20:42
    
Will do, but I have to wait until tomorrow before I can accept my own answer. –  IronGoofy Mar 19 '11 at 22:32
add comment
up vote 1 down vote accepted

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!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.