Robert_Charlton - 10:52 pm on Sep 23, 2012 (gmt 0)
That's an impossibility to do with http://example.com/ simply because it doesn't exist.
Something doesn't seem to be computing here (no pun intended).
IanCP, I'm going to guess that somewhere you're not understanding some of the technical vocabulary being used here, and that you may not be set up with software to analyze what's going on. Please forgive me if this isn't the case.
Bits of vocabulary can be a steep learning curve, I've found, because many of the people qualified to give you good answers naturally use language that contains terms you're not necessarily familiar with, and I can see where people here might be talking past each other. Let me suggest for now a few things...
- type http://example.com/ (with your domain instead of example.com) into the address bar of your browser and hit enter. What happens? Please report back to us, including the url "address" you see in the address bar.
- do the same with http://www.example.com/ and tell us what happens.
Now, I'm going to mention a specific tool here, something we don't usually do in this forum, but it's already been mentioned in our favorite seo tools thread in this forum....
Favorite SEO Tools
The tool is, among other things, a server header checker. It's URI Valet - [urivalet.com...]
Type http://example.com into the URI input field up top and click the Submit button.
Report back the requests and responses listed under "Server Headers Details" further down the page. They'll be in bold blue type.
If your preferred canonical was http://www.example.com, you would get see as the first item"
1. REQUESTING: http://example.com
...and if it properly redirected to http://www.example.com, you would see a blue heading further down the page saying...
SERVER RESPONSE: 301 Moved Permanently
etc... You'd get note that it's redirecting...
Redirecting to http://www.example.com
2. REQUESTING: http://www.example.com
...and then further down the page, you'd get a server response and a destination URI.
Try it also with http://www.example.com in the URI box. You should get at least a somewhat different set of responses.
Please report back on what all those are, and we can go from there.