Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Duplicate index page?

Featured Replies

Hi,

 

I have been looking through Google Webmaster and its saying I have a duplicate meta description with index.php and just www.regalautobulbs.co.uk.

 

All my links point to www.regalautobulbs.co.uk and nothing really points to index.php so is this effecting my rankings? As its saying its duplicated?

 

Thanks

 

Chris

Redirect 301 from /index.php to main domain, the problem will be resolved.

  • Author

Redirect 301 from /index.php to main domain, the problem will be resolved.

 

Hi,

 

How would i do that?

 

At the moment my .htaccess file looks like this:

 

RewriteEngine On

 

RewriteCond %{HTTP_HOST} ^regalautobulbs.co.uk [NC]

RewriteRule ^(.*)$ http://www.regalautobulbs.co.uk/$1 [L,R=301]

 

Many thanks

 

Chris

Hi,

 

I have been looking through Google Webmaster and its saying I have a duplicate meta description with index.php and just www.regalautobulbs.co.uk.

 

All my links point to www.regalautobulbs.co.uk and nothing really points to index.php so is this effecting my rankings? As its saying its duplicated?

 

Thanks

 

Chris

 

Another option that can be use here is by using the canonical tag url. This allows you to publicly specify your preferred version of a URL This also helps to make sure that properties such as link popularity are consolidated to your preferred version. 301 i think only addresses different domains so it's not advisable to use it within same domain url. You can simply add this <link> tag to header of the dupe content and redirect it to the preferred page this is how you do this:' <link rel="canonical" href="http://wwww.yourtargeurl.com" />

  • Author

Another option that can be use here is by using the canonical tag url. This allows you to publicly specify your preferred version of a URL This also helps to make sure that properties such as link popularity are consolidated to your preferred version. 301 i think only addresses different domains so it's not advisable to use it within same domain url. You can simply add this <link> tag to header of the dupe content and redirect it to the preferred page this is how you do this:' <link rel="canonical" href="http://wwww.yourtargeurl.com" />

 

Hi,

 

<link rel="canonical" href="http://www.yourtargeurl.com" /> is only a suggestion isnt it? Will that help? As google thinks I have duplicate content.

 

Chris

Hi,

 

I have been looking through Google Webmaster and its saying I have a duplicate meta description with index.php and just www.regalautobulbs.co.uk.

 

All my links point to www.regalautobulbs.co.uk and nothing really points to index.php so is this effecting my rankings? As its saying its duplicated?

 

Thanks

 

Chris

 

do 301 redirect from www.regalautobulbs.co.uk to www.regalautobulbs.co.uk/index.php It ill preserve all its rank features to index.php

Also worth 301 redirecting domain.com to www.domain.com...a lot of search engines will treat those as separate domains if not which can dilute page rank.

  • Author

Hi,

 

So i have got this to redirect from domain.com to www.domain.com:

 

RewriteCond %{HTTP_HOST} ^regalautobulbs.co.uk [NC]

RewriteRule ^(.*)$ http://www.regalautobulbs.co.uk/$1 [L,R=301]

 

But how would i add so it redirects index.php to domain.com?

 

Thanks

 

Chris

 

But how would i add so it redirects index.php to domain.com?

 

 

Well you don't really, domain.com is strictly speaking a folder (the root webspace folder) and your webserver will be set up so that when it recieves a request for a folder it then looks through that folder for files with certain names (index.html, index.php, home.html, home.php etc etc) and if found, returns that file.

 

Webmaster tools is just showing you that for information purposes, it doesn't neccersarily mean that there is a problem. Google and all other search engines are aware that / and /index.php or whatever are usually the same thing and so don't penalise you. The warning is only there to help weed out pages that have had the sites default meta description applied to them - like many CMS's will do.

 

If you really wanted to you could perhaps find out what the priority for index files is in your apache config file (e.g. whether home.php is higher than index.php) because the web server when presented with / will return the first one it finds. Then you could put your actual index content in the one with the higher priority and then redirect index.php to your sites base url. Then you'd need to go through your site and make sure you only ever link to / not /home.php or /index.php That might work but there really isn't any point, it won't make any difference from an SEO point of view and is horribly messy!

 

Hope that helps.

As meta description is ignored in terms of SEO scoring by Google I would personally not worry about it, if thats the only duplication then its not going to matter at all.

As meta description is ignored in terms of SEO scoring by Google I would personally not worry about it, if thats the only duplication then its not going to matter at all.

It's irrelevant as far as rankings go but very important as far as CTR goes since Google will use it as the description text if a broad match of the term searched for appears in the description text somewhere.

  • Jo 90 locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.