| :: |
| Author |
Message |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Sat Sep 06, 2008 9:02 am Post subject: Other pages in root not showing up in sitemap |
|
|
"If phpbb is installed in a sub folder and you run other pages at the root level,
you can take advantage of this system's modularity to include all of your site's sitemaps in this same sitemapindex."
Only the forum pages are showing up
Steps I followed:
(1) Install sitemap.php file at the domain's root level
(2)Change
$phpbb_root_path = './';
and change it to :
$phpbb_root_path = './forum/';
(3) Go ACP and update the "Google Sitemaps URL" paramter - http://www.herbalistsguide.com/
(4) you will need to change paths in the sitemap (and / or gymrss.php) rewriterules accordingly.
# THESE THREE REWRITERULE must be IN THE DOMAIN’S ROOT
# Google SitemapIndex
RewriteRule ^sitemapindex\.xml(\.gz)?$ /sitemap.php?gzip=$1 [L,NC]
# Forum sitemaps
RewriteRule ^[a-z0-9_-]+-f([0-9]+)\.xml(\.gz)?$ /sitemap.php?forum=$1&gzip=$2 [L,NC]
# Module sitemaps
RewriteRule ^([a-z0-9_]+)-([a-z0-9_-]+)\.xml(\.gz)?$ /sitemap.php?$1=$2&gzip=$3 [L,NC]
What am I missing? |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Sep 06, 2008 1:31 pm Post subject: Re: Other pages in root not showing up in sitemap |
|
|
Well, moving the sitemap to the domain's root level when phpBB is installed in a sub dir will only make it possible for root level url to be listed, it won't actually list them.
The module can though integrate sitemaps builds with other softwares, with the TXT and XML module, and it's modular architecture is ready to host module to build as many sitemaps as you want and have them integrated directly in the system, but you need to code for that.
With time, more modules will be available.
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Sat Sep 06, 2008 9:01 pm Post subject: Re: Other pages in root not showing up in sitemap |
|
|
But without the ability to map all pages, unless your forum is your website, phpbbsitemap is not a complete solution.
Reverting to our old sitemap software we get errors for the forum with sid turned off for guests. I think we can work around this by registring our sitemapper as a bot, But I am wondering why we see sids for guests.
-http://www.herbalistsguide.com/ucp.php?mode=login&sid=df912330fd5dcd92b7efbbf2ffae4457 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/search.php?search_id=unanswered&sid=df912330fd5dcd92b7efbbf2ffae4457 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/style.php?sid=9c0b8fd15f33cc076c73545fb1e781b8&id=1&lang=en <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/search.php?sid=9c0b8fd15f33cc076c73545fb1e781b8 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/ucp.php?mode=delete_cookies&sid=233915b08c082570ffa541633d167d4c <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/forum/gym_sitemaps/%7Bsitemap:urlset/sitemap:url/sitemap:loc%7D <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/mental-gymnastics/ucp.php?mode=register&sid=11111cdc1dacf11209fd96a265bb0d57 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/exercise/faq.php?sid=63414a69c3e53998a7df73c7f23cf474 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health-news/report.php?f=2&p=4&sid=d07fd33dc7dd38cbbfb9ecea48632494 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/exercise/posting.php?mode=reply&f=4&t=5&sid=63414a69c3e53998a7df73c7f23cf474 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health-news/faq.php?sid=d07fd33dc7dd38cbbfb9ecea48632494 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health-news/ucp.php?mode=login&sid=fe32115806d8933e7dcb18f2892b93ef <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/ucp.php?mode=privacy&sid=ccedc45d41fe1225f8586554e21888b0 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/ucp.php?mode=delete_cookies&sid=ccedc45d41fe1225f8586554e21888b0 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/faq.php?sid=ccedc45d41fe1225f8586554e21888b0 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/ucp.php?mode=register&sid=ccedc45d41fe1225f8586554e21888b0 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health-news/faq.php?sid=aec7c58b258ec0aff2f20d7fd36aa819 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health-news/ucp.php?mode=register&sid=aec7c58b258ec0aff2f20d7fd36aa819 <--> The remote server returned an error: (404) Not Found.
-http://www.herbalistsguide.com/health/ucp.php?mode=login&sid=e3238b26245e09020a66b944849a4656 <--> The remote server returned an error: (404) Not Found.
.
Solutions? Suggestions?
What about including something like this in your package to map pages that are not in the forum? http://sourceforge.net/projects/czsitemapphp/ |
|
|
| Back to top |
|
 |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Mon Sep 08, 2008 3:40 am Post subject: Re: Other pages in root not showing up in sitemap |
|
|
Ok we fixed the above but...
| Quote: | | The module can though integrate sitemaps builds with other softwares, with the TXT and XML module |
Are there insturctions for installing additional site maps? Or a php sitemap that accepts child nodes. ?
I was going to add your site map as a child node to google's sitemap.py, which would solve the sitemap issue for us. Unfortunately the guy who normally helps with setup just threw his hands up at trying to get python to run sitemap.py on IIS. This is even though he was able to get other python stuff to run. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
Posted: Sat Sep 13, 2008 9:47 am Post subject: Re: Other pages in root not showing up in sitemap |
|
|
| Drew wrote: | But without the ability to map all pages, unless your forum is your website, phpbbsitemap is not a complete solution.
|
Well, of course, but it's already a way to build very nice sitemaps for the forum, which in regards to the urls your other sitemap script generates is already a great thing.
GYM will only list the best urls without dupes, no style.php or login.php links, only content links
Then, to keep this simple you can just submit several sitemaps to google so, it's not a drama if you cannot have all your sitemaps listed in the same sitemapindex, SEOwise, it won't change anything.
As said you can integrate xml sitemaps (or url lists in txt files) in GYM, using the XML and TXT module, they won't actually build the sitemaps, but will integrate them in the same sitemapindex, you'll find more about them in the GYM ACP (how to use them).
For example, the sitemap.py script builds physical sitemaps, so you could use the through the outputted files it the XML module source dir to have them integrated directly in GYM.
But make sure you do not include the forum url in your sitemap.py script, there is no need to since GYM is already doing the job, just use it for the rest of the site and you'll be done (once of course it will work on iis)
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Sun Sep 14, 2008 6:02 am Post subject: Re: Other pages in root not showing up in sitemap |
|
|
| dcz wrote: | [
For example, the sitemap.py script builds physical sitemaps, so you could use the through the outputted files it the XML module source dir to have them integrated directly in GYM.
But make sure you do not include the forum url in your sitemap.py script, there is no need to since GYM is already doing the job, just use it for the rest of the site and you'll be done (once of course it will work on iis)
++ |
We used sitemap_gen to combine the root map with the forum maps from GYM cache. GYM pinging is off.
I cannot recommend python on an IIS server.
I recommend sitemap_gen.pl (http://code.google.com/p/perlsitemapgenerator/wiki/Run) and upgrading to Perl 5.10.10 if for no other reason than it makes installing the required modules easier. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
|