T
T
test-cats2019-07-24 11:17:42
Validation
test-cats, 2019-07-24 11:17:42

How to fix an error in the validation of a site on wordpress?

The validator throws an error. Tell me what it is and how it can be fixed. Site on wordpress.
A link element must not appear as a descendant of a body element unless the link element has an itemprop attribute or has a rel attribute whose value contains dns-prefetch, modulepreload, pingback, preconnect, prefetch, preload, prerender, or stylesheet.

From line 46, column 1; to line 46, column 47
json/' />↩<link rel='shortlink' href='//test.ru/' /><link

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2019-07-24
@HeadOnFire

The link tag can only be used inside the document head , and you have it in the document body .
And this is an HTML validation error, this has nothing to do with WordPress, remove unnecessary tags.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question