Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- HELP! mobile site redirect loop somewhere


g1smd - 7:01 am on Oct 22, 2011 (gmt 0)


... and make sure this code goes near the beginning of the mod_rewrite code.

Ideally it will be located right after your RewriteRule(s) which block bad requests and it MUST be before any code with performs any internal rewrite on the request.

!^.*mredir=0.*$ is inefficient. The ^.* part causes multiple "back off and retry" trial matches slowing the server. The .*$ part wastes yet more processor cycles reading to the end. Use !mredir=0 instead.

The target URL (the root of mobile site) must end in a trailing slash.


Thread source:: http://www.webmasterworld.com/apache/4333664.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com