Once in a while I have to fuddle around with mod_rewrite or rather Apache’s redirect. Now I have a simple task, that drives me nuts, cause I can’t get it working:
Everything that was under /journal/(.*) is now under /blog/(.*).
This is what I have now:
RewriteEngine on
RewriteBase /
RewriteRule ^/journal/([^/]+)$ /blog/$1
If it matters: this is a drupal installation.
.htaccess. If you put your rules at the top of the file, Drupal’s rules may override them./in your rule./blog/URL, you’re mistaken. If that’s what you’re trying to do, you’ll need to perform a redirection, like this:.