Viewing 2 replies - 1 through 2 (of 2 total)
  • https://www.domain.com and domain.com are separate domain names. If you configured WP with https://www.domain.com, then WP will only respond to that domain. Any other domain requests will get an error page.

    One solution is to create a rewrite rule to redirect domain.com to https://www.domain.com (or vice versa depending on WP configuration). Here is an example:

    
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain.com [NC]
    RewriteRule ^(.*)$ https://www.domain.com/$1 [L,R=301,NC]
    
    Thread Starter bloggy2013

    (@bloggy2013)

    Is there any way around this without having to add more rules?
    Also, can these be put into the httpd.conf rather than htaccess?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘alias domains not seen’ is closed to new replies.