| :: |
| Author |
Message |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Sat Mar 01, 2008 3:51 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
| dcz wrote: | This link is built out of phpBB config, did you at some point test phpBB within a sub dir named "forum2" by any chance ?
Make sure about your phpBB config, server name and script path.
++ |
All is correct in my phpBB config, the script path too. All forums works without problems.
domain name - wasteland-bg.com
server port - 80
phpBB2 path - /phpbb2/
Only in rss FORUM maps feed name's links are without extension .html.
<title>РАДИОАКТИВНА КЛЮКАРНИЦА - VAULT TEC RSS НОВИНИ</title>
<link>http://wasteland-bg.com/phpbb2/forum2</link>
In rss.php I have added full path:
| Code: | // In case this fails, just hard code the full url to the folder where this file is installed :
$paths['rss_url'] = 'http://wasteland-bg.com/phpbb2/'; |
Please see it! In the screenshot too.
P.S. In Google webmasters tools the bots writes these links as errors. |
|
|
| Back to top |
|
 |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Fri Mar 07, 2008 1:35 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Someone help me?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
|
| Back to top |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Wed Mar 12, 2008 1:04 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Yes, I have array in the two files as you say:
| Code: | $this->seo_ext = array('cat' => '.html',
'forum' => '.html',
'topic' => '.html',
'user' => '.html',
'gz_ext' => '', |
And replace ggs_functions.php but don't have a result - nothing changed.  |
|
|
| Back to top |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Thu Apr 10, 2008 12:07 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Some ideas for my problem?  |
|
|
| Back to top |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Fri Jun 27, 2008 4:44 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Someone help me? Can I remove feed name's links from forum maps and how? |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Jun 28, 2008 8:43 am Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
In google_forum.php, you can replace :
| Code: | | $forum_sitemap_url = $this->path_config['sitemap_url'] . (($this->mod_r_config['forum_pre_google'] !='') ? $this->mod_r_config['forum_pre_google'] . $forum_id . $this->mod_r_config['ext_out'] : $forum_url_ok . '-gf' . $forum_id . $this->mod_r_config['ext_out']); |
with :
| Code: | | $forum_sitemap_url = $this->path_config['sitemap_url'] . $this->mod_r_config['forum_pre_google'] . $forum_id . '.html'; |
Not the nicest, but should work  |
_________________ 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 |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Sat Jun 28, 2008 9:31 am Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Sorry. dcz but you don't understand me right. My problem is in RSS forum maps. Doesn't work LINK IN FEED'S NAMES.
Please see screenshot or the example link!
I want to remove only link in FORUM feed's names.
Thanks in advance for your help! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Jun 28, 2008 10:59 am Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
oups
In rss_forum.php, replace :
| Code: | | $forum_url = $this->path_config['phpbb_url'] . (($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id : $forum_name_ok . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum']); |
with :
| Code: | | $forum_url = $this->path_config['phpbb_url'] . (($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id . $phpbb_seo->seo_ext['forum'] : $forum_name_ok . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum']); |
Should be the one this time  |
_________________ 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 |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Sat Jun 28, 2008 11:22 am Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
I don't see any changes. If I click for example http://wasteland-bg.com/phpbb2/forum-rss16.xml and after that the feed name RPGames - RSS Feed, the result is:
| Quote: | Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404 |
The feeed link http://wasteland-bg.com/phpbb2/forum16.html doesn't have an extention .html and I want to fix exactly this problem. If cannot do nothing more, I want to remove only link from the feed name.
Now working your correction. If you want, you can test it. |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Jun 28, 2008 3:30 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
mm,
And if you hard code the extension instead :
| Code: | | $forum_url = $this->path_config['phpbb_url'] . (($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id . '.html' : $forum_name_ok . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum']); |
Sorry, I do not have any gym 1.x up and running test install any more, but we should be close to the solution! |
_________________ 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 |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Sat Jun 28, 2008 3:47 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
I already tested your new code. I regret to say it don't fix the problem. You can test it too.
My GYMs are latest V1.2.0RC4.
Thanks again for your patience and help!  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13354
|
Posted: Sat Jun 28, 2008 3:52 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
Ho, I think I got it :
still in rss_forum.php, replace :
| Code: | | $item_opt[$forum_id]['forum_url'] = $this->path_config['phpbb_url'] . ( ($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id : $item_opt[$forum_id]['forum_name_ok'] . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum'] ); |
with :
| Code: | | $item_opt[$forum_id]['forum_url'] = $this->path_config['phpbb_url'] . ( ($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id . $phpbb_seo->seo_ext['forum'] : $item_opt[$forum_id]['forum_name_ok'] . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum'] ); |
or :
| Code: | | $item_opt[$forum_id]['forum_url'] = $this->path_config['phpbb_url'] . ( ($this->mod_r_config['forum_pre'] !='') ? $this->mod_r_config['forum_pre'] . $forum_id . '.html' : $item_opt[$forum_id]['forum_name_ok'] . $phpbb_seo->seo_delim['forum'] . $forum_id . $phpbb_seo->seo_ext['forum'] ); |
if not enough. |
_________________ 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 |
|
 |
diabolic.bg

Joined: 04 Feb 2008 Posts: 47 Location: Bulgaria
|
Posted: Sat Jun 28, 2008 4:00 pm Post subject: Re: Problem with GYM Sitemaps.xml |
|
|
THANKS dcz
The first code fixed the problem. You are really wise!
Thank you so much! You are great!  |
|
|
| Back to top |
|
 |
|
|