WordPress.org

Ready to get started?Download WordPress

Forums

Redirecting non www to www issues?! (1 post)

  1. welshhuw
    Member
    Posted 2 years ago #

    Hi,

    I have overwritten a HTML website with a WordPress setup. I installed a redirection plugin to handle all of the URL changes. Works fine.
    But, the non-www version of the website still shows. I have tried adding this to my .htaccess file:

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

    But nothing happens at all. The non-www site still shows.

    How can I fix this?
    Could it be the plugin effecting it?

Topic Closed

This topic has been closed to new replies.

About this Topic