Cleaning up /index.html on home page
-
All,
What is the best way to deal with a home page that has the /index.html at the end of it? 301 redirect to the .com home page?
Just want to make sure I'm not missing something.
Thanks in advance.
-
You should do both.
Implement the 301 to catch any link strength coming in from external pages and send it to your correct URL. Always link to your root URL in your internal navigation as linking to index.html and then relying on the 301 to redirect to the correct URL will leak a small amount of link juice every time.
-
You should link internally as .com and not /index.html.
For example:
**["Anchor Text](index.html)**
Should be:
``` **[Anchor Text](http://www.example.com)** ``` ``` If for some reason you cannot edit any internal links then 301 redirects will work. Hope this helps!
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
-
How would you handle these pages? Should they be indexed?
If a site has about 100 pages offering specific discounts for employees at various companies, for example... mysite.com/discounts/target mysite.com/discounts/kohls mysite.com/discounts/jcpenney and all these pages are nearly 100% duplicates, how would you handle them? My recommendation to my client was to use noindex, follow. These pages tend to receive backlinks from the actual companies receiving the discounts, so obviously they are valuable from a linking standpoint. But say the content is nearly identical between each page; should they be indexed? Is there any value for someone at Kohl's, for example, to be able to find this landing page in the search results? Here is a live example of what I am talking about: https://www.google.com/search?num=100&safe=active&rlz=1C1WPZB_enUS735US735&q=site%3Ahttps%3A%2F%2Fpoi8.petinsurance.com%2Fbenefits%2F&oq=site%3Ahttps%3A%2F%2Fpoi8.petinsurance.com%2Fbenefits%2F&gs_l=serp.3...7812.8453.0.8643.6.6.0.0.0.0.174.646.3j3.6.0....0...1c.1.64.serp..0.5.586...0j35i39k1j0i131k1j0i67k1j0i131i67k1j0i131i46k1j46i131k1j0i20k1j0i10i3k1.RyIhsU0Yz4E
Intermediate & Advanced SEO | | FPD_NYC0 -
Redirected Old Pages Still Indexed
Hello, we migrated a domain onto a new Wordpress site over a year ago. We redirected (with plugin: simple 301 redirects) all the old urls (.asp) to the corresponding new wordpress urls (non-.asp). The old pages are still indexed by Google, even though when you click on them you are redirected to the new page. Can someone tell me reasons they would still be indexed? Do you think it is hurting my rankings?
Intermediate & Advanced SEO | | phogan0 -
Google indexed wrong pages of my website.
When I google site:www.ayurjeewan.com, after 8 pages, google shows Slider and shop pages. Which I don't want to be indexed. How can I get rid of these pages?
Intermediate & Advanced SEO | | bondhoward0 -
SEO strategy for conversion-optimised home page
I'm working on a very conventional-type site with a home page (why come to us), methods we use, pricing, reviews, FAQs and contact us. After reading the Moz case study at (http://www.conversion-rate-experts.com/seomoz-case-study/), I have been working on a conversion-optimised home page that consolidates much of content in all these pages. At the bottom of the home page, I then plan to add a list of blog posts "Want to read more? We have a lot of useful information on our blog. Here are the most popular articles:" with articles that explain more about the methods we use for example (content that was formerly on our methods page). Obviously this new blog will also have more interesting information (but a lot that could actually be converted into pages) This radically changes the site into just a home page full of selling points and calls-to-action and a blog. I have some questions about this strategy: How do we keep our search engine ranking for keywords such as "[our service] prices" or "[a particular method] London". We rank quite well on Google for these and it goes straight to the relevant page. Shall we keep the pages active somewhere even though the information is also on the home page? Is a blog actually necessary here (SEO wise)? The things I'm planning to write could easily be made into more pages. Am I going about this completely wrong by trying using the CRO guide? Should this sort of page be reserved for landing pages? The reason why I'm considering making a conversion-generating home page is because we only sell one service pretty much (although there are differences in how we do it on children vs. adults) and because we are quite niche so most of our traffic comes from organic sources. Thank you
Intermediate & Advanced SEO | | LondonAli0 -
Google is indexing the wrong page
Hello, I have a site I am optimizing and I cant seem to get a particular listing onto the first page due to the fact google is indexing the wrong page. I have the following scenario. I have a client with multiple locations. To target the locations I set them up with URLs like this /<cityname>-wedding-planner.</cityname> The home page / is optimized for their port saint lucie location. the page /palm-city-wedding-planner is optimized for the palm city location. the page /stuart-wedding-planner is optimized for the stuart location. Google picks up the first two and indexes them properly, BUT the stuart location page doesnt get picked up at all, instead google lists / which is not optimized at all for stuart. How do I "let google know" to index the stuart landing page for the "stuart wedding planner" term? MOZ also shows the / page as being indexed for the stuart wedding planner term as well but I assume this is just a result of what its finding when it performs its searches.
Intermediate & Advanced SEO | | mediagiant0 -
Drop in indexed pages!
Hi everybody! I've been working on http://thewilddeckcompany.co.uk/ for a little while now. Until recently, everything was great - good rankings for the key terms of 'bird hides' and 'pond dipping platforms'. However, rankings have tanked over the past few days. I can't point my finger at it yet, but a site:thewilddeckcompany.co.uk search shows only three pages have been indexed. There's only 10 on the site, and it was fine beforehand. Any advice would be much appreciated,
Intermediate & Advanced SEO | | Blink-SEO0 -
Non-home page ranking higher, very odd
One of my new clients has an eCommerce site selling chair mats, that ranks first page for their primary keyword ("chair mats"), but the serp is not showing their home page... It is an odd "resources" page that mostly just has outbound links. I've never seen this. Also, there are no external inbound links to this particular page. How can this be ranking higher than the home page... weeeeird. Update: I haven't done any optimization yet... and yes, I know the site is outdated 🙂 My location is set to San Diego. If I change it (New York City), the Resources2.htm page goes away from the page 1 ranking, and I get a page 2 home page ranking. This is so strange 😕
Intermediate & Advanced SEO | | Joes_Ideas0 -
404 Redirecting to the home page
One of my clients that is managing their own server and website recently moved servers. Which then broke their custom 404 page. Instead of fixing this or putting the site back to the old server they redirected the 404 to the home page. I've been working on getting their 404's appropriately redirected, or old urls redirection using a 301 for a month or two. I read the HTTP Status Codes best practices. It just discusses usability. What technical seo back lash can happen?
Intermediate & Advanced SEO | | triveraseo0