Support » Fixing WordPress » How to redirect domain.com/* to www.domain/*

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please ask your web host…this is not a WordPress issue…if you have a good web host, either will resolve…

    Thread Starter Hieu Nguyen

    (@hieuhpvn)

    Thank @seacoast Web Design for reply

    My old site is working normal, but the new site is not working same. I think my hosting is not proplem.

    I think we can edit the .htaccess file?

    Thread Starter Hieu Nguyen

    (@hieuhpvn)

    This is:

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to redirect domain.com/* to www.domain/*’ is closed to new replies.