Viewing 5 replies - 1 through 5 (of 5 total)
  • You can do that in your .htaccess file. No need to use a plugin…

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^www.your_domain.com$
    RewriteRule ^(.*)$ https://www.your_domain.com/$1 [R=301]

    Obviously replacing your domain with your actual domain… ??

    Thread Starter seenuFour

    (@seenufour)

    I am using wordpress hosting on godaddy. Where/which folder I can find the .htaccess file ?

    Thanks for your reply!

    Srinivas

    Root folder…

    Well the root folder of what’s viewable to visitors.. ie. yoursite.com/ and not yoursite.com/somefolder/

    If that’s where WordPress resides, then be careful editting the file.

    If you have problem consult your host, they may have a easy way for you to do this straight from the control panel.

    Thread Starter seenuFour

    (@seenufour)

    Hello experts,

    Did anybody install “Enforce WWW Preference” plugin and had it working for them on a godaddy WordPress hosting account?

    Some how I still see my url getting resolved to https://domain.com , instead of https://www.domain.com

    Thanks a lot!

    Srinivas

    Thread Starter seenuFour

    (@seenufour)

    Go to Settings->General->WordPress address (URL)/Blog address (URL), and change here.

    Thanks

    Srinivas

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Enforce WWW Preference” plugin’ is closed to new replies.