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
-
Will Google Custom Search results on my home page kill it's ranking?
This is probably a dumb question, but here goes anyway. 🙂 On a site I have it would be very useful to the reader to offer a search box that uses a Google Custom Search that I have optimized to search websites that are closely on-topic with my site. I know it sounds bad that I would send people to other sites, but just assume that the reasons are valid for this discussion. My question is, if the search results are set to display on the same page (the home page) as the search box, will the links in the search results to external sites just bleed my page rank to death? I assume it would, but thought I'd check just in case I'm missing something. I have to option to place the results on separate page of my site, and noindex it, but it won't be as powerful as it would be on the home page.
On-Page Optimization | | bizzer0 -
Deleted pages still registering as 404 pages.
I have a an all html site that I can only work on through the ftp. The previous marketing company ran a script that built thousands of location landing pages, but all they did was change the tags and headers and the keywords in the pages, other than that they are all duplicate pages. I removed them, but Google is reading them as 404 pages. How do I tell Google those pages don't exist? or do I just need to let the bots crawl it a few times and it will see that eventually?
On-Page Optimization | | SwanJob0 -
Why isn't our site being shown on the first page of Google for a query using the exact domain, when its pages are indeed indexed by Google
When I type our domain.com as a query into Google, I only see one of our pages on the homepage, and it's in 4th position. It seems though, that all pages of the site are indexed by google when I type in the query "site:domain.com". There was an issue at the site launch, where the robots.txt file was left active for around two weeks. Would this have been responsible for the fact that another domain ranks #1 when we type in our own domain? It has been around a couple of months now since the site was launched. Thanks in advance.
On-Page Optimization | | featherseo0 -
What are all those meta name= and link rel= on the cnn home page source?
I usually use Description, title and keywords tag. I keep seeing these meta name = "classification" or "distribution" and also link rel =stylesheet" and "pingback" etc. Please tell me how important this is for SEO. It would be great to be pointed to the right page. Also, is there a wordpress pluggin to just fill in and have these be populated on the front end? Thank You
On-Page Optimization | | waspmobile0 -
Page Analyzer & Page 1
I follow the recommended things from the Page Analyzer or Grader, and I am like position #40, so how do I get to page #1 as a minimum.
On-Page Optimization | | sansonj0 -
Duplicate page content,
Hi, in my campaign crawls diagnostic, I have a lot of Duplicate page content, but we use canonicalization and I used webmastertool to make sure the campaign parameters are not consider by the Google bot. Can you see what could be my problem, or do you have a tip for me or things to look at ? Thank You VB
On-Page Optimization | | Vale70 -
Multiple locations
We have 3 offices, at the moment we have the address of each office in the footer using the schema.org format. We are also creating individual pages for each location, the address on these pages will also be in the schema.org format. Is having locations in both the footer and on individual location pages the best way to go?
On-Page Optimization | | cottamg0 -
SEO Value of Within-Page Links vs. Separate Pages
Title says it all. Assuming that you're talking about similar content (let's say, widgets), which is better: using within-page links for variations or using separate pages? I.e., do we have a widget page and then do in-page links to describe green, blue, and red widgets, or separate pages for each type of widget? In-page pro: more content on a single page, thus more keywords, key phrases, and general appearance of real content. In-page con: Jakob Neilsen says they're confusing. Also, for SEO, you only get one page title, rather than a separate page title for each. My personal bias is for in-page, since I hate creating dozens of short pages for what could be on one page, but my suspicion is that separate pages are better for SEO.
On-Page Optimization | | maxkennerly0