Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Rewrite .php extension to virtual folder


g1smd - 12:20 pm on Feb 22, 2010 (gmt 0)


Firstly, you MUST fix the rule order.

The redirects must be listed first, with the general non-www to www redirect as the last redirect.

Inspect them to be sure that for any request only one rule can match. If one rule matches and does a redirect, then another rule matches and does another redirect you are in trouble.

After the redirects, list the rewrites. Never list the rewrites before the redirects.

[edited by: g1smd at 12:30 pm (utc) on Feb 22, 2010]


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