Homepage Index vs Home vs Default?
-
Should your home page be www.yoursite.com/index.htm or home.htm or default.htm on an apache server? Someone asked me this, and I have no idea. On our wordpress site, I have never even seen this come up, but according to my friend, every homepage HAS to be one of those three. So my question is which one is best for an apache server site AND does it actually have to be one of those three?
Thanks,
Ruben
-
Thanks so much! I really appreciate the insight.
Ruben
-
If you want more information yes Apache server does make
Most Apache web servers have set the following pages as the default page with a directory.
default.htm default.html index.htm index.html index.php
If using WordPress you could see index.php because WordPress
Uses a PHP Database regardless of what your friend told you ideally you should have
Properly 301 redirected static links when talking about links that are going to be seen by Google.
this
Means WordPress websites ideally should not contain publicly visible index file of any kind.
To cut to the chase I have cited this response from Matt Cutts, the head of Google’s web spam team. to Yoast
Referenced from http://yoast.com/wordpress-seo-url-permalink/
I emailed Matt and asked whether it makes sense to add .html for systems like WordPress. His response:
In general I wouldn’t. My WP has urls like http://www.mattcutts.com/blog/remove-result/ and that’s pretty ideal.
So. Case closed.
Should I add .html to my permalink structure?
A good collection of resources. Are posted as links below this line.
Use Yoast http://yoast.com/wordpress/seo/
Is an excellent source of WordPress knowledge I strongly recommend using the Yoast WordPress seo tool the reason a side from being one of the very best Word press plug-ins that enhance your Word press site this one uses
http://yoast.com/change-wordpress-permalink-structure/
http://yoast.com/wp-content/permalink-helper.php
If you need to make changes to your link structure A great
resource I understand redirects is the link under this line
http://24ways.org/2013/url-rewriting-for-the-fearful/
If you need to redirect an index tag using Nginx
http://moz.com/blog/htaccess-file-snippets-for-seos
http://codex.wordpress.org/Linking_Posts_Pages_and_Categories
-
Merry Christmas,
Ruben
Your friend is speaking about a 100% HTML site and the answer is your site should not end using
www.yoursite.com/index.htm or home.htm or default.htm
Using Word press your site should end in www.yoursite.com or www.yoursite.com/
Some people when they ring there site over from an HTML static site to WordPress they might find a parma links
http://codex.wordpress.org/Using_Permalinks
If you do this and 301 redirect any links that would be changed by using WordPress to the new Permalink structure shown below or if you feel like using one of the others which I recommend against you may. However most sites are best served using the settings below.
Sincerely,
Thomas
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
-
Internal pages ranking over the homepage: How to optimise to rank better at Google?
Hi, We have experienced a shift in SERP from internal pages ranking over website homepage for more than a year. Previously website homepages used to rank for the primary keyword like moz.com for "SEO". Now we can see that internal pages like moz.com/learn/seo/what-is-seo been ranking for the primary keyword "SEO". Google is picking up these "what is ABC" pages than the homepage. All our competitor sites are ranking with these internal pages which are about "what is (primary keyword)". We do have the same internal pages "what is....", but this pages is not ranking; only our homepage is ranking. Moreover we dropped more than 15 positions after this shift in SERP. How to diagnose this? Thanks
Algorithm Updates | | vtmoz0 -
Meta robots at every page rather than using robots.txt for blocking crawlers? How they'll get indexed if we block crawlers?
Hi all, The suggestion to use meta robots tag rather than robots.txt file is to make sure the pages do not get indexed if their hyperlinks are available anywhere on the internet. I don't understand how the pages will be indexed if the entire site is blocked? Even though there are page links are available, will Google really index those pages? One of our site got blocked from robots file but internal links are available on internet for years which are not been indexed. So technically robots.txt file is quite enough right? Please clarify and guide me if I'm wrong. Thanks
Algorithm Updates | | vtmoz0 -
Hi guys, I have a question about linking to a product page for linkbuilding. Does that count adversely vs. linking to a homepage?
Hi - so until now we have been building links via blog posts and articles and linking them to the homepage. It seems the ranking of some of my top keywords has fallen so had a few questions/concerns: Does it affect the rankings adversely if I link to the product page vs the homepage? What is rule of thumb for increasing rankings of inside pages/keywords and building links to them? Thanks
Algorithm Updates | | DGM0 -
Is there a we to get Google to index our site quicker?
I have updated some pages on a website, is there a way to get Google to index the page quicker?
Algorithm Updates | | webguru20140 -
Why is a sub page ranking over home page?
Hey guys! I was wondering whether any of you Mozzers out there could shed some light on this query for me. Currently, one of our clients is ranking (on the second page, at least) for one of their target keywords. However, it's not the home page that is ranking - it is a sub page. I guess you could say both are targeted to rank for the keyword in question but the home page has a considerable more PA (+10) and has a lot more incoming links so it's a little bit baffling as to why the sub page has been given an advantage. Does anyone know why this may be? Also, on a secondary note, should I continue to build links to the home page or target this particular sub page to have a better chance of ranking higher for the keyword? Any advice on this welcome! Cheers!
Algorithm Updates | | Webrevolve0 -
Homepage dropped from Results as I get #1 Local
Today, I noticed for a website I have (www.ghosttoursinsavannah.com) the homepage dropped out of the rankings for only one keyword. This site was previously number 3 for s specific keyword, 'Savannah Ghost Tours'. This keyword is also the keyword most customers search for, by far. Hence my mini-panic. All other keywords (roughly 200 of them) I was previously ranked for are still, pretty much, in the same location rank-wise that they were before. This is for Google by the way. The other thing I noticed is that for many keywords I am all of a sudden the (A) Local Result. I wasn't even on the map previously. Now, the keyword for which my homepage dropped from the rankings, 'Savannah Ghost Tours' is also the 'name' of my company according to Google Local. I haven't had this happen before and am quite confused by it. If anyone can help me understand why this happened and if there is anything I can do to get my organic ranking back, I would appreciate it. The only change I made wasn't even to the site. I did go out and use GetListed to add my company to a number of sites, that is all I have done in the past month. Also, These two things happened the same day, the drop in rank and the promotion to number one position for local. google-rankings.png
Algorithm Updates | | TimNealon0 -
Why bing is not indexing our website?
We are up almost a six month already, google indexed 46,900 pages. We have decent traffic and a lot of real external links to us. No single page has been indexed by bing or yahoo. I have submitted sitemap to bing's webmaster tool two weeks ago and still it is in Pending stage. here is our address: www.showme.com and here is site map: http://www.showme.com/sitemapxml.php What can be the reason of that? Thanks for your help. Karen Bdoyan
Algorithm Updates | | showme0 -
Why would my product pages no longer be indexed in Google?
Our UK site has 72 pages in our sitemap. 30 of them are product pages which take a productid parameter. Prior to 1st Feb 2011, all pages were indexed in Google but since then all of our product pages seem to have dropped from the index? If I check in webmaster tools, I can see that we have submitted 72 pages and 42 are indexed. I realise we should have some better url structuring and I'm working on that but do you have any ideas on how we can get our product poages back into googles index http://www.ebacdirect.com
Algorithm Updates | | ebacltd0