After having read a lot of posts on the topic of URL rewriting, I still remain stuck with
404 status errors.
A 'static' rewrite of URLs, as follows (user clicks or enters the one URL/script, but internally the other one is being executed - the parameters are also 'static', hence I think I cannot use any kind of pattern
$1 in the rule...:
- Directory 'en' exists.
- Script abc.php does not exist
- Script xyz.php exists and works fine with the given static parameter(s)
Options +FollowSymLinks RewriteEngine On RewriteRule ^en/abc\.php\?foo&blabla$ /en/xyz.php?bar&otherstring [NC,L] RewriteRule ^en/abc\.php\?foo$ /en/xyz.php?bar [NC,L]
I already get a
404 error on this simpler last rule. I don't have access to the rewritelog.