Hot answers tagged

17 votes
Accepted

Why is a link to www.example.software not working?

A link like <a href="www.example.software"> is defined by the HTML/HTTP spec as a relative link. If you are currently on https://www.example.software/ it would result in the URL ...
5 votes

What are "server routers" in the World Wide Web?

That's a very confusing description of what happens, and is mixes up network traffic and different requests. When a client makes an HTTP request for a URL with a hostname in it, it must first convert ...
  • 1,609
3 votes
Accepted

Should I use CNAME or Apache virtual host for www?

If the URL is changing from example.com to www.example.com for users, then there IS an actual redirect happening. However it has nothing to do you with CNAME record, because CNAMEs can't cause ...
3 votes

Will changing a site from no-www to using www affect SEO?

as long as you 301 redirect the 'naked' (i.e. non-www) domain to the www, you should be fine.
  • 821
2 votes
Accepted

What's the WWW Server/1.1?

The WWW Server means that a web server is running, and the 1.1 is very likely shorthand for HTTP Version 1.1. In short, this result probably means that there was a web server found, and that web ...
2 votes

Cookies for www and non-www different

This is arguably a problem with your server-side application and how you are setting cookies (if this behaviour is undesirable), rather than the browser per se. In order to set a cookie, you determine ...
  • 41.6k
2 votes

GoDaddy setup and redirect www to site root

It looks like you are redirecting www.example.co.uk to itself, so it gets into a redirect loop. This is exactly consistent with what you wrote: Subdomain example.co.uk - containing Permanent 301 ...
  • 6,120
1 vote
Accepted

Website not getting redirected from non-www to www URL

Ensure that both are declared in your httpd.conf file, inside your Apache server: <VirtualHost 1.2.3.4:80> ServerName example.com ServerAlias www.example.com This code will enable ...
1 vote

Wordpress multisite non-www URL redirects to mainsite. www version of url is okay and comes to subsite homepage. Why?

Alright so it is a wordpress issue... I am using wordpress v5.2.1. just do the following: RewriteCond %{HTTP_HOST} examplesite2.com [NC] RewriteRule .*$ http://www.examplesite2.com/$1 [L,R=301] to ...
1 vote

How to set canonical link for website with www redirection

The canonical is correct as long as there is only one and all URLs that access page show the same canonical. It is your choice as to which one but it is definitely best-practice that the canonical ...
  • 5,917
1 vote

What are "server routers" in the World Wide Web?

Imagine that you're driving along and need to change roads, but don't know which road to take, so you ask for directions at the intersection. This is what a router does, there can be several routers ...
  • 2,888
1 vote

Is it safe to disable the bare/naked/root domain example.com and use www.example.com only?

Some browsers may fallback to www. For example in firefox it's controlled by browser.fixup.alternate.enabled=true and browser.fixup.alternate.prefix=www. But rely on this behavior is a bad idea, at ...
  • 111
1 vote

Domain name only works with www. but not without the www

In my case I am using AWS and Godaddy, so I updated my www CNAME to xxx.aws.amazon.com and deleted the A record. After that I used a forwarding 301 (permanent redirect) and pointed it to www.mysite....
  • 11

Only top scored, non community-wiki answers of a minimum length are eligible