Support » Plugin: Yoast SEO » [Plugin: WordPress SEO by Yoast] Add NextGEN Gallery images to sitemap
[Plugin: WordPress SEO by Yoast] Add NextGEN Gallery images to sitemap
-
I’m working currently on a implementation to add images of NextGEN Gallery into XML sitemaps. The main work is done in my plugin, I just need a filter hook in xml-sitemap-class.php. Is this something you can consider for a next release ?
-
I for one would really appreciate this! I was just searching for ways to make my NextGen images more search engine friendly.
Here you find the current solution : http://code.google.com/p/nextgen-gallery/issues/detail?id=292
You just need to a one line in the WordPress SEO plugin
This is great, I added that line. Thanks! Will I need to re-add this line each time there’s an update to Yoast’s plugin?
Until Yoast didn’t add this filter into his plugin, yes
Hi, I added this link to my Yoast plugin, and it seems to work fine. Now I see tag links like this in my sitemap page:
http://www.joshpollak.com/ngg_tag/beijing/
When I click the above link, it takes me to one of my Pages, but with no content.
But when I click this one:
http://www.joshpollak.com/ngg_tag/lama-temple/
I see a 404 not found error.
Is there a way to make these links work so all images with the relevant tag appear at that URL?
Unfortunately, adding that line doesn’t seem to have resulted in any of my NextGen photos showing up in Google. Anything I load to WP’s Media Gallery shows up on Google the instant I use it in a post, but nothing from NextGen has ever shown up. This is a worry for me, as I’m a photographer and would like people to find my site (www.robinwyatt.org/photography) through my photos. I’ve carefully titled all of my images so that Google should like them… but for now it still can’t see them 🙁
Ahem do you really think this happens in 2-3 days ?
@robinwyatt: You can go to you sitemap and see it here:
http://www.robinwyatt.org/photography/sitemap.xml
At least with Chrome, this renders as a nice page listing all your pages.
Are your NGG images listed? I can’t tell.
For me I see my Galleries and Albums here:
http://www.joshpollak.com/sitemap.xml
But not individual images. Also, as I mentioned before the tag links don’t seem to work.
Alex, I would be willing to help debug or try out code modifications, if you point me to the right php file I can start exploring a bit.
Hi, sorry for the constant updates.
What I think would be really ideal is if there was a way to get the imagebrowser links for every photo in nggallery into the the sitemap.xml.
I guess this would require the imagebrowser links to always be active without a wordpress page linking to it, and I don’t know if that’s possible.
@alex: Sorry, I previously thought not, but then I saw Google catching my new posts instantly so thought that yes, it would happen in 2-3 days!
@pardsbane: Thanks for the link to my sitemap. No, the NGG ones are not there, except for an album called Maharashtra for which I added all the images manually in my XML Sitemap plugin. Strangely, these photos’ thumbs (only) appeared on Google yesterday morning, but had disappeared again by evening!
PS Apologies for my ignorance, but is Yoast’s sitemap generation getting sidelined by my XML Sitemap plugin (which I installed first)? Do I need to disable this?
One of the issues with NextGen is the filename isn’t search friendly. A good way to make them search is to include the domain name plus a title based filename (hairwegoprodableucts-angela-bassett.jpg) as well as the alt & title.
That would information would need to be included in the RSS feed as well as the image being embedded.
Wish I was a developer. Do you think you can do that sir?
Also… iF anyone hasn’t considered this…A great way to be indexed is to ping google, bing, yahoo, ask, and other search engines when you have new changes. So if there were a way to make this rss ping sites like those… that would help get the bots out on a more regular basis.
I tried the solution here (http://code.google.com/p/nextgen-gallery/issues/detail?id=292) but didn’t get any additional results.
My sitemap file has a bunch of entries that look like this:
http://royivankoe.com/ngg_tag/jack/
However I do not have a tag name ‘jack’. There are a number of entries like this with invalid tags. Any explanations?
Thanks.
Alex: I can definitly add a hook in the plugin, please email me on joost at my domain and we’ll figure out where you need a hook.
- The topic ‘[Plugin: WordPress SEO by Yoast] Add NextGEN Gallery images to sitemap’ is closed to new replies.