phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
MX sitemap problem

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
::  
Author Message
Siljo



Joined: 25 Jan 2007
Posts: 22

MX sitemap problemPosted: Fri Jun 01, 2007 8:16 am    Post subject: MX sitemap problem

Hi i just installed the mx sitemap standalone for phpbb.

It`s giving me a weird output.
You can see it here [ Link contains nudity ] this one is ok
This one is ok too [ Link contains nudity ]

but all post are wrong it`s givinge me this output

[ Links contains nudity ]

This are rules for htaccess that i used

Code:
____________________________________________________
>>> YOUR FORUM IS INSTALLED AT THE DOMAIN'S ROOT <<<
____________________________________________________
      >> phpBB SEO MIXED AND ADVANCED MOD REWRITE <<
____________________________________________________
AFTER THE FORUM REWRITERULES ADD :
__________________________________

#########################################################
# MX SITEMAPS REWRITE RULES   MIXED AND ADVANCED   #
#########################################################
# AUTHOR : dcz http://www.phpbb-seo.com/
# STARTED : 2006/04/28
########################################################
# INDEX
RewriteRule ^sitemaps\.html$ /sitemaps.php [QSA,L,NC]
# PORTAL INDEX
RewriteRule ^mx-map\.html$ /sitemaps.php?mx [QSA,L,NC]
# FORUM INDEX
RewriteRule ^forum-map\.html$ /sitemaps.php?fim [QSA,L,NC]
# PAGINATED FORUM MAP
RewriteRule ^[a-z0-9_-]+-fmp([0-9]+)-([0-9]+)\.html$ /sitemaps.php?fmp=$1&start=$2 [QSA,L,NC]
# FORUM MAP
RewriteRule ^[a-z0-9_-]+-fmp([0-9]+)\.html$ /sitemaps.php?fmp=$1 [QSA,L,NC]
# CATEGORIES
RewriteRule ^[a-z0-9_-]+-sc([0-9]+)\.html$ /sitemaps.php?c=$1 [QSA,L,NC]
#########################################################
# END SITEMAPS REWRITE RULES            #
#########################################################


please help


[ removed links due to nudity -peter77 ]
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15128

MX sitemap problemPosted: Fri Jun 01, 2007 9:39 am    Post subject: Re: MX sitemap problem

Shocked

This one is funny. Could you activate the last topic listing to see if these links are concerned as well ?

It looks like it could be related, I don't know how yet, but cannot find any where else it could come from, to the domain and forum url.

Try adding :
Code:
$phpbb_url = $root_url = "http://siljo.game-server.cc/";


Before :

Code:
//
// Include common module stuff...
//
include_once($module_root_path . 'includes/sitemaps_common.' . $phpEx);
include_once($module_root_path . 'includes/sitemaps_functions.' . $phpEx);


In sitemaps.php

++

_________________
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
Visit poster's website
Siljo



Joined: 25 Jan 2007
Posts: 22

MX sitemap problemPosted: Sun Jun 03, 2007 8:50 am    Post subject: Re: MX sitemap problem

no it doesen`t work.
It`s not working even if i disable the url rewrite.I left it on disable for now and you can see it here [ Link contains nudity ]
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15128

MX sitemap problemPosted: Sun Jun 03, 2007 10:36 am    Post subject: Re: MX sitemap problem

Are you using the 0.2.4 mod phpbb2 rewrite ?

Try replacing :

Code:
      $this->seo_path['PathToUrl'][$this->seo_path['phpbb_script']] = $this->seo_path['phpbb_url'];


With :

Code:
      $this->seo_path['PathToUrl'][trim($this->seo_path['phpbb_script'], '/') . '/'] = $this->seo_path['phpbb_url'];


in phpbb_seo_class.php, just in case.

++

_________________
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
Visit poster's website
Siljo



Joined: 25 Jan 2007
Posts: 22

MX sitemap problemPosted: Sun Jun 03, 2007 11:02 am    Post subject: Re: MX sitemap problem

Yes i`m using advanced mod rewrite 0.2.4 and that diden`t helped,still the same
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15128

MX sitemap problemPosted: Sun Jun 03, 2007 11:04 am    Post subject: Re: MX sitemap problem

Is there any "\" in your script_path in the phpbb_config table (acp => configuration) ?

_________________
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
Visit poster's website
Siljo



Joined: 25 Jan 2007
Posts: 22

MX sitemap problemPosted: Sun Jun 03, 2007 11:14 am    Post subject: Re: MX sitemap problem

no.In script path i have only /

Even more weird in IE i dont get
Code:
/\/
but i get
Code:
//
Question

Even more weird in IE it opens the site with this link http://siljo.game-server.cc//hrosc-vw-beatle-t3513.html
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15128

MX sitemap problemPosted: Sun Jun 03, 2007 12:15 pm    Post subject: Re: MX sitemap problem

It's kind of weird because the full domain is not always added, and there is a \ added.

Try adding :

Code:
      $this->path = str_replace('\\', '', $this->path);


After :

Code:
      $this->path = trim(trim(dirname($parsed_url['path']), "."),  "/");


In phpbb_seo_class.php.

++

_________________
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
Visit poster's website
Siljo



Joined: 25 Jan 2007
Posts: 22

MX sitemap problemPosted: Sun Jun 03, 2007 2:38 pm    Post subject: Re: MX sitemap problem

Yes Very Happy that did the trick.Thank you Very Happy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » phpBB SEO MODS
Page 1 of 1

Navigation Similar Topics

Jump to: