How to create sitemap for example.com and blog.example.com ?
-
Hi
I try to create sitemap for www.example.com, this website has link www.blog.example.com. after creating the sitemap using different tool. the sitemap not include www.blog.example.com and its relative files how can i get both example.com and blog.example.com in one sitemap
-
Hi fogtheagency
www.example.com and blog.example.com are two separate domains and you shouldn't have a common sitemap for two different sites.
The best way of setting up your blog is to have the whole installation in a directory of your main site.
If it is Wordpress it's very easy to FTP save the files&directories, export WP files & Database and re-upload to www.example.com/blog
This is a much better way of keeping all of the link juice on the one domain and your blog as a sub-directory of the main website will be automatically included in the same sitemap as your main website.
Regards
Nigel