Announcement

Collapse
No announcement yet.

Fix for Servers That Force WWW

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fix for Servers That Force WWW

    If you are having problems connecting to your site through the WP EasyCart Administration Console and your server forces a redirect of yoursite.com to www.yoursite.com, then please try the following.

    1. Create a .htaccess file in the wp-easycart/inc/amfphp/Amfphp folder of your plugin.
    2. Put the following in that file:

    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} ^www\.
    RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1 [R=301,L]

    This should fix it for most.
Working...
X