| :: |
| Author |
Message |
brad10
Joined: 02 Jul 2006 Posts: 4
|
Posted: Sun Jul 02, 2006 7:22 pm Post subject: Webmedic's Mod Rewrite and Sitemap Generator |
|
|
I'm currently using webmedic's mod rewrite for my phpBB.
I've tried implementing the sitemap generator available from this phpBB, but, the topic urls are not in the correct format.
Is there any way of modifying the sitemap generator to work with webmedic's mod rewrite?
Cheers,
Brad |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
|
| Back to top |
|
 |
brad10
Joined: 02 Jul 2006 Posts: 4
|
Posted: Sun Jul 02, 2006 8:04 pm Post subject: Re: Webmedic's Mod Rewrite and Sitemap Generator |
|
|
I tried to implement the mx Google sitemap mod, but it' not displaying the correct URLs. Obviously, the mx Google sitemap mod was not designed to work with webmedic's mod rewrite.
But, is there any way of modifying the mx Google sitemap mod so it works with webmedic's mod rewrite?
Alternatively, is anyone aware of a Google sitemap mod created by webmedic's that works with his mod rewrite?
Thanks! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
|
| Back to top |
|
 |
brad10
Joined: 02 Jul 2006 Posts: 4
|
Posted: Sun Jul 02, 2006 11:03 pm Post subject: Re: Webmedic's Mod Rewrite and Sitemap Generator |
|
|
I've uploaded Webmedic's 'sitemap_forum.php'. But when I run sitemap.php I get the following error:
| Quote: | | Fatal error: Call to undefined function: make_url_friendly() in /home/dave/public_html/mx_ggsitemaps/includes/sitemap_forum.php on line 94 |
Line 94: $forum_url = make_url_friendly($forum_data['forum_name']) . '-vf' . $forum_id . '.html';
Am I somehow missing the 'make_url_friendly' function???
Thanks for your help so far! |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14403
|
Posted: Sun Jul 02, 2006 11:36 pm Post subject: Re: Webmedic's Mod Rewrite and Sitemap Generator |
|
|
Oh sorry, this must be because you are not using the 2.31 version.
Since webmedic was unreachable for long, I updates the code and moved the make_url_friendly() function from header.php to function.php so that you can use it in every mod you want.
The previous webmedic's method was to repeat the code in every mod outputing URLs such as the adapted version of the sitemap generator he had set up.
So, you can either upgrade to the 2.31 version or move the the make_url_friendly() function from header.php to function.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 |
|
 |
brad10
Joined: 02 Jul 2006 Posts: 4
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

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