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
-
Should my home page be ranking for services provided?
Hello, Should I be tracking and trying to rank my home page for the services we provide? For example, I have separate pages for services that I will be ranking for, but should I also be adding those same service keywords to my tracking list for homepage? Or just merely mention that we have those services on the homepage and leave the attempted ranking of those for their service page? I hope that is clear... Thanks in advance
On-Page Optimization | | Gavinn1 -
.htaccess Question and Ranking
I have some basic rules set up in my .htaccess file and just curious as to the implications of them as I seem to have a website ranking very low on Search indexes for no particular reason that I can fathom. My question is a follows I have a htaccess rules set up in my application application that first strips the file suffix and then adds a closing brace for example Rule 1: http://www.domain.com/my_page.php becomes http://www.domain.com/my_page
On-Page Optimization | | ecrmeuro
Rule 2: http://www.domain.com/my_page becomes http://www.domain.com/my_page/ Will this rule expecially Rule 2 effect ranking or will these rule have no adverse affect on the website as my MOZ reports still seem to have pages listed win the Top Pages by PA section without the www? Below is an example of the htacess file. RewriteEngine On Redirect Trailing Slashes... RewriteRule ^(.*)/$ /$1 [L,R=301] RewriteCond %{REQUEST_URI} /+[^.]+$
RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L] Redirect non-WWW to WWW... RewriteCond %{HTTP_HOST} ^contractor-accounts.co.uk [NC]
RewriteRule ^(.*)$ http://www.contractor-accounts.co.uk/$1 [L,R=301] Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]0 -
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 -
How can I find these pages?
Hi there! the SEOMOZ software has shown some warnings related to two pages that I can't locate in my WP plattform http://www.tarifakitesurfcamp.com/contacto/estrella/ http://www.tarifakitesurfcamp.com/equipo/equis Any ideas? Many Thanks
On-Page Optimization | | juanmiguelcr0 -
Removing OLD pages
Dear all, I was removing tons of old pages from my directory (about 400 pages), I was setingup a 404 custom page, all is fine, so when I go to an existing page I get a 404 and redirected to my 404 page. The problem is Google Webmaster tools list all these pages as 404, and never clean my list (1 year til now), so I assume something is wrong. Question what is the best way or natural to remove old pages from one directory? Note: previously I tryed add on these pages the NOINDEX/NOFOLLOW meta tag and I got from google Soft-404. Thank you
On-Page Optimization | | SharewarePros0 -
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 -
If a site has https versions of every page, will the search engines view them as duplicate pages?
A client's site has HTTPS versions of every page for their site and it is possible to view both http and https versions of the page. Do the search engines view this as duplicate content?
On-Page Optimization | | harryholmes0070 -
Linking Back to the Same Page
What are the other seo's opinions on linking the same keyword you are targeting lets take an example like Trampolines. So we have a Online shop selling trampolines would you feel it a good or bad thing to link the keyword trampolines from the homepage to the homepage almost creating a loop. Some SEO's say yes some say no ?
On-Page Optimization | | onlinemediadirect0