Question about multiple versions of home page
-
Hi guys,
I'm having a question, answer to which i'm unable to find anywhere. I browesed the whole internet lol. So the question is about multipple versions of the home page. In particular, i want to know how should i deal with home page URLs with this extention: /index.html
All the rest possible versions of home page i know how to deal with but this one "/index.html" i don't. I did add a cononical tag to it but i'm wondering whether or not i should add 301 redirect to chosen version og the home page (let's say it is www.mydomain.com). Please advise the best practices on how to deal with this.
Thanks in advance!
-
Hi guys, I appreciate your responses! ThompsonPaul, can you show me an example of correct code of how to make such a redirect? Thank you!
-
With some Content Management Systems, the extension /index.php gets added at the CMS level and can cause problems when you try not to use it. I would at least test the redirect (during a low-traffic time of day) to see if it goes fine - if not, you may need to consult your CMS provider.
-
This kind of redirect is essential, very common, and will not cause the website to go down if implemented correctly, Marina. Because this redirect involves adding code to the htaccess file, an incorrect configuration could cause sitewide problems, but that would be because of an error in the added code.
Paul
-
Hi Patric,
Thanks for answer! So it is just regular 301 redirect? I'm asking because once i redirected /index.php to preferred home page version (www.mydomain.com) of another site and that site went down. I'm not sure if i did it wrong (i don't think so coz it is a simple thing) but i affraid it will happen here as well. Do you have any input here?
Thanks
-
Hi there
I would 301 redirect any homepage extensions to the www.domain.com with no extensions homepage.
I would also check your backlinks, sitemap, and internal links to make sure that none of those are linking to extension pages. Do a quick crawl of your site too and see if any URLs also have any extra extensions and redirect those as well.
Hope this helps! Good luck!
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
-
More Singular KW Targeted Landing Pages vs. Less Multiple KW Targeted Landing Pages
So my question is... I have a adopted a site which currently ranks quite well for some industry competitive keywords with a number of poor quality landing pages which specifically target a singular keyword. I am wondering if its worth merging some of these pages together into one authoritative, better quality landing page targeting multiple keywords (as the intent for some of these keywords are largely the same). What i don't want to do is jeopardise the existing rankings in doing so. The alternative option would just be to improve the content on the existing landing pages without merging. What are peoples thoughts on this? Are there any positive case studies out there where merging has had a positive effect? Any help would be great. Regards,
On-Page Optimization | | NickG-1231 -
H1 question
is it recommended to have the page title labeled as H1? or better to have page title and separate H1 ? thank you
On-Page Optimization | | gergi0 -
How do I create multiple page URLs that are optimized for location and keywords that may be overlapping or the same?
Hi guys, I am attempting to create unique URLs for several different pages on a website. Let's say hypothetically that this is a website for a chain of Ice Cream Shops in Missouri. Let's say they have 15 locations in Springfield, Missouri. I would ideally like to optimize our Ice Cream Shop's in Springfield, Missouri with the main keyword (ice cream) but also the geo-specific location (Springfield), but we obviously can't have duplicate URLs for these 15 locations. We also have several secondary keywords, think things like: frozen yogurt or waffle cone that we can also use, although it would most likely be more powerful if we use the primary keyword. Any suggestions for how to go about doing this most effectively? Thanks!
On-Page Optimization | | GreenStone0 -
Avoid Multiple Page Title Elements...
Hi guys i'm just going trough some pages with the seomoz one page optimization tool. As one of the "easy fix" suggestions it says: "Avoid Multiple Page Title Elements" "Explanation: Web pages are meant to have a single title, and for both accessibility and search engine optimization reasons, we strongly recommend following this practice.Recommendation: Remove all but a single page title element." By single element does it mean 1 single word? Is that realistic?
On-Page Optimization | | Immanuel0 -
Tilde + On-page Optimization
I'm analyzing my Hispanic site www.escolares.net, and I noticed that on-page optimization rank with an F pages using a tilde in target keywords. Does anybody know if SeoMoz software can completely understand in their analysis special characters as tildes? Cristian Majluf
On-Page Optimization | | motorpod1 -
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page?
I am optimizing my webpages according to suggestions from the On Page Report Card. Should I have more than one keyword for a page or should I make separate pages for each keyword even when they are similar? Will Google penalize me for making similar pages? Imagine selling, bargain milk chocolate peanut clusters. Keywords examples could be: Bargain chocolate Bargain milk chocolate Bargain milk chocolate peanut clusters Bargain chocolate peanut clusters Chocolate peanut cluster bargains Milk chocolate peanut cluster bargains Etc. Will one page called http://mycompany/bargainmilkchocolatepeanutclusters.com be OK or should I have one called http://mycompany/bargainmilkchocolate.com and one called http://mycompany/bargainmilkchocolatepeanutclusters.com and one called http://mycompany/chocolatepeanutclusterbargains.com , etc.? Thanks for your advice.
On-Page Optimization | | KSHAYY0 -
Too many 301 redirects to home page - is this possible?
If a site has a bunch of 404’s that are basically old URL’s that no longer work and point to pages or documents that don’t exist anymore - Can someone clarify if it’s a problem when fixing a bunch of these 404’s to point them all to the home page? so if there is not really anywhere else that is applicable for the old broken URL, is it really a problem to 301 old pages to the site home page? I have read some different things on this recently on some different sites, so I just wondered what the latest thinking on this was….thanks...
On-Page Optimization | | inhouseninja0 -
One domain with keyword optimized pages or multiple domains
Hi There. I have a client in the real estate law services business. Which is better for long term search traffic? 1. A single domain ie. smith and smith law.com with pages focussing on each neighbourhood they operate in ie. .com/real estate law manhattan.php, .com/real estate law brooklyn.php etc or 2. multiple domains each focusing on one neighbourhood the business operates in ie: real estate law manhattan.com, real estate law brooklyn.com etc Thanks for the help, Josh
On-Page Optimization | | dreadmichael0