I dunno, I have a fresh install of 2.0 and the permalink/category-based-url thing isn’t working … and I have no plugins activated.
I have WP2.0 installed to /blog/
When I have the category based url set to ‘tags’ such that a link should be http://www.myserver.com/blog/tags/category …. only categories that do not contain the string ‘blog’ seem to work … all others get a 404.
Also the .htaccess file never changes … some blank lines get appended when ever wordpress would likely be altering it, but the file remains always with just:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php
</IfModule>
# END WordPress
???
I have a very similar problem. It does not work with custom: /%post_id%/%postname%/ . All the other options work fine. I upgraded it to 2.0 from 1.5.2. I have no plugins activated.
I had mine working but I have just recently changed the URL of the site (no files have changed, just a new domain points at the file and I changed the URL of the main blog) but now the permalinks refuse to work. Im not using any plugins.
See:
http://indiecult.trivialbeing.net/2005/12/29/venetian-snares/
http://www.indiecult.com/2005/12/29/venetian-snares/
Indiecult.com points to the indiecult.trivialbeing.net subdomain and they share apache.
It never works with this kind of redirects.
Care to offer an explanation as to why? The two domains equally share the same hosting/database. And all the admin stuff functions correctly from the domain.
I am afraid I cannot give you the proper technical explanation… since I don’t know it 🙂
However, based on the experience of months spent here – I remember many cases like yours when the permalinks didn’t work.
I guess the “virtual path” of the permalinks are built based on the physical location of the WP install, though don’t quote me on this.
I managed to get it to work by circumventing the mod_rewrite
I contacted my hosting provider and they solved the problem for me. My WP was installd in a subdomain. Here is an excerpt of the conversation that i had with the CSR.
Dave: In order for .htaccess files to be parsed in the subdomain, AllowOverride <option> has to be set in your apache configuration for that directory:
Dave: <VirtualHost *>
Dave: ServerName subdomain.example.com
Dave: ServerAlias http://www.subdomain.example.com
Dave: DocumentRoot /var/www/subdomain.example.com
Dave: <Directory “/var/www/subdomain.example.com”>
Dave: Options FollowSymLinks MultiViews Includes ExecCGI
Dave: AllowOverride All
Dave: AddHandler cgi-script .cgi .pl .py .sh
Dave: </Directory>
Dave: . I have added it for you and restarted apache.
My real domain isn’t example.com btw, it’s just a sample. Hope this helps.
jonathan.radande.com