Doc type declaration is duplicating

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
EdelweissD
New Member
New Member
Posts: 9
Joined: Sat Jun 04, 2016 9:59 pm

Doc type declaration is duplicating

Post by EdelweissD »

Hi there,

I have a website I've created for a client (CMSMS 2.1.3, running php 5.6.25, apache server, mysql database) which looks good and fine. However, when I look at the source, the Doctype part is duplicated. I fear that this is sabotaging the google search as even when I put in the business name, it doesn't appear.

I tried experimenting and taking it out, putting in something different into the template, all the same thing happens. I would rather not install a new version of CMSMS again to get rid of this bug (if it is that?) as it will take too long.

Any ideas?

The website is: http://www.a1premiumgroup.com.au

Incidentally, I cloned it from my other client's website which I have discovered has the same problem.

Thanks
EdelweissD
New Member
New Member
Posts: 9
Joined: Sat Jun 04, 2016 9:59 pm

Re: Doc type declaration is duplicating

Post by EdelweissD »

Posting my own answer - I had my '/' forward slashes in the wrong place on the head and body end ! It's always the little things... If anyone has any SEO suggestions, please let me know.
User avatar
paulbaker
Dev Team Member
Dev Team Member
Posts: 1465
Joined: Sat Apr 18, 2009 10:09 pm
Location: Maidenhead, UK
Contact:

Re: Doc type declaration is duplicating

Post by paulbaker »

My suggestion would be adding keywords to your TITLEs:

Code: Select all

<title>A1 Premium Group</title>
To copy System Information to the forum:
https://docs.cmsmadesimple.org/troubles ... nformation

CMS Made Simple Geekmoots attended:
Nottingham, UK 2012 | Ghent, Belgium 2015 | Leicester, UK 2016
EdelweissD
New Member
New Member
Posts: 9
Joined: Sat Jun 04, 2016 9:59 pm

Re: Doc type declaration is duplicating

Post by EdelweissD »

Yes, good idea. I'm using a SEO tool to analyse the site. Thanks for that.
Post Reply

Return to “Layout and Design (CSS & HTML)”