How to make the sitemap of the enitre site

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

How to make the sitemap of the enitre site

Postby idro » Wed Jul 28, 2010 10:15 am

Hi everyone,
i want the gym to make the sitemap of my entire site and not only of the forum (that actually is installed in the subfolder /forum/)
i've followed these instructions but nothing works. i get only the sitemap of the forum. :(

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.

You'll have to put the sitemap.php file at the domain's root level, since no link from above the sitemap files folder are taken into consideration by Search Engines.
To do this, you only need to open sitemap.php, and look for :

$phpbb_root_path = './';

and change it to :

$phpbb_root_path = './forum/';

Obviously replacing forum/ with the real folder name where phpBB would be installed.
Then you would need to go ACP and update the "Google Sitemaps URL" parameter, in the Google sitemaps main panel, to match your domain's root location instead of the phpBB url : -http://www.example.com/ instead of http://www.example.com/forum/
Links to the forum will of course stay valid.

If you run phpBB in a sub directory (example.com/forum/) and installed the sitemap (and / or gymrss.php) file at the root level (example.com/sitemap.php) following the instructions above, you will need to change paths in the sitemap (and / or gymrss.php) rewriterules accordingly.
And if your phpBB's .htaccess was in the forum/ directory, to move them to the domain's root .htaccess.


someone could help me, please?
idro
 
Posts: 2
Joined: Tue Jul 27, 2010 9:48 am

Advertisement

Re: How to make the sitemap of the enitre site

Postby The_BlacK_MOON » Thu Feb 02, 2012 1:30 pm

Im having same problem, please someone help.

What I need to edit in .htaccess? do I need to change every sitemap related forum path there??
The_BlacK_MOON
 
Posts: 16
Joined: Sun Jan 01, 2012 8:08 am

Re: How to make the sitemap of the enitre site

Postby coyote » Thu Feb 02, 2012 3:38 pm

@black_moon

Your site doesn't have anything at the root BUT sitemap.php (btw, you need an index or something at the site root). You recently moved your forum into a folder. Just generate a new .htaccess in the admin panel and make sure it's at the site root. Make sure you've done the required edit on sitemap.php, and make sure the settings have been saved in the admin panel under phpbb seo tab.
coyote
phpBB SEO Team
phpBB SEO Team
 
Posts: 284
Joined: Fri May 11, 2007 6:24 am

Re: How to make the sitemap of the enitre site

Postby The_BlacK_MOON » Fri Feb 03, 2012 12:10 pm

Yes, we're working on the root page, will add it soon, thats y im preparing for this, sitemap.php is fine, I have done everything what I needed to. Just need to know sitemap rewriterules as said here. .

If you run phpBB in a sub directory (example.com/phpbb/) and installed the sitemap (and / or gymrss.php) file at the root level
(example.com/sitemap.php) following the instructions above, you will need to change paths in the sitemap (and / or gymrss.php)
rewriterules accordingly.

And if your phpBB's .htaccess was in the phpBB/ directory, to move them to the domain's root .htaccess.
The_BlacK_MOON
 
Posts: 16
Joined: Sun Jan 01, 2012 8:08 am


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests