Does the order of tags in the <head> influence SEO ranking? #61033
Unanswered
Cantinaband
asked this question in
Help
Replies: 1 comment
-
Facing the same issue here, in some cases we seen in Google Search Console that google isn't even bothering adding the canonical tag even if it's there. This could be an issue where the meta tags is generated to far down for Google |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We recently rebuild our website using next.js (currently version 14.0.4) and are encountering some SEO issues with the new site. It seems that Google crawlers are having difficulty detecting all the information in the section of our pages.
One noticeable change with next.js is the order of elements in the section. In the old app, meta-tags, structured data script-tags, and canonical were positioned at the top of the head. However, in next.js, this order is different. Some font-links, stylesheet-links, and script-tags are interspersed within the meta-tags.
The meta tags are generated using the generateMetadata function in layout.tsx | page.tsx.
We've heard that the order is crucial, and it's better for the crawler to read the meta tags first before anything else. Can anyone provide more insight into whether the order makes a difference? If so, how can we adjust the order in the head? It seems like next.js mixed up the order.
Additional information
Key information:
Example
codesandbox
The screenshot show the current order of our page
Beta Was this translation helpful? Give feedback.
All reactions