Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    https://www.website.com is a subdomain of website.com so they are technically different websites. In order to redirect www to non-www you need to handle that in your servers’s configuration. You should ask your host to take care of this for you but if you really want to do it yourself and you are using apache web server, you can try adding this to the start of your .htaccess file in the root forlder of your WordPress files:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www\.knifesavvy\.com$
    RewriteRule ^/?$ "http\:\/\/knifesavvy\.com\/" [R=301,L]
    Thread Starter knifesavvy

    (@knifesavvy)

    ty

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘www redirect to no www version’ is closed to new replies.