Extension, Fieldtype, Module

Archived
Forum
(read-only)

Zoo Visitor

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Discontinued

     

htaccess rewrite rules breaks inline error messages

General

Jon Nixon
Jon Nixon

Hi,

the following rule in my htaccess file is causing the inline errors on the forgot password form to stop working:

RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] 

Do I need to handle these differently in order for the inline errors to work correctly?

ExpressionEngine Zoo
# 1
ExpressionEngine Zoo

Check your network inspector to see if you’re not causing a redirect when using those forms.  Maybe it’s posting to the non-www version because your site url is set without it?

Jon Nixon
# 2
Jon Nixon

I always forget about this. That was it. Thanks!