WordPress Media SiteMap

WP-Media-SiteMap is an other WordPress plugin to create a site map. But this one is going to generate a site map only with your media files : images, video and flash animation.

What is a site map ?

According to Wikipedia :

A site map (or sitemap) is a list of pages of a web site accessible to crawlers or users. It can be either a document in any form used as a planning tool for web design, or a web page that lists the pages on a web site, typically organized in hierarchical fashion. This helps visitors and search engine bots find pages on the site.

Why an other plugin ?

In Avril 2010, Google talked about adding information about your images in a sitemap.
I use the excellent plugin Google XML Sitemap to generate my page and post sitemap. But this plugin hasn’t yet integrate this option. And for me it is not a nice feature to have. It is an absolute necessity. For people who have a lot of media in their website, it is hard to have a really good Search Engine Optimization (SEO).
So if Google give us this option, WordPress must have some kind of plugins to integrate it.
I wait more than one month. Nothing came up. So I start to wonder if I couldn’t create this plugin. And here it is !

How it is working ?

Every time you are going to add or edit a post or a page, the sitemap is going to be regenerate. Several files are going to be create : one index file that you can put in the Google Webmaster Tools or in a link on your website, and several files for images, flash, or video.

Key functionnality

The plugin is fast, very easy to use, and with few option. I like to keep thing simple. I don’t know you, but I don’t really understand all the options of the Google XML Sitemap or the WP Super Cache plugin. So here, no option : just add the plugin, create the directory and let’s go !

  • Fast
  • Light
  • sitemap files group in a directory
  • Easy to install
  • No options
  • Status Page
  • Handle image insert in a deleted page/post
  • Support I8nl ( internationalization and localization )

ScreenShot

Status Page

wp-media-sitemap v1 status page

wp-media-sitemap v1 status page

Image Sitemap Content

wp-media-sitemap v1 image sitemap

wp-media-sitemap v1 image sitemap

Wants more ?

Mots-clés: google xml sitemaps plugin wp, wordpress image sitemap, image sitemap in wordpress, media sitemap wordpress, wordpress sitemap images plugin

49 Responses to WordPress Media SiteMap

  1. Christopher West says:

    hi there

    this is the plugin i have been looking for :) can you tell me what the progress is

  2. Thomas says:

    Well a version of the plugin is out here :
    http://wordpress.org/extend/plugins/wp-media-sitemap/

    but I encounter some bugs. So please try it and give me a feedback !

  3. Christopher West says:

    Thanks Thomas. Great Plugin…. Only error I found is I cant see the sitemaps on the site. the link says not found, but they are present in the Folder

  4. Thomas says:

    Thanks for your help !

    I will correct this bug tonight, and update the plugin itself and the page on the WordPress website.

    If you have any comment or request, please let me know !

  5. Christopher West says:

    Will do Thomas- still running through the plugin – so not sure if its the plugin or our setup that’s the issue.

    feel free to email me ;)

  6. Christopher West says:

    it seems that it was my access permissions…
    had to go 767 instead of 766….

  7. Thanks for this plugin Thomas. I just heard about google sitemap including video and images, and wanted a plugin that would fill this need. However, I have a question.
    In regards to video, will it only pick-up videos that are self-hosted? So if the video is hosted on Youtube, it will have no affect on the sitemap?
    Any response regarding this would be much appreciated!

  8. Thomas says:

    Hello,

    well for the moment I have nly implement the image sitemap and I’m currently looking for video.
    But as you describe if the video isn’t host on your server and link with the functionnality of wordpress, it isn’t going to appear in the sitemap.
    The point of a sitemap is to add pagerank and visibility to your media, on your site.

    I hope I have been clear in my explanation !

  9. Hi Great plugin I think:-)

    I thought this plugin created a sitemap – so what does this mean ? right after I posted a post….Thanks Greg

    /home/successi/public_html/media-sitemap/is missing ! Please create it and put permission to 766

    An attemp to create a site media sitemap have been detected.
    But some errors occurs.
    If no indications are display, please visit the plugin website for more informations or to ask for help !

  10. Thomas says:

    @Gregory Burrus
    Have you follow the installation step ? http://thomas-genin.com/projects/wordpress-media-sitemap/installation

    The sitemap is updated each time you modify a post or a page. To work correctly the plugin need that you reate a directory.

  11. Jay says:

    Nice work Thomas!

    Do you think it would ever be able to have embedded files from other media hosters like YouTube / Viddler that are included on my posts to be included in a video / media sitemap?

    Also perhaps in the next version for it to automatically notify Webmaster Tools similar to other plugins.

    And do you think having all media on one sitemap is effective from a SEO point or would it be better to have separate sitemaps for Video & Images.

    Great work though.

  12. Thomas says:

    I will make the notification to google in the future.

    I have no clue if it is better to have one file or several files. I think it is better to have sitemaps in several piece or in one file than not having any sitemap !

  13. Pingback: All About Sitemaps | Web Traffic Siphon

  14. Pingback: Things I Found Interesting Around June 7th | Chris Coyier

  15. Pingback: Does Your Website Need A Sitemap? | Web Traffic Siphon

  16. Audiofeeline says:

    Hello!
    I’m using that plugin, it works well but as Christopher West, we need to use CHMOD767.
    I also had a problem with Google Webmasters Tools because of a “&” in a article title, I just edited it and it worked. I don’t know XML but I imagine that’s a encoding trouble… :)
    Thanks for that plugin!

  17. hi !
    thx for the plugin, it will be pretty usefull for my blog ! ^^
    I have problems as I put the CHMOD 777 but I still get the same error message requiring a 766 (I don’t know what is a 766)
    what should I do then ?

  18. it’s me again,
    I’ve been trying to download it at the root (that means / ) + renamed it media-sitemap as requested, (+ chmod 777)
    but then my blog is unable to read it, i can’t activate it as it is not in my plugins…

  19. Thomas says:

    @Tailleur d’Images
    No upload the plugin as usual, and activate it.
    Then you create an empty directory at the root of your website and you rename it as indicate. Then you give to him a CHMOD of 767, several people told me that it fixed the problem.

  20. hello Thomas, thx, I did as told (with the chmod 767), but I get this :

    An attemp to create a site media sitemap have been detected.
    But some errors occurs.
    If no indications are display, please visit the plugin website for more informations or to ask for help !

    shouldn’t I download the plugin inside the new directory ? (I tried but I still get the same message.)
    so what can I do ?

  21. VSEO says:

    Hi Thomas,
    I am also using Google XML Sitemap!
    Do this plugin run instead off Google XML Sitemap or along the side?

    Does this do both a sitemap and a media-sitemap?
    Or just the media-sitemap? <<<< The name indicates this!?

    Best regards

    Biz Doktor
    Peter

  22. Hello VSEO,
    you have to use it plus the traditionnal sitemap.

  23. hello Thomas,

    finally it seems that it succeeded to create this sitemap :
    I didn’t touched anything since the last attempt,
    and today I discovered the same message as shown in your screenshot (Nr 1) that gave me the file address for the google tools for webmasters.

    Everything looks ok ! thx for your plugin & help !

  24. Thomas says:

    @Tailleur d’Images
    Thanks for the answer and the feedback !
    I’m happy that the plugin is working now !

    @VSEO
    My plugin is only for media, so if a post doesn’t have any media in it, it link will not appear in the site map file. So it is better to use the Google XML site map at the same time :)

  25. Scot Manaher says:

    Inorder to get this addon working properly you have to chmod one directory. That directory is the one you should have created via the addons instructions called media-sitemap. If you permission keep setting back to not allow full control to e.g 755 then you need to call your webhosting company and have them change that one folders permisiions.

    My question though do you plan to support listing media if you have them hosted in other places?

    Plus do you have any quick references on how I would go about filling in some fields on the xml sitemap? What i mean is the way matt cutts explained is to particular importance to all the fields. Do I have to go back and manually edit all these? I’m thinking yes.

  26. Thomas says:

    @Scot Manaher
    Hello, thanks for your comment !

    About the external media, I’m against that. I don’t see the point. If the media are outside, the outside link is ranked, not really your link. So I don’t really see the point.

    About the field in the sitemap, which field are you talking about and have you a link to the talk of matt cutts, I’m very interesting to read/hear that.

    Actually I use the metadata of the image to generate the tags ( post_title for title and post_excerpt for the caption). So if you want to change some stuff in the sitemap, you need to edit the media metadata in wordpress.

    I hope I have answer to your question, let me know if you need more information.

  27. Ricky Parker says:

    I have been looking for something just like this! Thanks a TON Thomas.

    This plugin rocks and is working great. And the best part is you made it free.

    Thank you.

  28. Cry Sad says:

    Thank you for this !
    But Like the others I had to put the folder permission to 767 to make this plugin working, but on wordpress it still says to people to put chmod on 766…
    + we got to ^_^’ forget about “&” on image titles !

    Anyway now its ok thanks & Cya

  29. Scot Manaher says:

    Thomas what I meant was linking your videos from youtube you produced that are incorporated into your blog onto your video sitemap and video rss feed. Now I know a regular rss feed does this but was looking for a strict video rss feed with no content except short 160 character description that does this. But yes I can see were that could get hairy.

    I ended up going the self hosted route with my videos and going to setup a amazon s3 cloud account.

  30. Will this do a specific site-map for self hosted Mp3 files that are presented with an embeded flash player?

    Is there a way to force a generation of the sitemap without adding or altering content?

    I too vote for including sitemaps for videos that are hosted elsewhere. What would happen with the guy who’s video is http://s3.amazon.com/blablabla/myvideo.mp4 ???

    or my videos that are hosted at http://www.blip.tv/blah/myvideo.whatever ?? It shouldn’t matter in my opinion.

    Anyway – i look forward to see how this will work for us. Thanks for the work you put into it.

  31. Thomas says:

    Well the example with the amazon s3 system convince me to consider this problem.
    So stay tune for an update for this plugin.

  32. BlueStreak says:

    Hi Thomas,

    First – thanks a lot for contributing this to the community!

    Now, from what I understand when using both “Google XML Sitemaps” plugin and your plugin, 2 xml sitemaps are being created. One for pages and the other for images.
    My question is: are you sure that google will use both sitemaps correctly and wont just use one of them and ignore the other?
    I’m asking because on google’s example only one sitemap is used for mapping both the pages and the images. They say you should start with a normal xml sitemap and then add the images for the correct URL in which they exist.

  33. John says:

    Hi I am getting this error from the Video sitemap in webmaster tools but I am not getting the same error in the media or image files.

    Invalid date
    An invalid date was found. Please fix the date or formatting before resubmitting.

    see example below

    Parent tag: video
    Tag: publication_date
    Value: 2010-06-02 20:52:04
    Problem detected on: Aug 9, 2010

    any help would be great.

  34. Fabien says:

    Hi
    Thanks for the plugin.
    It works but … as I had 0 video on my website, the generation of the 2 sitemaps generates an error message.
    A minor bug I guess ;)

  35. Rob says:

    Hi

    @Bluestreak – Google does accept more than one sitemap. For example they accept geo sitemaps for location, image sitemaps and the regular one so video is no different.

  36. Fersy says:

    hi,
    i want activate your plugin but only become a error massage:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /www/htdocs/w00a7b2c/wp-content/plugins/wp-media-sitemap/sitemap.class.php on line 13

    please help!

  37. Markus says:

    Great Plugin!

    Video-Sitemap has two “bugs”:
    Google Webmaster Tools tell me that the date is not valid:
    Invalid date
    An invalid date was found. Please fix the date or formatting before resubmitting.


    Parent tag: video
    Tag: publication_date
    Value: 2010-08-28 10:40:23
    Problem detected on: Aug 29, 2010

    Also my Sitemap is not XML-Valid, because of one of my Videos has an ampercent (&) in Title:

    XML not valid on line x char x:
    video:title>Anke & Alexander

  38. Fersy says:

    i’am install your plugin end make the root directory media-sitemap with chmod on 767 but i have only the message “An attemp to create a site media sitemap have been detected.
    But some errors occurs.
    If no indications are display, please visit the plugin website for more informations or to ask for help !
    “any idea?

  39. qasim yad says:

    i have same problem as Markus has…
    Thomas dear you did a great job bro. but fix video sitemap issue.
    i was looking for this plugin and i have found but a little bug struck me in google webmaster tool. every thing work fine but video site map has error as markus said
    waiting for your response.

  40. Scot Manaher says:

    Sorry for the delay in the followup Thomas. Thanks alot for considering my suggestion. Really shows how dedicated you are to your users and thank you ‘The Handyguys’ for clarifying what I meant exactly.

  41. Pingback: Wordpress Media SiteMap | Thomas Genin

  42. Pingback: The 2 Difficult Steps to Success-As Hard As 1-2 | semiaklix

  43. Debra says:

    Errors! – Not working!

    Click here to manually generate the sitemap !
    ….. /media-sitemap/is missing ! Please create it and put permission to 766

    An attemp to create a site media sitemap have been detected.
    But some errors occurs.
    If no indications are display, please visit the plugin website for more informations or to ask for help !

  44. fashion says:

    awesome plugin.. but dude can you teel us how its work/help in Seo ranking on any image

  45. Runólfur G says:

    This plug-in isnt working. Nothing more complicated

  46. Flora says:

    Click here to manually generate the sitemap !
    /home/flora/public_html/media-sitemap/is missing ! Please create it and put permission to 766
    An attemp to create a site media sitemap have been detected.
    But some errors occurs.
    If no indications are display, please visit the plugin website for more informations or to ask for help !

    Any help?

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>