|
All times are UTC |
|
|
Page 2 of 3 |
[ 26 posts ] | Go to page Previous 1, 2, 3 Next |
| Print view | Previous topic | Next topic |
| Author | Message |
|---|---|
|
Site Admin Joined: Wed Dec 12, 2007 9:34 pm Posts: 296 |
nzbullet wrote: Hi there, can anyone help with this. Everything seems to work fine until I go to http://www.linka.co.nz/sitemap-1.xml, http://www.linka.co.nz/sitemap-0.xml or http://www.linka.co.nz/sitemap-pages.xml. When I put one of those urls in my address bar this is the result that is returned: Code: XML Parsing Error: no element found Location: http://www.linka.co.nz/sitemap-1.xml Line Number 1, Column 1: ^ Can any one tell me why I am getting this error and mroe importantly how to fix it. Cheers Hi nzbullet. What Version Of Pligg Are You Running? What Version oF XML Sitemaps, is it the one above? What is your URL Method set to 1 0r 2? cheers |
| Sun Feb 10, 2008 9:31 pm |
|
|
Joined: Sun Feb 10, 2008 6:24 am Posts: 6 |
I am using Pligg Version 9.8.2, URL method 2 and I download the using the link above.
|
| Sun Feb 10, 2008 9:59 pm |
|
|
Site Admin Joined: Wed Dec 12, 2007 9:34 pm Posts: 296 |
Hi nzbullet,
I see clearly see your error, I can say for certain that it is working on other sites with v9.8.2 and even v9.9.0. Unfortunatley i am stumped for now. |
| Mon Feb 11, 2008 3:32 pm |
|
|
Joined: Sun Feb 10, 2008 6:24 am Posts: 6 |
Cheers, I appreciate that. I have edited a number of files from the standard pligg install, so I thought maybe it was that as well. Do you know which "Pligg files" this calls and I can have a look and see if there are any differences between the originals and mine.
|
| Mon Feb 11, 2008 8:19 pm |
|
|
Joined: Sun Feb 10, 2008 6:24 am Posts: 6 |
OK, so I tought I would try to go to a non-clean url version of the sitemap i.e http://www.linka.co.nz/module.php?module=xml_sitemaps_show_sitemap&i=1 and the sitemap shows fine. Could this be something to do with either my libs/html1.php filre or .htaccess file? I definetley have URL method 2 switched on, you can see it working on the site, so can only think it has something to do with that.
|
| Mon Feb 11, 2008 9:08 pm |
|
|
Joined: Sun Feb 10, 2008 6:24 am Posts: 6 |
LincolnHawks wrote: 369874123 wrote: Hi, I'm having a few problems: First, I don't have a .htaccess file in the folder (either not on the server) and i can't upload one... Second, http://npgb.org/sitemapindex.xml is showing "cannot find page". Thanks for helping Hi 3698, Your .htaccess file will be in the root folder of your pligg install, it's name on a fresh install of pligg is "htaccess.default" you will need to rename that file to ".htaccess" on your server then add the 2 lines below to that file. Code: RewriteRule ^sitemapindex.xml module.php?module=xml_sitemaps_show_sitemap [L] RewriteRule ^sitemap-([a-zA-Z0-9]+).xml module.php?module=xml_sitemaps_show_sitemap&i=$1[L] Problem SOLVED. In the post above, which is where I copied the rewrite code from you will notice that there is no space at the end of the second rewrite rule, between $1 and [L] This is what was causing the problem, after adding a space it now works. Cheers Dan Last edited by nzbullet on Tue Feb 12, 2008 1:59 am, edited 1 time in total. |
| Tue Feb 12, 2008 12:30 am |
|
|
Site Admin Joined: Wed Dec 12, 2007 9:34 pm Posts: 296 |
Cool one nz i fixed that space in that post
|
| Tue Feb 12, 2008 12:57 am |
|
|
Joined: Sun Feb 10, 2008 6:24 am Posts: 6 |
No worries, It's an awesome MOD so I had to get it working
|
| Tue Feb 12, 2008 2:02 am |
|
|
Joined: Thu Feb 14, 2008 4:07 pm Posts: 32 Location: Texas |
This came with the Pligg 9.9 SEO edition (thanks), I was scratching my head since my ftp doesn't show an sitemapanything.xml file but it checks good with Google. Cool!
_________________ http://www.GarageSongs.com |
| Sun Mar 16, 2008 9:56 pm |
|
|
Site Admin Joined: Wed Dec 12, 2007 9:34 pm Posts: 296 |
catchpen wrote: This came with the Pligg 9.9 SEO edition (thanks), I was scratching my head since my ftp doesn't show an sitemapanything.xml file but it checks good with Google. Cool! Hi cacthpen, hehe your server will show module.php?module=xml_sitemaps_show_sitemap with the rewrite enabled though it should be reachable with sitemapindex.xml Code for the rewrite that is needed for google webmaster tools is below. Code: RewriteRule ^sitemapindex.xml module.php?module=xml_sitemaps_show_sitemap [L] RewriteRule ^sitemap-([a-zA-Z0-9]+).xml module.php?module=xml_sitemaps_show_sitemap&i=$1 [L] |
| Mon Mar 17, 2008 2:55 pm |
|
|
|
Page 2 of 3 |
[ 26 posts ] | Go to page Previous 1, 2, 3 Next |
|
All times are UTC |
Who is online |
Users browsing this forum: No registered users and 0 guests |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum |

