[RC4] GYM Sitemaps & RSS (aka mx Google Sitemaps)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Jochem25
Registered User
Posts: 107
Joined: Tue Oct 17, 2006 8:30 pm

Post by Jochem25 » Fri Dec 22, 2006 6:59 pm

dcz wrote: Where did you find those ?

If it was in the Google sitemap account CP, it could have come from early testing, when you would have tried on of the premoded, or a link posted somewhere like this, as Google does not report on the URLs listed in the sitemaps, but all of them.

++


yep in the acp of the google sitemaps. i will try to delete the site map and resubmite the sitemap after that.

Jochem25
Registered User
Posts: 107
Joined: Tue Oct 17, 2006 8:30 pm

Post by Jochem25 » Fri Dec 22, 2006 10:21 pm

didn`t worked too

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Sat Dec 23, 2006 10:29 am

I was saying there is just no way a mod rewritten url will be outputted by this mod unless you upload the wrong files.

Google does not only report the URL actually found in the sitemaps, but all the ones it once saw on a page, whatever the place it was.

So unless you actually see a wrong formatted link in your sitemaps (the one on your site) there is just no problem.

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

yoyob
Registered User
Posts: 5
Joined: Sun Dec 24, 2006 9:31 am
Contact:

Post by yoyob » Wed Dec 27, 2006 4:31 pm

..

reggien
Registered User
Posts: 84
Joined: Sat Feb 12, 2005 5:59 am

Post by reggien » Sat Dec 30, 2006 11:42 pm

dcz wrote: I was saying there is just no way a mod rewritten url will be outputted by this mod unless you upload the wrong files.

Google does not only report the URL actually found in the sitemaps, but all the ones it once saw on a page, whatever the place it was.

So unless you actually see a wrong formatted link in your sitemaps (the one on your site) there is just no problem.

++


Hi dcz,

Was hoping you may be able to look at my sitemap and tell me if it is set up correctly.

http://www.talkingfooty.com/forums/sitemap.php

I have GoogleBB Link Enhancement mod also installed. Do I need to change Mod Rewrite Sitemaps in the ACP to YES? Have already uploaded the included sitemap_forum.php to the inludes folder for GoogleBB Enhancement. Just not sure if this is correct. Any feedback would be most appreciated.

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Wed Jan 03, 2007 5:18 pm

yes, your Google sitemaps installation is working nicely, with the proper URLs as you can see here : http://www.talkingfooty.com/forums/sitemap.php?fid=5

Then, to go a bit further you could turn mod rewrtite on for sitemap links in acp, sitemap.php?fid=5 would become forum-sitemap-5.xml.

You'd just need to add the rewriterules located in the contrib/ folder's .htaccess of the zip for these rewritten URLs to work.

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

Haxelsson
Registered User
Posts: 20
Joined: Fri Dec 22, 2006 10:12 pm

Post by Haxelsson » Wed Jan 10, 2007 7:28 pm

i solved my problem, delete this post!
Last edited by Haxelsson on Wed Jan 10, 2007 7:33 pm, edited 1 time in total.

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Wed Jan 10, 2007 7:31 pm

The db_install.php should be uploaded in the folder where phpBB is installed.

And you must be logged as admin to be able to run it.

Besides, it should work ;)

The error is just stating the obvious, db_install.php was not loaded.

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

Haxelsson
Registered User
Posts: 20
Joined: Fri Dec 22, 2006 10:12 pm

Post by Haxelsson » Wed Jan 10, 2007 7:33 pm

dcz wrote: The db_install.php should be uploaded in the folder where phpBB is installed.

And you must be logged as admin to be able to run it.

Besides, it should work ;)

The error is just stating the obvious, db_install.php was not loaded.

++


Sorry my ftp program was the problem ;) i have updated my databse now!

Haxelsson
Registered User
Posts: 20
Joined: Fri Dec 22, 2006 10:12 pm

Post by Haxelsson » Tue Jan 16, 2007 8:16 am

I recently change my location of my forum

Before:
http://www.webbplanket.se/

Now:
http://www.webbplanket.se/forum/

Now i get errors in google analytics:

Code: Select all

 http://www.webbplanket.se/groupcp.php?g=13  	 404 (Hittades inte)   [?]  	 2007-jan-12
http://www.webbplanket.se/groupcp.php?g=14 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/groupcp.php?g=16 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/groupcp.php?g=19 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/groupcp.php?g=22 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/groupcp.php?g=23 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/groupcp.php?g=32 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/groupcp.php?g=33 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/groupcp.php?g=34 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/index.php?c=2 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/index.php?c=3 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/index.php?c=5 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/index.php?c=6 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/index.php?c=7 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/index.php?c=8 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=12 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=18 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=27 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=28 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=29 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewforum.php?f=34 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=387 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewtopic.php?p=510 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=513 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewtopic.php?p=518 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewtopic.php?p=520 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=541 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=575 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=579 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=703 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=735 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=751 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=754 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=756 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=771 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=772 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=778 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?p=792 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?t=118 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewtopic.php?t=34 	404 (Hittades inte)   [?] 	2007-jan-12
http://www.webbplanket.se/viewtopic.php?t=75 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?t=81 	404 (Hittades inte)   [?] 	2007-jan-13
http://www.webbplanket.se/viewtopic.php?t=93
What shall i change in my sitemap.php?

Line 44-53:

Code: Select all

	// YOU HAVE TO SET THE CORRECT PATH FOR PHPBB IF YOU WANT
	// TO USE THIS  SITEMAP SYSTEM OUTSIDE OF THE PHPBB FOLDER
	// AND TO LOOK AT LINE 70 too ;-)
	$module_root_path2 = $module_root_path = $phpbb_root_path = './';
	include($phpbb_root_path . 'extension.inc');
	include($phpbb_root_path . 'common.'.$phpEx);
	// Start session management
	$userdata = session_pagestart($user_ip, PAGE_INDEX);
	init_userprefs($userdata);
	// End session management
I already changed line 70 and comment the $root_url = ($phpbb) ? $server_url : $root_url;

Code: Select all

// Comment this line if you put your sitemap in the root folder
// and phpbb installed in a subfolder.
//$root_url = ($phpbb) ? $server_url : $root_url;

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Tue Jan 16, 2007 12:01 pm

Well, the errors returned by Google stats are not only concerning the links provided in the sitemaps.

Basically, all you forum has turned 404, which is really not Good SEO wise.

Then, your sitemaps is not using the proper paths, it is set up to be run from root and is in a sub folder.

So change :

Code: Select all

//$root_url = ($phpbb) ? $server_url : $root_url;
with :

Code: Select all

$root_url = ($phpbb) ? $server_url : $root_url;
Then, HTTP 301 redirection would be a good thing to think about, but it's tricky to do from root to folder, as we do not want to redirect all cases to the forum/ folder.

This thread is a bit off topic for this, but I'll be happy to provide support on www.phpbb-seo.com where such matters are dealt with ;)

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

yoyob
Registered User
Posts: 5
Joined: Sun Dec 24, 2006 9:31 am
Contact:

Post by yoyob » Tue Jan 16, 2007 11:09 pm

i was install this nice mod and phpBB_SEO_mod_Rewrites but
its didnt create xml files.
whats worng?

http://www.xn----3hcbm6akye4d.com/sitemaps.html
Last edited by yoyob on Tue Jun 03, 2008 4:20 pm, edited 1 time in total.

Aliniuz
Registered User
Posts: 310
Joined: Fri Jun 23, 2006 6:12 am
Contact:

Post by Aliniuz » Sat Jan 20, 2007 4:47 pm

I installed this MOD reading the install file , and when i acces sitemap.php i get the error

Code: Select all

        This XML file does not appear to have any style information associated with it. The document tree is shown below.
What I have to do ? Does Google is now .. indexing all the links of my site like the install file said ?

link : www.galatiforum.com/sitemap.php

joeydee
Registered User
Posts: 292
Joined: Tue Mar 07, 2006 2:05 am

Post by joeydee » Sun Jan 21, 2007 11:32 pm

Hey folks...

Quick question... I have a sitemap however it's in .php not .xml as a matter of fact here it is: http://pumatalk.com/sitemap.php

Now should I switch from .php to .xml? would it to any difference? and normaly when you have a sitemap for a forum do you post a link on the footer of the forum so that spiders can read the sitemap? and my final question, I heard with Google the sitemap links have to be limited to 100 per page anything after that needs to go on like another page to prevent "over flooding", whats' your take on that.

So if DCZ or anyone can help me out with my questions I'd appreciate it.

my best,
-Joey Dee

dcz
Registered User
Posts: 787
Joined: Sun Feb 13, 2005 5:37 am
Contact:

Post by dcz » Mon Jan 22, 2007 12:29 pm

@Aliniuz

Everything is normal, Google sitemaps is a xml tree without xsl styling for this version (next one will, but it's not mandatory at all).

@joeydee

Looks like you're using another mod, sitemaps generator maybe.

Anyway, there is not problem with using .php for sitemaps, Google just does not care about it.

And this sitemap is not supposed to be browsed by humans, so no links are needed, just a Google submission.

The official limit per sitemaps is 50 000 URLs, which is the whole point about it, provide Google with potential huge lists.

I advise you to use this mod, or to wait until the update if you prefer than the one you're using, because mine will be able to list a lot more URLs ;)

++

phpBB SEO || phpBB3 SEO Premod || SEO phpBB3
GYM Sitemaps & RSS for phpBB3: GYM Sitemaps & RSS

Post Reply

Return to “[2.0.x] MODs in Development”