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
-
Question on site structure
My client is a nationwide company. They provide building maintenance services in 7 different cities. In each city they provide a different range of services. They currently have a single service page for each service and no mention on that page of the cities they offer the service. The service pages are getting no SERP visibility. We are running Paid Search and recommending SEO. I'm wondering whether it would be beneficial to build out specific service pages for each city so the content is more relevant to both users and search engines. What is best practice in this situation? Client wants to dominate SERPs in each market for the services they offer.
On-Page Optimization | | SEOinSunnyNelson0 -
What Do You Put For Key Words On A Home Page?
Hello, I am a physical therapist and own the company Back In Motion Physical Therapy. We specialize in orthopedic, sport, and spine injuries in Fort Myers, FL. My question is for your home page do you put the keywords of the surrounding city and cities such as Fort Myers, Cape Coral, etc? Secondly, should I have a keyword of physical therapist and physical therapy as well? Lastly, do I need to use those words on my home page for it to become relevant from google? Check out my site here: www.backinmotionsspt.com
On-Page Optimization | | gray06201 -
Does having landing page text beneath the products at the base of the page hinder SEO?
I have a site that is capable of hosting the landing page description either above the products under the H1 or below them at the bottom of the page before the footer. I have always chosen to keep the text "above the fold" as presumably this would be crawled sooner in relation to the rest of the page content than had it been at the bottom. However, this means that I can only really write just a few sentences for each landing page - otherwise the products would shift further down the page - and I don't think this is good from a UX POV. Question: If I move the bulk of my landing page descriptions to the text snippet located underneath the products, could this negatively affect my SEO? Text at the bottom of the page is obviously not significant for users, so is there a chance this could be seen as spam?
On-Page Optimization | | Silkstream0 -
Contact pages coming up for keywords above landing pages
I have two examples of contact pages coming up over designated landing pages Keyword: Nickel Alloys for www.neonickel.com Keyword: Artificial Grass for www.artificialgrass4u.co.uk Is there anyway I can stop this happening?
On-Page Optimization | | icansee0 -
10 Mobile Pages. 5 Desktop Pages. Canonnical to where?
I have a mobile site with more pages than the desktop site. Normally I would just point the page equivalents to the desktop site using the rel canonnical tag. What about the 5 pages? Do I just leave them be? Thanks
On-Page Optimization | | Imajery0 -
I have a question about on page links or duplicate contant
Ok help me out here friends. I’m working with the warnings and errors for my site. I have two problems that relate to each other and I want to know if you had to choose what problem what would you choose. I’m running into some duplicate content and title errors because under categories for my products there are so many products that it creates more than one page and with each new page it has the same title or same content on the page. I tried to make this less in some cases by showing more products per page like 100 items and in most cases per category it will only show one page now. Now some times there’s still more than one page and also this creates too many links now on that category page. So I think I can get rid of all the to many on page links but it will make more pages and duplicate content and title tag. What would you guys do?
On-Page Optimization | | Dataken0 -
Too many on-page links
Hi, My website - www.thepartyhouse.com.au is showing as having too many on-page links for over 4,000 pages. Take for example the homepage which is showing as 188 links, but I don't understand this because I've used SEO tools to display the links and I am showing around 90 links on this page. How can I see what all the links are? Thanks
On-Page Optimization | | Spyre0 -
Should I use a Page Name variable after the ? for a dynamic web page
I'm converting for static to dynamic web pages. It appears that the page name is used for page ranking in the search engines. Will adding a Page Name variable help to increase our SEO. For example aspecialgift.com/subcat.php?PageName=GiftPage&ProductID=ABCDE. Does the page name variable make a difference?
On-Page Optimization | | NCBob0