New answers tagged

0

Redirect /photo/useralbums /my-profile The result is that the user ends up at: /my-profile/Mario This will happen if the request is for /photo/useralbums/Mario since the mod_alias Redirect directive is prefix-matching and everything after the match is copied onto the end of the target URL. If you need to redirect all URLs of the form /photo/useralbums/<...


1

This is most certainly due to MultiViews (part of mod_negotiation) being enabled at the shared host. It is disabled by default on Apache (so your directives "work" on your dedicated server), but some shared hosting platforms do explicitly enable this for some reason. (It makes extensionless URLs "just work" out of the box but can ...


Top 50 recent answers are included