San Francisco, Vereinigte Staaten von Amerika
joined 12 days ago
Founder & Product @Passbase (www.passbase.com)
Felix hasn't added any products.
Which URL Structure do you prefer actually: with www. or without?
Any best practices here? Pros and cons?
SEO person here. Actually, you can use the URL with either www or non-www. But the point is, always prefer a single version. If you're preferring non-www version, make sure to permanently redirect www version to it and vice versa. Having your website accessed from both the version creates duplicate content issues in the eyes of Google.
Once you decide on the URL version, set your preferred domain through Google webmaster tools - https://support.google.com/webmasters/answer/44231?hl=en
Apart from this, there are no pros, cons and best practices in this case.
www that redirects to a domain without www
Thats the way to go. www. is a bad habit from the past :-)
sorry but this is simply wrong
With Cloudflare, CNAMEs on a naked domain aren't an issue.
Let's leave it with that then :) It seems the underlying technical details are not of interest
Non-www is sometimes problematic with services and www as far as I've known is never problematic. I think as a default, non-www is the safer choice.
Will www.indiehackers.com switch soon, @csallen?:-)
Most people don't use www - create a permanent redirect from it, avoid confusion.
It doesn't make a significant difference, but in general www is unnecessary, and an old pattern.
If you've been using it, stick with it, but for a fresh site I would use without.
The principle here is to keep your URLs as short as possible, so www just lengthens it.
Make sure you redirect all combinations of HTTP/HTTPS WWW/non-WWW to your correct destination. I see people get this wrong a lot and it messes up your SEO.
I do non-www because it looks cleaner and I generally dislike arbitrary standards. Of course, I redirect www to non-www.
non-www redirect to www.
If you noticed, majority of big websites follows this pattern, so to avoid confusion for non-tech people I prefer this.
This is what I do. If it's good enough for Google, Facebook, and Wikipedia, then it's good enough for me.
I started to use only https, because my customers tell me the connection is unsecure and they cannot trust my business.... will be using https and pay for it definitely...
I redirect from www. to the base domain because I don't like wasting those extra 4 keystrokes. It's not like I'm running a gopher. or an ftp. that www. needs to be distinguished from.