WordPress.org

Support

Support » Plugins and Hacks » www to non-www

www to non-www

  • hepismajli
    Member

    @hepismajli

    Hi there Scott, I installe your plugin hoping to redirect www to non-www but I am not sure did i do it.

    1. If I want my site http://www.mysite.com to be redirected to mysite.com, should I write:

    Request = http://www.mysite.com
    Destination= mysite.com

    OR

    Request = mysite.com
    Destination= http://www.mysite.com

    2. And finally why nothing is visible in “htaccess” file, it always stays the same?

    Code:

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

    http://wordpress.org/plugins/simple-301-redirects/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘www to non-www’ is closed to new replies.