People who code: we want your input. Take the Survey

New answers tagged

0

Your rules are in the wrong order. Your external non-www to www redirect needs to be before the internal rewrite, immediately after the first RewriteBase directive. As a general rule, "redirects" should always go before "rewrites". UPDATE: You will need to make sure you've cleared your browser cache (and any intermediary caches) since ...


6

Yes, domains with more than 3 labels are common, this is most obvious in educational context, where URLs often look like https://me.institute.place.university.edu.cctld. (The term TLD is only used to refer to the (singular) topmost level, so this answer assumes the question is about properties of the entire suffix, not actually about multiple TLDs.) More ...


0

I found correct redirect: <rule name="WEBHELY - helyek/WEBHELY (RootFolder)" stopProcessing="true"> <match url="^WEBHELY/(.*)" /> <conditions> <add input="{QUERY_STRING}" pattern="(.*)?RootFolder=%2FWEBHELY(.*)" /> </conditions> <action type="...


Top 50 recent answers are included