That should work. Are you getting the confirmation dialog that they are updating?
Also, remember from your dashboard, to update them, you must have the .htaccess CHMOD 666.
hi, this sounds like exactly the same issue i’ve been having.
- root of site is managed by wp2.1 as per giving WP its own dir
- permalinks work fine in this context for pages & entries
however as soon as the permalink setup is changed to _any_ other format, all goes pear-shaped.
i’ve searched a lot on the forums and seen a huge # of issues related to this but nobody seems to have managed to get to the bottom of it.
my system is
- OpenBSD 4.0
- default chrooted apache + mod_rewrite + mod_webdav
- blog is installed in /var/www/wordpress/ and softlinked from /var/www/htdocs/wordpress/
- php5-hardened modules
- wp 2.1 fresh from svn “a few days ago”
/var/www/htdocs $ cat .htaccess
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I’ve left my blog with the faulty settings at present so you can take a look & see what is currently failing.
the desired settings were
- custom prefix for categories -> /tags
- custom permalink structure -> /archives/%postname%
cheers, scorch
When I update, I get the message: You should update your .htaccess now.
Towards the bottom, it reads:
If your .htaccess file were writable, we could do this automatically, but it isn’t so these are the mod_rewrite rules you should have in your .htaccess file. Click in the field and press CTRL + a to select all.
And then there is the code for the .htaccess file. I’ve added it and FTP’d over.
The code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Also, I’ve changed chmod to 666 (it was previously 644).
Still getting 404 errors for the links.
I am having the same problem, I am running the latest version 2.1.2 and want my permalinks as:
/journal/%category%/%postname%/
But this is not working for me I get a 404 error when I follow a url.
/%category%/%postname%/ works fine though?
Solved it!
The error was caused by me having /journal also set as the category base, which is the option below the Custom permalink structure settings.
so I now have my permalinks as:
/journal/%category%/%postname%/
and my category base:
/archives/
Works like a charm!
I found the answer for OpenBSD 4.0.
edit your httpd.conf file in /var/www/conf/ to have
“AllowOverride All” instead of “AllowOverride None”
AllowOverride None means that no .htaccess file can actually do anything. There are other options for AllowOverride, but I enjoy doing lots of .htaccess edits, so I put it to all.
Hope that fixes your problem!