Jump to content

Cre8asiteforums Internet Marketing
and Conversion Web Design


Photo

Forcing Http Not Www


  • Please log in to reply
7 replies to this topic

#1 glyn

glyn

    Sonic Boom Member

  • Hall Of Fame
  • 3,301 posts

Posted 02 September 2017 - 04:27 PM

I have a client that is indexed under http://domain.com. I think it looks quite nice in the listings like this. However, I can also see that the domain is accessible under www.domain.com, when running some spiders over the site.

 

I've never really thought of the difference of going to other way, forcing the webserver to redirect all www requests to http://.

 

Is there any reason why I would not want to do this and force instead www in requests?

 

Glyn.



#2 EGOL

EGOL

    Professor

  • Hall Of Fame
  • 6,404 posts

Posted 02 September 2017 - 07:24 PM

I have two domains with www. They were started by me a long time ago when everyone did that.

In about 2005 I realized that going without the www gave an important domain better visibility in the SERPs and made it easier for people to "get it". So, from then on all of my domains have not used www.

I did not redirect the www domains in the past because I worried about linkjuice being lost from all of the old links. Within the past couple of years Google has claimed that no linkjuice is lost in a redirect. So, after thinking about your question, I might redirect them and get rid of the www.

#3 bobbb

bobbb

    Sonic Boom Member

  • Hall Of Fame
  • 3,439 posts

Posted 02 September 2017 - 07:49 PM

It does look nicer especially with your name as a domain name. I do the same thing (non-www). I prefer it.

 

Had not considered the visibility in the SERPS. Did not know this.

 

In the "get it" department, it sounds clearer in speech instead of stuttering W-W-W. Go to thisdomain dot com instead of w-w-w dot thisdomain dot com



#4 glyn

glyn

    Sonic Boom Member

  • Hall Of Fame
  • 3,301 posts

Posted 03 September 2017 - 06:38 AM

Is there any technical challenges in preferencing http over www? Maybe we have a server head in the house?

#5 bobbb

bobbb

    Sonic Boom Member

  • Hall Of Fame
  • 3,439 posts

Posted 03 September 2017 - 09:52 AM

Is there any technical challenges in preferencing http over www?

I'm not sure what that means but will presume it means how is www->non or non->www done. And I presume an Apache server.

 

The first is www->non. I'm not sure if the ,L is needed but I usually have it in.

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

Edited by bobbb, 03 September 2017 - 09:54 AM.


#6 bobbb

bobbb

    Sonic Boom Member

  • Hall Of Fame
  • 3,439 posts

Posted 03 September 2017 - 09:59 AM

And I also forgot to mention this goes into (near the top) of the .htaccess file in the root directory of the server.

 

I'm also making the assumption that your DNS entries for the domain point both the domain and the www sub-domain (standard practice) to the same IP.


Edited by bobbb, 03 September 2017 - 10:11 AM.


#7 glyn

glyn

    Sonic Boom Member

  • Hall Of Fame
  • 3,301 posts

Posted 03 September 2017 - 03:17 PM

Thanks, it was more about whether there was a technical server https reason not to.

#8 bobbb

bobbb

    Sonic Boom Member

  • Hall Of Fame
  • 3,439 posts

Posted 03 September 2017 - 11:59 PM

Ah! I see what you mean. Like what domain the SSL certificate is valid for.





RSS Feed

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users