HTACCESS Redirect non-www to www URLs

PHOTO EMBED

Wed Nov 24 2021 02:45:15 GMT+0000 (UTC)

Saved by @mel #htaccess #redirect

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