Google Sitemaps

Started by Davilac, June 05, 2005, 10:17:49 AM

Previous topic - Next topic

Tearabite

Guys, this is frustrating as HECK.. the bots and spiders wont even look at my forum (i assume) because I cant get rid of PHPSESSID's on my URLS.. so i was hoping this sitemap would at least get me into Google..

BUT IT WONT WORK..
anytime i (or google) tries to go to http://mydomain/sitemaps/sitemaps.php, all i get is my forum index page?!
however, IF i go to http://mydomain/mydomain/sitemaps/sitemaps.php it will open, but Google wont accept that!?

Why does my index open every time i try to go to http://mydomain/sitemaps/sitemaps.php  ??  is this a forum setting, a index.php setting?  a .HTACCESS setting??

arrhhhgggg!!   >:(

geoffs

Quote from: Tearabite on March 15, 2006, 08:14:19 PM
BUT IT WONT WORK..
anytime i (or google) tries to go to http://mydomain/sitemaps/sitemaps.php, all i get is my forum index page?!

Tearabyte, why are you submitting sitemaps.php to google? Their hxxp:www.google.com/webmasters/sitemaps/docs/en/faq.html [nonactive] explains that they try and download a file named sitemaps.xml or the gzipped version, sitemaps.xml.gz. I have it setup on my site in the way they specify and their bot downloads the sitemap regularly.
hxxp:www.geoffshapirophotography.com [nonactive]

carlatf

Hi everybody!.

Just put this to work here: http://acidobase.com.ar/foros/sitemaps/sitemaps.php

The problem is that Google returns:
    Detail
URL not allowed (Line 3) with URL http://acidobase.com.ar/index.php    This url is not allowed for a Sitemap at this location. More
URL not allowed (Line 9) with URL http://acidobase.com.ar/index.php/board,15.0.html    This url is not allowed for a Sitemap at this location. More
URL not allowed (Line 15) with URL http://acidobase.com.ar/index.php/board,27.0.html    This url is not allowed for a Sitemap at this location. More


URL not allowed
Your Sitemap contains a URL that is not allowed based on the Sitemap's location..

Why is not allowed? All the links were constructed via the sitemaps thingie. I have a Joomla/SMF site but I use SMF almost 100% I just got Joomla just in case. I have to put the sitemap in the main directory?

Best,
Carla

DemonicInfluence

That is just a big with google sitemaps...

willi1

Hej Hej,

i have the same problem how Tearabite, google don´t accept my

sitemap.php i think they wants a xml file has anybody a idea or a how to?

i become the error message the url is not allowed. / 1errors

best regards

André

willi1

Hej Hej,,

please give me a completly how to and i will translate it to german.

best regards

Abdré

J. S.

Quote from: carlatf on April 10, 2006, 02:52:30 AM
The problem is that Google returns:
    Detail
URL not allowed (Line 3) with URL http://acidobase.com.ar/index.php    This url is not allowed for a Sitemap at this location. More
URL not allowed (Line 9) with URL http://acidobase.com.ar/index.php/board,15.0.html    This url is not allowed for a Sitemap at this location. More
URL not allowed (Line 15) with URL http://acidobase.com.ar/index.php/board,27.0.html    This url is not allowed for a Sitemap at this location. More


URL not allowed
Your Sitemap contains a URL that is not allowed based on the Sitemap's location..

Add a .htaccess file with the following code in it:

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.htm$  /sitemaps/$1 [L]


Now you may access yourboard.com/sitemaps.php.htm

Your sitemap for /test/blah has to be in /test or /test/blah NOT in /test/blah/stuff! That is why you get that error from google.

carlatf

Hi JS,

I did something radical. I deleted Joomla and I put SMF in the main directory and Joomla as a sub dir! :) after all I never used it.

Now the problem is that index.php apears everywhere. Before the move I didn't see it.

I tried to put sitemaps.php in de main dir, but it doesn't return anything.

In the /sitemaps/ directory works fine but google as usual says:

URL not allowed (Line 3) with URL http://tresjolie.com.ar/index.php      This url is not allowed for a Sitemap at this location.  More
URL not allowed (Line 9) with URL http://tresjolie.com.ar/index.php/board,1.0.html    This url is not allowed for a Sitemap at this location. More

I will try to make it work from the main SMF directory and I'll post here if I made it.

Best.
Carla

carlatf

Ok, it was dead easy.
I just edited sitemaps.php and change the SSI path. Now it works fine in the same directory that SMF.

ChrisPlough

This post has helped me get sitemaps working on my site, thanks!   

BTW, if you want your server to respond to hxxp:domainname.com/sitemap.xml [nonactive] instead of sitemap.php and you are using Apache with mod_rewrite enabled - just create (or update) .htaccess in your webroot directory and add the following lines:

RewriteEngine on
RewriteRule     ^sitemap.xml$           sitemap.php


It worked like a charm for me.

--
Thank you,

Chris Plough
MavenWire Consultants
www.mavenwire.com
Thank you,

Chris Plough
MavenWire Consultants
www.mavenwire.com

J. S.

There is no reason why it would`nt work :) And.. there is no reason why I would use that mod rewrite, google cand download your sitemap even from an url like index.php?sitemap=yes&path=/here/is/my/sitemap :)

SacmaliK

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

My Mods
Veoh Bbc Tag:here
Topic get Keywords:here
...

axlarry

is this working on RC3? I'd like to try it

ladynada

Quote from: [Unknown] on June 09, 2005, 04:31:59 AM
Untested with SMF 1.0.x.  Upload, test, and give to Google.

Shows the top 20 members, top 20 topics, all boards, and forum only.

-[Unknown]

the attachment link still worked and I just tried it today.

http://www.simplemachines.org/community/index.php?action=dlattach;topic=37858.0;attach=7587

and I submitted to google.

I am running SMF 1.12 .  and I wanted to reply to this thread, because then I can report if this php file works for 1.12 today.

hope that is okay
nada
WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

ladynada

the sitemap.php works fine on my SMF 1.1.2

nada
WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

NoFeaR / NFSMW


MegaTinkerCoder

Not Found
The requested URL /sitemap.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request
-----------------------
No... your php file needs to be world accessible for google to access it.
In the middle of difficulty lies opportunity.

Albert Einstein

NoFeaR / NFSMW

Sorry had a problem with that. its fixed now.


Advertisement: