Skip to main content
edited body
Source Link
monymirza
  • 3.5k
  • 4
  • 27
  • 46

Your RewriteConditions says if starting with www.mysite.com then redirect to http://mysite.com

This rule is not affecting clean urls. AtClean urls must enabled at http://mysite.com/admin/settings/clean-urls are clean urls enabled.

Your RewriteConditions says if starting with www.mysite.com then redirect to http://mysite.com

This rule is not affecting clean urls. At http://mysite.com/admin/settings/clean-urls are clean urls enabled.

Your RewriteConditions says if starting with www.mysite.com then redirect to http://mysite.com

This rule is not affecting clean urls. Clean urls must enabled at http://mysite.com/admin/settings/clean-urls

I did not understand the question the first time. So the answer as not accurate.
Source Link
15dk51
  • 1k
  • 8
  • 15

RewriteCondition should be.Your RewriteConditions says if starting with www.mysite.com then redirect to http://mysite.com

RewriteCond %{HTTP_HOST} !^www.mysite.com$ [NC]

This rule is not affecting clean urls. At http://mysite.com/admin/settings/clean-urls are clean urls enabled.

RewriteCondition should be.

RewriteCond %{HTTP_HOST} !^www.mysite.com$ [NC]

Your RewriteConditions says if starting with www.mysite.com then redirect to http://mysite.com

This rule is not affecting clean urls. At http://mysite.com/admin/settings/clean-urls are clean urls enabled.

Source Link
15dk51
  • 1k
  • 8
  • 15

RewriteCondition should be.

RewriteCond %{HTTP_HOST} !^www.mysite.com$ [NC]