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
-
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 -
Area pages
As area pages are seen as trying to game google (see link below) is their a 'better way' to target multipe areas (100 odd)? https://support.google.com/webmasters/answer/2721311?hl=en Cheers
On-Page Optimization | | webguru20140 -
Scripts question
My question is whether search engines will crawl the page before or after scripts run on the page. I have a H1 that will be replaced with a canvas by jquery script. Will search engines see the H1 or the canvas?
On-Page Optimization | | lojdqvist0 -
Website title question
Say you have a website url of a rather competitive keyword phrase, would it be beneficial for me to go ahead and name my site title the same as the url? And also should my site title go through every page, or should i consider having slight variations throughout the pages? for example: page title | site title or page title| slight varation of title on sub page? **edit - to further expand on the question a bit also, if my google places has the company name on _there - would it be effective to go ahead and use the company name in my site title? _ _Also if i have the main keyword in the breadcrumb as the home, does that effect my SEO credibility if it shows up on all the pages? _
On-Page Optimization | | tgr0ss0 -
What is the recommended practice for badges and seals on the home page.
What is the recommended practice for badges and seals on the home page. They are currently at the bottom of my nav. menu and thus appear on every page. i have them nofollowed but does that still consume page rank. Is it best to get them on to the footer lower on the page or to perhaps not to have them on the home page and place them deeper on the site.
On-Page Optimization | | mrkingsley0 -
Keyword placement on home page or throughout the website
OK, I find the courage to ask this because there is not supposed to be a dumb question. Like all of us, I want my website to rank great with a particular keyword. Do I have to use this keyword only on my home page (the start page which I want to appear on top Google results), or does it make a difference if I use the keyword on several articles that I post on my website. These articles all have seperate links. Eg i want the www.website.com to be found by Google, but this website contains www.website.com/link1.html, www.website.com/link2.html.. etc. Will keyword usage on link1.html, link2.html etc be relevant so that www.website.com is found by Google? Or is every single page for itself? Hope I have explained that well and I would really appreciate your feedback.
On-Page Optimization | | polyniki0 -
Redirect and page ranking
We used to have a good page rank of Google, but now our page rank dropped to zero. A few months ago we did a redirect from our www.???.com to non-www.???.com, because non-www.???.com is now our main website. We also have a number of other domains which we redirect to our main website non-www.???.com Do you think these redirects are causing the problem, and if so what can we do to fix it? Thanks!
On-Page Optimization | | poupette0 -
What are the benefits of targeting one keyword phrase per page vs. multiple keywords per page
What are the benefits of optimizing a page for one keyword phrase versus a group of similar keywords, like this one that Rand posted on another blog entry http://bit.ly/7LzTxY: Ted Baker Ted Baker London Ted Baker Clothing Ted Baker Mens Ted Baker Mens Clothing Ted Baker Mens Collection
On-Page Optimization | | EricVallee340