WordPress.org

Ready to get started?Download WordPress

Forums

Simple 301 Redirects
www to non-www (2 posts)

  1. hepismajli
    Member
    Posted 6 months ago #

    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/

  2. hepismajli
    Member
    Posted 5 months ago #

    please help me, I duon't know what to do:

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.