How do you treat http/https and slashes at the end of a site?
-
- I believe there is a difference between http://www.abc.com vs https://www.abc.com
I also know that it shows security and whatnot, but how do you treat it? Do you submit both? Do you re-direct one to the other? What if you have had the non-secure site for years and the links are mostly crawled?
- My second question is similar as my report shows these two as different: http://www.abc.com/blog vs http://www.abc.com/blog/
I didn't think it made a difference, but when I submitted the links to Google it would not accept them without the slash at the end. Again, the same questions as above in regards to how to treat it. Do you submit both? Do you re-direct one to the other? What if you have had the non-slash site for years and the links are mostly crawled?
-What about http://www.abc.com vs http://abc.com ? They go to the same page, but are they treated the same?
-
Hi Tiffany,
There is a difference between all of these URLs, as far as Google is concerned. If a URL has any one characters different to another, Google considers it to be different. This is true even if the pages each URL loads are exactly the same.
For all of these URLs, you should choose one that you consider to be the "proper" URL. Call this the "canonical" URL - the correct version. There is no gold standard for which versions you should choose, besides for one, which I'll get into later: https://www.abc.com/ is realistically not better or worse than http://abc.com/.
However, you might have a good reason why the entire site should be on HTTPS URLs, i.e. on secured as opposed to unsecured URLs.
Some people choose to not use the "version" of their site that loads with "www" - again, there is no benefit or detriment either way.
For the abc.com/blog/ example, the general rule is that **if more content site beneath the /blog/ subfolder, the URL should have a trailing slash. **If "/blog is just a page with nothing housed beneath it (i.e. there are no pages like www.abc.com/blog/2014/post.html), then you can leave the trailing slash off if you like.
No matter which versions you choose, all alternative versions should be 301 redirected to the canonical version (the one you chose as your preference). If you choose http://www.abc.com/ and someone types in https://abc.com/, they should be 301 redirected to http://www.abc.com/.
The other option is to place the canonical tag on each "alternative" version, pointing to the canonical URL of that page. This means that https://abc.com/, etc. load, but the canonical tag tells Google that the primary version is not on this URL, but on the one you specify in the tag. This is quite easy to do: each URL will be pulling its content from the same file (that is, there are not usually two files for the home page, one populating www.abc.com and one populating http://abc.com - it is the same file being displayed on different URLs). As such, that one file needs to have the canonical tag indicating your desired canonical URL. Each page requires its own canonical tag, indicating the desired URL.
301 redirection to the canonical URLs is the traditional way of getting this done.
Cheers,
Jane
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
I analysis my domain (http://yourdigibuddy.com/) on moz domain analysis. But there is not data show and show message "No data here". What should I do?
_ I analysis my domain (http://yourdigibuddy.com/) on Moz domain analysis. But there is not data show and show the message "No data here". What should I do?_
On-Page Optimization | | MelissaDooley0 -
Online classified ads site - duplicate content?
Hello, I was reading hobo s post on duplicate content. Our web is in the classified advertisement industry and our site is built up like this Homepage (last 200 ads) category 1(has the name we want to rank our homepage and around 350 ads) category 2 (around 100 ads) category 3 (around 60 ads) Now our homepage has 200 ads that also appear mostly in category 1 but also in others. We are ranking our homepage as 11 th now on Google. I'm worried a bit that the 200 ads on the homepage are not unique, because they will appear in one other category. Is this OK? Is this duplication? Should we do something? Issue is that we at first started ranking our homepage where all ads were, now there are too many so we show 200 latest on homepage and then they are split into category pages.
On-Page Optimization | | advertisingcloud0 -
My home page URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Is this a problem?
"The URL http://seadwellers.com/ redirects to http://www.seadwellers.com/. Do you want to crawl http://www.seadwellers.com/ instead?" I was given this when I tried to crawl my home page using MOZ software. I was not aware of this, do not know if it could be a problem concerning any aspect of SEO, etc? :
On-Page Optimization | | sdwellers0 -
One or two keywords/pages
Hi, I have a question about good keyword practice. I have a page: http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league It lists all injuries ("skader" in danish) and suspensions ("karantaener" in danish) for the english premier league in football/soccer. On the page one can choose to show only injuries OR suspensions, which have their own URLs: http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league/skader http://www.holdnyt.dk/skader-karantaener/fodbold/england-premier-league/karantaener My question is - what is best. To optimize the first URL (the more general one) to fit both of the following keywords:
On-Page Optimization | | rasmusbang
"skader premier league" and "karantaener premier league" OR should i focus on optimizing the two latter URLs, the more specfiic to target the two keywords. Regards, Rasmus0 -
N/A For On-page SEO Report
I have 8 errors and 44 warnings last week. Over the week, I corrected broken links, duplicate titles, meta tags, and duplicate page content. Now after it was run again, I'm getting an N/A. Does N/A mean there are NO errors at all on the site? I didn't fix all of the errors and warnings but most I did. My website is also up and running. Please let me know if I'm missing something or if I did that good of a job for my client's on-page SEO stuff, which I doubt despite moving the needle forward. Thanks
On-Page Optimization | | JQC0 -
Blocking Pages E-Commerce Site
Hello, I am working on a site with 1,000's of product pages, some of which do not have inventory in them. Should be blocking these pages in order to reduce bouce rate? How could i manage so many pages efficiently? It would takes weeks to comb through pages to determine which have inventory and which do not. They are also time sensitive as they are live events so dates are always changing. Thanks!
On-Page Optimization | | TP_Marketing0 -
Sudden Site Rankings Drop
Good day guys, We have been following strict SEO strategies for the past 6 months, all sites have been improving incredibly well, all except one. The site in question is http://bit.ly/IH4pkM . The site is regarding automotive spray booth equipment. We were ranking on the first page for the keyword "spray booth" (which is the most important one), at place #4 for weeks on end. However since half-way last week, the site has been dropped to half-way the second page (#17). There are barely any crawler errors listed for our campaign on SEOMoz. There were several pages of which the meta description was missing, but that has been fixed earlier this week. When it comes to link building, I looked at what the top competitors were doing, and was looking for unique link building opportunities myself. We have received 0 webmaster tools warnings as well. I do not believe we are penalized due to the "penguin" update. After all, if you search for for the company's name in Google, it is still listed on there (# 2). Nor have we been part of dodgy link networks at all. So my question is, what do you guys believe made us drop the rankings? Is there some on-page issues I am overlooking? Any recommendations to restore out previous rankings? Kind Regards, Roderic
On-Page Optimization | | Michael-Goode0 -
Small Site Title Tag / Structure Question
Bit embarrassed to ask this question, but will ask it anyway! I have done some quite reasonable basic SEO for clients in the south of Spain with small sites and had reasonable success. My wife and I came to the Pyrenees in the south of France to take over and run bed and breakfast in a lovely old farm and some self-catering accommodation in one of the pastures (with my continuing to do a bit of work for clients too). We are running and developing the place for friends who are away 3-4 years. They had an abysmal site, so we designed one to together: http:www.loubetaspyrenees.com/ (I have given the French version because it's what I am most concerned with - there is an English version in case I can tempt you to a holiday here!) It's been very well received by users, so that's great. We have the place on about 12 agencies amd almost all link to our site, so it serves as a good showcase. Here's my issue (for the French site): It went online 11th Feb and is already doing well for more "long tail" searches, and for more local and specific searches, but is proving slow on our prime search terms. The prime market is French, and they key terms are "Gîtes" for the self-catering accommodation, and "Chambres d'Hôtes" for the Bed and Breakfast. Our key Geographical term for the French market is "Hautes Pyrenees" - it's a departmental area. In Google.fr We are around result 100 out of 600k results for "Chambres d'hôtes hautes pyrénées" and aren't in the first 200 for "Gîtes Hautes Pyrénées". This is a competitive market and we are competing with optimised and long-established agencies but still hope to do better. I know I am losing from poorly constructed title tags cannibablising the results, but cannot see how to solve this: Home Page Title tag: "Gîtes et Chambres d'Hôtes dans les Hautes Pyrénées | les Baronnies" I have two main pages on the Gîtes: Gîte for 2-3 people Title tag "Gîte dans les Hautes Pyrénées pour 2-3 personnes en les Baronnies"
On-Page Optimization | | PeterMurray
Gîte for 3-9 people Title tag "Location Gîte dans les Baronnies Pyrénées pour groupe 3-9 personnes" ("Location" means rental) Google understood the above and put us no 1 out of over 1miillion results for a search for a gite for 9 people in the south west of France ("gite sud ouest 9 personne") And 2 pages for the Bed and Breakfast: B&B in the farm building: "Chambres d'Hôtes dans les Hautes Pyrénées dans une ferme restaurée"
B&B in gite apartments with sitting rooms: "Chambres d'Hôtes dans les Hautes Pyrénées avec salon et terrasse" I am not sure how to handle the titles for the Home Page and for the 4 subpages - sounds silly, but have you any advice on how I might handle these titles better? I thought of using more general terms on the Home Page ("Holiday accommodation in the ..."), but on such a small site (18 pages in each language version) I feel that would be unwise. It seems I must try to find some way of differentiating the titles on the other 4 pages so that i am not cannibalising but where there are so few alternatives I am not sure how! Oh dear, sorry this was so long!0