Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ve a problem with the REWRITE protocol into your HTACCESS file.

    Paste the content of your .htaccess file, I will see what’s wrong.

    Here is an exemple of .htaccess file :

    # BEGIN WordPress
    <ifmodule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </ifmodule>
    # END WordPress

    I think you’ve something like :

    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteCond %{HTTP_HOST} !^mywebsite\.com$ [NC]
    	RewriteRule ^(.*)$ http://mywebsite.com/$1 [R=301,L]
    </IfModule>

    Change this to :

    <IfModule mod_rewrite.c>
    	RewriteEngine On
    	RewriteCond %{HTTP_HOST} !^www.mywebsite\.com$ [NC]
    	RewriteRule ^(.*)$ http://www.mywebsite.com/$1 [R=301,L]
    </IfModule>

    That’s it !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘"www" in the URL is missed’ is closed to new replies.