This blog is NOFOLLOW Free!

The magic space of the IT find what you seek or get lost

30Dec/07Off

WordPress 2.3 no working mod_rewrite

I wanted just set up my new blog and use a permalink structure like this:

/%category%/%postname%/

The strange thing was that it want work. mod_rewrite is enabled from my hoster, other sites work with it without any problems. If I used a structure with the "index.php" in it, it worked without any problem. I googled a lot and read very much of the docu. Most of them only say, that the mod_rewrite, followsymlinks, and such things have to be enabled. But this is all how it should be! So where is the problem?

I don't really know it. All the docs says, that the new wordpress does not need an special .htaccess file for this kind of stuff. Or perhaps I always have over read it? I don't know. After a while I decided to put on a .htaccess which looks like this:

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

After I did it, it WORKED. I hope I will not get any other problems with this little code, but till know I am happy with it. It simply works 😉

Fatal error: Call to undefined function the_flattr_permalink() in /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-content/themes/lightword-custom/single.php on line 23 Call Stack: 0.0001 235624 1. {main}() /srv/www/webs/aschneider/magicspace_eu/htdocs/index.php:0 0.0002 238584 2. require('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-blog-header.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/index.php:17 0.4060 54784640 3. require_once('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-includes/template-loader.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-blog-header.php:19 0.4130 55217024 4. include('/srv/www/webs/aschneider/magicspace_eu/htdocs/wp-content/themes/lightword-custom/single.php') /srv/www/webs/aschneider/magicspace_eu/htdocs/wp-includes/template-loader.php:74