News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Sitemap

Started by SlammedDime, May 12, 2007, 05:43:04 PM

Previous topic - Next topic

bearstreet

first one it gave,
for second one, it did not gave

i was wondering if i just put the rss feeds in xml format in the sitemap submitted to google
but it shows the author's email too, any idea how to remove author's email or get my sitemap issue fixed?
your sitemap is exaclty like mine,
but you said you did not had any issues
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

MiY4Gi

Well, the first one had one problem with it. Open each file using notepad.exe and you'll see what I'm talking about. The one with the error had an empty line at the top, and I suspect that that empty line is to blame for the error's you've getting. I don't know how to fix it though, nor what could be causing it.

Have you tried uninstalling then reinstalling the sitemap mod?
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

bearstreet

yeah, even manually installed it
no help :(
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

bearstreet

I am still stuck with the sitemap problem
it gives parsing error in google webmaster tools
anyone can suggest what is wrong and how to rectify it?
really need help
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Kindred

get rid of prettyurls and then see if it works
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Suki

You seem to had installed 2 or more sitemap mods.

This url:  http://testbear1234.site88.net/sitemap.xml  show a sitemap generated by other mod, not this one.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

Quote from: Kindred on August 23, 2012, 10:50:23 AM
get rid of prettyurls and then see if it works

no, I still get parsing errors
I validated the sitemap using sitemap validator
I made a fresh install of smf and again did it
still it is giving parsing errors
Quote from: Suki on August 23, 2012, 10:54:49 AM
You seem to had installed 2 or more sitemap mods.

This url:  http://testbear1234.site88.net/sitemap.xml  show a sitemap generated by other mod, not this one.
yeah, i installed optimus brave mod
for getting rid of sitemap problem
but still, it is not resolved.

I saw other people using this mod and they said that their sitemap did not gave any parsing error
removed optimus brave mod
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

bearstreet

this mod works with pretty urls, as it is stated in the mod notes

also edited .htaccess and removed pretty url rewrite actions
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Suki

Installing a mod on top of another mod won't resolve any issues you may have.

Which mod, exactly, is the one you are gonna use?  this or the other?

Please don't do duplicate messages, edit your previous message if you have something more to say.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

ok, will keep in mind
I wanted to use sitemap mod, this one
but it was giving parsing errors in google webmaster tools
so i disabled xml link of this sitemap mod, and used robots.txt to restrict it from crawling by search engines
then i installed optimus brave mod and submitted the sitemap in google webmaster tools
it was working fine till it started generating urls which were not pretty ulr types( the ones generated by pretty ulr) and i was redirected to index.php every time

I would love to use this mod with pretty urls
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Suki

If you really really want to have pretty urls then take a look at simpleSEF, a cleaner mod that does take care of external urls.

If you want to use this mod then you need to uninstall whatever other mods you may had installed first before attempting to install a similar mod.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

see, the problem is, I made a fresh install of smf
and then installed this mod
i am again getting parsing errors in webmaster tools
now I dont have any other mod but only this mod
and still i have parsing errors
with no pretty urls installed
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Suki

what are those errors?  is there a link anywhere? what the url you are trying to send?

did you get any errors on install?
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

http://www.simplemachines.org/community/index.php?topic=170813.msg3391542#msg3391542

this was the message that i posted

i made a fresh install of smf here, and this is the sitemap for it
http://domymath.netai.net/index.php?action=sitemap;xml

I am attaching the screenshot, have a look
no mods installed, only pretty urls and this sitemap mod at this forum
I got an error while installing because I had to emulate this  mod for smf rc 2.0.4
to edit in sources/admin.php


i did it
and again, I am getting parsing errors
see the screenshot attached

Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

MiY4Gi

I wonder if there isn't maybe a server configuration that's preventing Google from crawling your sitemap.

You mentioned that of of the two sitemaps I gave you, one worked, while the other didn't, right? The one that didn't work, did it give you the same error that you're currently getting with your normal forum sitemap? If it did, that means we've found part of the problem.
Check out my new website, MyAnimeClub.net. I plan to create the largest anime community, and most fun and user-friendly anime forum in the world. It's still in the development stage though.

bearstreet

i wish that had been right
but it isn't

i dont understand how come it indexes 3 urls and still says parsing error
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Suki

Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Suki

This part:


<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"


it has to be:


<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">


Please see the difference. This is why </urlset> is giving the error, because it fails to close the starting tag, there is no starting tag as far as google concerns, the W3.org validator is smarter than that and only gives a recommendation about it.

Take a look at the mod's parser to see what file to edit: Sitemap.template.php
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

bearstreet

#2159
Quote from: Suki on August 23, 2012, 12:21:35 PM
This part:


<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"


it has to be:


<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">


Please see the difference. This is why </urlset> is giving the error, because it fails to close the starting tag, there is no starting tag as far as google concerns, the W3.org validator is smarter than that and only gives a recommendation about it.

Take a look at the mod's parser to see what file to edit: Sitemap.template.php


<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">

this is exactly what I have in both of my sitemaps
http://testbear1234.site88.net/index.php?action=sitemap;xml
http://domymath.netai.net/index.php?action=sitemap;xml


UPDATE
the problem almost got fixed magically
see the screenshot
pretty ulr is enabled
and I dont know how it got resolved
just resubmitted the sitemap and it worked after i did the resubmitting for three or four times :P
don't know what is happening but now no errors
see the attachment
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Advertisement: