Support > cpg1.5 plugins
Sitemap Generator for cpg1.5.x
Pyragony:
Hello
I hope I find help here.
The image search machine from Yandex requires the following entry in the sitmaps.
--- Quote ---<Description> meta tags are missing
The <description> meta tag is either missing or incorrectly filled out on a number of pages. This could negatively affect how your site is presented in search results.
--- End quote ---
Where do I put the description best and what does the code look like?
Note:
--- Code: ---<Description> blablablabla </description>
--- End code ---
I ask for help :'(
ron4mac:
In your theme template.html file. Place it somewhere between <head> and </head>.
Pyragony:
Thanks, I embedded it once. But in the created sitmaps it is not, as here in the example:
--- Code: ---<url>
<loc>http://www.example.com/dogs</loc>
<description>Kommentar.</description>
<changefreq>hourly</changefreq>
<priority>1.00</priority>
<image:image>
<image:loc>http://www.example.com/image.jpg</image:loc>
</image:image>
</url>
<url>
<loc>http://www.example.com/cats</loc>
<description>Kommentar.</description>
<changefreq>hourly</changefreq>
<priority>1.00</priority>
<image:image>
<image:loc>http://www.example.com/image.jpg</image:loc>
</image:image>
</url>
--- End code ---
I'll wait and see what Yandex says, but that can take up to 2 weeks.
Αndré:
Please undo the change in template.hmtl. Instead, open plugins/sitemap_generator/generate.php, search for
--- Code: ---<loc>
--- End code ---
and add something like
--- Code: ---$sitemap .= '<Description> blablablabla </description>\n';
--- End code ---
below it.
Pyragony:
@ Andre,
<loc> not found
Navigation
[0] Message Index
[#] Next page
Go to full version