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  
 
   
GYM Sitemaps and able2know mod

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
::  
Author Message
ronyeli



Joined: 27 Feb 2007
Posts: 18

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 3:46 pm    Post subject: GYM Sitemaps and able2know mod

Dear forum members,
I have installed this mod and it looks very good,
The problem I'm havening is the migration with the able3know mod that i have installed.

1. when i activate "URL rewriting type" on the cp to "on", i see the URL in the sitemaps forums like that:
/topic1216.html
instead of that:
about1216.html
(i have replaced the file "sitemap_forum.php" with the one you included in the contrib folder for able2know.

2. when i activate "URL Rewriting" to yes, it is giving me inside sitemaps.xml this strange url's: "/forum-gf1.xml"
when i go to this url I'm getting a forum message "The forum you selected does not exist."

I will appreciate any help with this issues greatly...
Thanks!
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 4:22 pm    Post subject: Re: GYM Sitemaps and able2know mod

And welcome Very Happy

Actually, it seems you confused a bit between the older and the up to date version of the sitemap module.

sitemap_forum.php is used by the mx Google sitemaps module 1.0.x and the forum-gf1.xml uri is used by the GYM sitemaps (aka mx Google sitemaps), eg 1.2.0RC.

So make sure you deleted all the mx Google sitemaps files before you start using the update.

Then, thing are different with the new method, you can of course migrate for many reasons, but if you prefer, you can keep the able2know mod as is, you'll stay with the duplicate that's all Wink

To have the mod output the correct url, you just need to open :
Code:
mx_ggsitemaps/includes/ggs_functions.php


Find :

Code:
         $this->seo_url = array( 'cat' => 'cat',
            'forum' => 'forum',
            'topic' => 'topic',
            'user' => 'member'
         );


Replace with :

Code:
         $this->seo_url = array( 'cat' => 'cat',
            'forum' => 'forum-',
            'topic' => 'about',
            'user' => 'member'
         );


Go acp, set mod rewrite on and mod rewrite type to simple, you should be done.

You'll have to clear cache before you see any change and implement the module's rewriterules if you want to use the rewritten sitemaps and rss links.

++

_________________
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
ronyeli



Joined: 27 Feb 2007
Posts: 18

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 5:00 pm    Post subject: Re: GYM Sitemaps and able2know mod

Thank you dcz
unfortunately it didn't work for me...i even tried to install and replace the able2know with your mod_rewrite but it didn't work (i have a different index.php code and couldn't find the code to be replaced)

you can see it here: http://www.forhair.com/hairtransplant/sitemaps.xml

http://www.forhair.com/hairtransplant/sitemap.php?forum=1

it is still using "topicxxx.html

I was wondering if maybe you can install it for me....i am willing to pay you if you want.
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 5:17 pm    Post subject: Re: GYM Sitemaps and able2know mod

oups, forgot this part, you need as well to change :
Code:

         $this->seo_static = array('cat' => 'cat',
            'forum' => 'forum',
            'topic' => 'topic',


with:

Code:
         $this->seo_static = array('cat' => 'cat',
            'forum' => 'forum-',
            'topic' => 'about',


as well Wink

++

_________________
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
ronyeli



Joined: 27 Feb 2007
Posts: 18

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 6:29 pm    Post subject: Re: GYM Sitemaps and able2know mod

Thank you, it worked! , i really appreciate your help Very Happy

I stil have this problem tho:

Code:
when i activate "URL Rewriting" to yes, it is giving me inside sitemaps.xml this strange url's: "/forum-gf1.xml"
when i go to this url I'm getting a forum message "The forum you selected does not exist."


Do you know what is causing this? when i submitted the sitemap to google it also see this "/forum-gf1.xml" as an error....

Thanks
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14403

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 6:35 pm    Post subject: Re: GYM Sitemaps and able2know mod

This is probably because of the able2know rewriterules, even if one matches, all of them are tried.

So there could be confusion with a forum url.

Try put the GYM rewriterule before the able2know ones, should do it.

++

_________________
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
ronyeli



Joined: 27 Feb 2007
Posts: 18

GYM Sitemaps and able2know modPosted: Tue Feb 27, 2007 6:54 pm    Post subject: Re: GYM Sitemaps and able2know mod

awesome!!!

that did it...thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » GYM Sitemaps
Page 1 of 1

Navigation Similar Topics

Jump to: