ChaosKnight Posted June 24, 2010 Share Posted June 24, 2010 Hi, I made a very simple sitemap generator that just reads data out of the database and in the view structures the xml file. When I submitted it, it gave me a whole lot of errors and all of them where for invalid URL... I tried those exact ones out, and found that they worked... my URLs are structured like this: www.example.com/index.php/countries/, etc. Why will google say that it isn't valid? is it because it doesn't have an extension? Please help Thanks Quote Link to comment https://forums.phpfreaks.com/topic/205799-codeigniter-sitemap/ Share on other sites More sharing options...
sKunKbad Posted July 3, 2010 Share Posted July 3, 2010 Hi, I made a very simple sitemap generator that just reads data out of the database and in the view structures the xml file. When I submitted it, it gave me a whole lot of errors and all of them where for invalid URL... I tried those exact ones out, and found that they worked... my URLs are structured like this: www.example.com/index.php/countries/, etc. Why will google say that it isn't valid? is it because it doesn't have an extension? Please help Thanks please post your output Quote Link to comment https://forums.phpfreaks.com/topic/205799-codeigniter-sitemap/#findComment-1080553 Share on other sites More sharing options...
thehippy Posted July 4, 2010 Share Posted July 4, 2010 Google follows the Sitemap protocol available here, be sure to verify that you're adhering to the specifications. Quote Link to comment https://forums.phpfreaks.com/topic/205799-codeigniter-sitemap/#findComment-1080979 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.