Announcement

Collapse
No announcement yet.

With cache empty Homepage is "domain1.domain2.com" instead of "domain1.com"

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • With cache empty Homepage is "domain1.domain2.com" instead of "domain1.com"

    I built my VB forum in a domain which is a subdomain of another domain. Its real address is domain1.domain2.com.
    After moving to VB5, when my new users reach the homepage for the first time they see the URL domain1.domain2.com instead of domain1.com. Then if they navigate the homepage becomes domain1.com.
    Maybe I made a mistake in the .htaccess

    Now I'm using this:
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}/$1 [R=301,L]


    Could you help me? Thanks

  • #2
    At the end I decided to make a redirection using my cPanel. It's ok now.

    Comment

    Related Topics

    Collapse

    Working...
    X