Hi
I have written in .htaccess file following two lines:

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

After written this my webform submission is not working. Can anybody help me to resolve this?

Regards
Chaitali

Comments

redsd’s picture

Could you tell what you try to do with the above regular expression?
it could be that posted data is lost during a reroute.

chaitali17’s picture

To redirect Non www to www version I have written those line in .htaccess file and after that the webform submission is not working.