vb5.2.5 install now working but not with www.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trevor Matthews
    Senior Member
    • Oct 2010
    • 537
    • 4.1.x

    vb5.2.5 install now working but not with www.

    Hi all

    I am finally getting there with this fresh install on a Synology NAS.
    I have a SSL certificate installed, https is working perfectly, redirects from http to https are working correctly but I can not work out how to allow both www.domain.com and domain.com to work.

    Currently I have just domain.com entered in the admin control panel settings.
    I would also like www.domain.com to work but with Firefox just get the message below.

    The connection to www.mydomain.co.uk was interrupted while the page was loading.

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the web site owners to inform them of this problem.

    Is this a vbulletin setting that needs changing, a certificate not covering www. or something else.

    Thanks for any pointers.
    Regards
    Trevor
  • William Thomas Jr
    Senior Member
    • Nov 2014
    • 526
    • 5.1.x

    #2
    You realize that having two domains results in a penalty from Google (duplicate content). That is domain.com and www.domain.com are considered two different domains and sites. It is generally best SEO practices to have one or the other.

    Enjoy
    William

    Comment

    • Trevor Matthews
      Senior Member
      • Oct 2010
      • 537
      • 4.1.x

      #3
      Fortunately I don't care if Google can't even find my site, it is a specialist dedicated site for TV engineers and I do not need or want it advertised.
      I just want to cover all the options a member might type in to get there, and this is an emergency back up forum that I am setting up at the moment, it won't even be accessible unless the main forum goes down.
      Having looked around it seems some modification of my .htaccess file will sort this one out.

      But thanks for the input as it would definitely affect others...........
      Regards
      Trevor

      Comment

      • William Thomas Jr
        Senior Member
        • Nov 2014
        • 526
        • 5.1.x

        #4
        Originally posted by Trevor Matthews
        Fortunately I don't care if Google can't even find my site, it is a specialist dedicated site for TV engineers and I do not need or want it advertised.
        I just want to cover all the options a member might type in to get there, and this is an emergency back up forum that I am setting up at the moment, it won't even be accessible unless the main forum goes down.
        Having looked around it seems some modification of my .htaccess file will sort this one out.

        But thanks for the input as it would definitely affect others...........
        You're right, an htaccess file and edits would allow you both. But normally a 301 redirect is in place, so anyone typing domain.com will find their way to www.domain.com. Another words any combination will result in correctly finding the site in accordance with best SEO practices.

        Enjoy,
        William

        Comment

        • Mark.B
          vBulletin Support
          • Feb 2004
          • 24275
          • 6.0.X

          #5
          vBulletin 5 requires one or the other.
          You can redirect non-www to www, or the other way round. You cannot have both working at the same time.
          MARK.B
          vBulletin Support
          ------------
          My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
          My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

          Comment

          • Trevor Matthews
            Senior Member
            • Oct 2010
            • 537
            • 4.1.x

            #6
            Hi
            Thanks yes I know, I just can't get https://www.domain to redirect to https://domain
            All the other variants work fine.
            Regards
            Trevor

            Comment

            • Trevor Hannant
              vBulletin Support
              • Aug 2002
              • 24183
              • 5.7.X

              #7
              Try adding this to the top of the .htaccess file using your domain (obviously!):

              Code:
              RewriteEngine on
              RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
              RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
              Vote for:

              - Admin Settable Paid Subscription Reminder Timeframe (vB6)
              - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

              Comment

              Related Topics

              Collapse

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎