Thread:Project:Support desk/Error upgrading to 1.19.2/reply (3)

I am no real .htaccess expert. I think you should decide on one URL under which your wiki should be reachable and redirect the other one to that one. E.g. redirect the longer http://www.dementiastudios.org/estiah/ to the shorter http://estiah.dementiastudios.com. That way you solve this 404 problem.

This might work with something like this:

RewriteCond %{HTTP_HOST} ^www.dementiastudios.com$ [NC] RewriteRule ^(.*)$ http://estiah.dementiastudios.com/$1 [R=301,L]

Put this in front of all other rules in your .htaccess file, so that this redirect happens before any other rewriting takes place.

Then you need a rule, which stops rewriting, if the URL contains "/mw-config/index.php". This rule must end with the [L] flag and must be put after the rewrite rule from above, but in front of other rules, especially in front of those rules, which make the redirect to the MediaWiki mainscript index.php.

I would try it with this rule (untested):

RewriteRule ^mw-config/index.php - [L]