Viewing 1 replies (of 1 total)
  • Qumber Rizvi

    You can add this to .htaccess file

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]

    WordPress automatically handles that kind of redirections, strange that its not taking care of this itself on your site.

Viewing 1 replies (of 1 total)
  • The topic ‘Path redirect domain.com to www.domain.com using htaccess’ is closed to new replies.