Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 17th, 2012, 05:11 PM
mikepike mikepike is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 5 mikepike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 28 sec
Reputation Power: 0
Newbie help SEO says 2 home pages

Hi all I Created my own website and I'm not an expert on site design or programming, I uploaded my site with Dreamweaver
a SEO scan of my site says I have 2 identical content pages

www dot 123 dot com

and

www dot 123 dot com/index.html

I have only uploaded www dot 123 dot com/index.html as my home page

If I delete the home page /index.html from the main directory on the server my page cannot be found live in a browser.
Any help would be appreciated

Reply With Quote
  #2  
Old June 17th, 2012, 07:24 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,898 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 19 h 1 m 37 sec
Reputation Power: 1798
You always need an "index" page as you've seen. Web servers mostly look for index.html, index.htm, defualt.htm, index.php, index.asp or they will look through a list to find the first matching file name.

You would be showing two home pages because your home page links on your site are pointing to 'http://site.com/index.html' and not 'http://site.com' as they really should be.

Overall this isn't a huge deal. it's not perfect but it's not to bad. Google and most other SE's realise that index.html and other files like that are meant to be index pages, so don't penalise you much if at all. If you are worried about it, change all of the links to only have the domain name in them without the index.html part after it.

Reply With Quote
  #3  
Old June 19th, 2012, 05:18 PM
mikepike mikepike is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 5 mikepike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 28 sec
Reputation Power: 0
Hi Catacaustic
Thanks for the tip, I have changed the links but still getting SEO warning
The breadcrumb home may be the problem but i dont think that can be changed
[code]
<div id="breadcrumb"><script language="JavaScript">breadCrumbs("wwwdotmysitedotcom",">","index.html","style3","style3","style3","0");</script></div>

[code]

Reply With Quote
  #4  
Old June 19th, 2012, 05:31 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,898 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 19 h 1 m 37 sec
Reputation Power: 1798
I can't be 100% sure of how that bit of JavaScript works because I can't see the breadCrumbs() function, but I'd think that instead of "index.html" you should probably be able to use "/" or even just "" there.

Reply With Quote
  #5  
Old June 19th, 2012, 06:48 PM
mikepike mikepike is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 5 mikepike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 28 sec
Reputation Power: 0
[code]
<script language="Javascript" type="text/javascript">
function breadCrumbs(base,delStr,defp,cStyle,tStyle,dStyle,nl) { // by Paul Davis - url blocked
loc=window.location.toString();subs=loc.substr(loc.indexOf(base)+base.length+1).split("/");
document.write('<a href="'+getLoc(subs.length-1)+defp+'" class="'+cStyle+'">Home</a> '+'<span class="'+dStyle+'">'+delStr+'</span> ');
a=(loc.indexOf(defp)==-1)?1:2;for (i=0;i<(subs.length-a);i++) { subs[i]=makeCaps(unescape(subs[i]));
document.write('<a href="'+getLoc(subs.length-i-2)+defp+'" class="'+cStyle+'">'+subs[i]+'</a> '+'<span class="'+dStyle+'">'+delStr+'</span> ');}
if (nl==1) document.write("<br>");document.write('<span class="'+tStyle+'">'+document.title+'</span>');
}
function makeCaps(a) {
g=a.split(' ');for (l=0;l<g.length;l++) g[l]=g[l].toUpperCase().slice(0,1)+g[l].slice(1);
return g.join(" ");
}
function getLoc(c) {
var d="";if (c>0) for (k=0;k<c;k++) d=d+"../"; return d;
}
function MM_goToURL() { //v3.0
var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
</script>
[code]

I think this is the breadcrumb code

Reply With Quote
  #6  
Old June 19th, 2012, 08:10 PM
Catacaustic's Avatar
Catacaustic Catacaustic is offline
Code Monkey V. 0.9
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Mar 2005
Location: A Land Down Under
Posts: 1,898 Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level)Catacaustic User rank is General 12nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 2 Weeks 4 Days 19 h 1 m 37 sec
Reputation Power: 1798
Did you try my suggestion above? Did it work or not?
Code:
<div id="breadcrumb"><script language="JavaScript">breadCrumbs("wwwdotmysitedotcom",">","/","style3","style3","style3","0");</script></div>

Reply With Quote
  #7  
Old June 20th, 2012, 01:22 AM
mikepike mikepike is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 5 mikepike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 28 sec
Reputation Power: 0
I tried "/" and also "", but the breadcrumb wont list the index page of the sub folder.
eg.

Normally it lists Home>Sony>part

with your suggestion Home>part

Cheers

Reply With Quote
  #8  
Old June 25th, 2012, 04:32 PM
mikepike mikepike is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 5 mikepike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 56 m 28 sec
Reputation Power: 0
It was suggested a 301 redirect but I only have the one physical home page .index in the main directory. Not sure what to do now.

Reply With Quote
  #9  
Old June 28th, 2012, 06:37 AM
bob_tylor bob_tylor is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2012
Posts: 3 bob_tylor User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m 49 sec
Number of bans: 1
Reputation Power: 0
It is bad for on page you have to redirect it with the help of 301 otherwise search engine declare it in duplicate content both pages has a different url...So you have to take some action before doing some SEO works on it....

Reply With Quote
  #10  
Old September 13th, 2012, 01:40 AM
micheal.burns1 micheal.burns1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2012
Posts: 40 micheal.burns1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 h 47 m 10 sec
Reputation Power: 1
I think redirecting the URL will help you to solve this issue. Use 301 to redirect the URL permanently.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > Newbie help SEO says 2 home pages

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap