Sitemap to be successful copied from SEO yoast in wordpress and inputted into google webmaster tools. Google seems to have indexed every element of the website i.e. unpublished pages, categories. I just need google to index the pages and images not everything else. At the moment it is indexing everything.
You can check by typing: sitemap:[url removed, login to view] into google to see what URLs are showing up. Any unclean URLs need to also be added to ‘remove URLs’ in webmaster tools.
When I go to submit the sitemap it is coming up with an error.
Need some technical knowledge to resolve this, and carry out these two tasks.