Can anyone please help with this...

User 113130 Photo


Ambassador
38 posts

Hi
I've just been changing a few things on my website [I don't know an awful lot about building websites but just
have fun learning and building my site for my cakes]
I just did a website check online and it came back with lots of problems and errors which I am going to work
my way through but this puzzled me - can anyone please tell me how I resolve it.
-----
This is what the report shows:
There is duplicate content on http://www.cakesunlimited.net and http://cakesunlimited.net. This is bad, as technically they are classed as two different websites. Search engines may lower a website's rank if they find the same content on two different URLs
-------
Does this mean I should delete one and if so which one - and using CoffeeCup Direct FTP how would I do it.

Thank you in advance
User 379556 Photo


Registered User
1,536 posts

I suspect that there is only one actual website, but that it can be accessed with or without the www -
http://computer.howstuffworks.com/inter … ion180.htm

Frank
User 379556 Photo


Registered User
1,536 posts

Checking each of the two addresses given on Whois (http://whois.domaintools.com/) shows that it is indeed only one site. I guess that search engines would be unlikely to regard it as two sites. If they do, I think it would be necessary to ask the hosting company about the matter.

Frank
User 113130 Photo


Ambassador
38 posts

Thank you Frank - so I should just leave it alone.
Just wonder if you could help me with something else.

On my home page www.cakesunlimited.net - underneath the images at the bottom there are little black lines
[underscores] What are they and how do I remove them please?
User 1948478 Photo


Senior Advisor
1,850 posts

The two different domain names, i.e. with and without the 'www', means that the site can be accessed via those two different addresses. There is no duplication of files so there is nothing to delete to avoid 'duplicate sites'. To resolve the *appearance* of having two different sites with identical content, you need to specify for Google which one you prefer for indexing purposes, as explained here:
https://support.google.com/webmasters/answer/44231
If you have not already done so, you should get your site verified under their 'Search Console'. This will give you access to the various Google webmasters tools. You'll find the starting point here:
https://www.google.com/webmasters/
User 113130 Photo


Ambassador
38 posts

Thank you Per - will go and check that out right now.

Can you help at all with the little black lines underneath the images/links at the bottom of my homepage?
User 1948478 Photo


Senior Advisor
1,850 posts

You need to specify a 'doctype' as the very first line in you page markup. The absence of a doctype means that some browsers will go into 'quirk mode', which could lead to some unpredictable results. With the HTML5 doctype, the first few lines of the markup would then be:

<!DOCTYPE html>
<html lang="en">
<head>
<title>Cakes Unlimited of North Yorkshire Cakes, Toppers &amp; Classes</title>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, width=device-width">

Since your page is now responsive, I also included the viewport meta tag.
The above lines would replace the following existing lines:

<html>
<head>
<title>Cakes Unlimited of North Yorkshire Cakes, Toppers &amp; Classes</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en">
User 1948478 Photo


Senior Advisor
1,850 posts

For consistency with the HTML5 doctype, you should also remove the self-closing tag endings:
All instances of <br /> should be replaced with <br> and your image tags should end with ...alt="alt text"> instead of ...alt="alt text" />

EDIT: You can do this very quickly with a global replace of " />" (space-slash-bracket) with ">" (just the bracket)
User 113130 Photo


Ambassador
38 posts

Thank you so much - I think I have done everything you mentioned above but I still have the little black dashes under the images
User 1948478 Photo


Senior Advisor
1,850 posts

The 'spacer-hyphens' under the images seem to be associated with the anchor tags, rather than the figures themselves. In those anchor tags (lines 64-71) you have the attribute: target="blank". This should be target="_blank" (underscore before the 'b')

Also, the html validator identifies a few errors: https://validator.w3.org/nu/?doc=http%3 … ted.net%2F
Examples:
One repeated error is: http:./rel-link This should always be just ./rel-link for relative links under your own domain (remove the http: reference, lines 69, 78, 79, 80, 82)
There is a missing closing anchor tag (</a>) at the end of each of lines 78, 79 and 80.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.