I have a number of question regarding the site I have, which is based on a template.
(a) Today I did a sitechecker on my site and it showed 71 pages without a H1. The pages have H2, but H1 would does not suit the design - nor was any H1 in the template, is there a solution to this as it is showing as needing resolving with status code 200.
The sitechecker is also showing 100 pages with Duplicate H1 - which are for the same pages it shows as being without a H1. Any insight would be welcome.
Should/could I add a blank <h1></h1> to resolve this issue?
(b) Also, the sitechecker showed a 404 for 9 images. The URL showed in the 404 list is not correct. The page and the related images are all in a sub-folder. The page works well when accessed in a browser either directly or through other pages.
Example of one of the Images actual URL
(https://www.mysite.com/QuoteImages/images/fulls/Life-Is-A-Game-art.jpg)
The URL shown in sitechecker
(https://www.mysite.com/images/fulls/Life-Is-A-Game-art.jpg)
The html for the image on the page: <a href="images/fulls/Life-Is-A-Game-art.jpg">
If I add the full actual URL in the <a ref> should/would this be the solution?
c) There are a lot of .ccs in the css folder and a lot of .js in the js folder of the template.
I have identified which .ccs and .js are mentioned in the header and footer. Is there a potential for the unmentioned .ccs and .js to be deleted? Or are some of the other .ccs and .js likely to be referenced within other .ccs and .js files.
Will the unused .ccs and .js files slow the site down if I just left them?
Youâll need to help us by providing a link to your site ( https://www.mysite.com/ ?) AND the location of the code that calls the images that cannot be found.
Donât choose an element based on appearance, always choose the most semantically appropriate element for the job.
If you donât like how it looks, thatâs what CSS is for, you can use it to make it look however you want.
What would that achieve? Is the issue that âsitecheckerâ shows problems, or is the issue that the site has problems?
It may make âsitecheckerâ tick more boxes, but if your real aim is to improve SEO and user experience itâs a waste of time adding empty headings just to please a checking tool.
Neither of the image URLs work for me. But if the definitely do work on the site they may be OK, but assuming the URLs you posted are correct, there may be something at play stopping external access such as hot-link protection.
Canât say, but there is a good chance it will break the site. You could always test in your developer environment.
If a page doesnât have an h1 then it canât have an h2 or indeed any other heading.
Headings are used in logical order of heirarchy and an h2 without there being an h1 is seen as nonsense. How can it be secondary when there is no first
CSS doesnât care what elements look like and you can style almost anything (apart from form controls) to suit the design as required.
The most important thing is to keep the semantics correct by using the correct tags to start with. Never use an element judged by its default appearance.
The html for the image on the page:
<a href=âimages/fulls/Life-Is-A-Game-Steven-Redhead-art.jpgâ>
If I add the full actual URL in the <a ref> should/would this be the solution?
Thank you PaulOB for your advice, I just used a template due to my ability and it didnât have any H1, I hadnât realise the true significance of this H1 and H2 etc until you outlined this above. Not sure how to manipulate the H1 in ccs though.
Thank you as always you your support PaulOB, and your advice regarding H1 text.
I tried to find a solution to the H1 issue on Google, there appears to be options. I was wondering if I make H1 size the same as H2 and change the first H2 into a H1?
My concern is I saw the carousel and slider text in the ccs that referenced H1, so wondered if changing the H1 size would also impact these too.