I moved my wiki from
http://jklatex.square7.de/wiki/doku.php/start
to
http://logicpuzzle.square7.de/start
and now i want to redirect the URL with mod_rewrite. My .htaccess is as follows:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^/wiki/doku.php/(.*)$ http://logicpuzzle.square7.de/$1 [R,NC,L]
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
I don't understand why it does not work :-(
Any hints?
.htaccess2
nothing special happens. Why should this break the page?RewriteRule ^wiki/doku.php/(.*)$ http://logicpuzzle.square7.de/$1 [R,NC,L]
works.