Page 1 of 1

[phpBB3] URL rewriting and Sitemaps

Posted: Fri May 27, 2016 2:32 am
by nicolasg
I have a problem, no rewrite url in sitemap :(

I use this module :
https://www.phpbb.com/customise/db/exte ... o_sitemap/

Do you have any solution please ? or other extension sitemap compatible with the module inveo ?

Thank ;)

Re: [phpBB3] URL rewriting and Sitemaps

Posted: Fri May 27, 2016 3:29 am
by inveo
To add support of URL rewriting to this Sitemaps extension, please:

1) open /ext/shredder/sitemap/core.php file:

Find:

Code: Select all

class core


Replace with:

Code: Select all

define('MSU_LOAD_LIB_ONLY_BB', true);
include(dirname(dirname(dirname(dirname(__FILE__)))).'/includes/magic_seo_url.php');

class core


Find:

Code: Select all

$f_xml .= '<loc>'.$loc.'</loc>'."\r\n";


Replace with:

Code: Select all

$f_xml .= '<loc>'.msuTransformUrlBb($loc).'</loc>'."\r\n";


Save and upload to your FTP and all is done :-)

Re: [phpBB3] URL rewriting and Sitemaps

Posted: Fri May 27, 2016 3:40 am
by nicolasg
Very good :) ;)

Re: [phpBB3] URL rewriting and Sitemaps

Posted: Wed Oct 12, 2016 12:28 pm
by Binano
Hello,

There's a new version. Can you help me please ?
https://www.phpbb.com/customise/db/download/128081

Re: [phpBB3] URL rewriting and Sitemaps

Posted: Thu Oct 13, 2016 4:50 am
by inveo
To add support of URL rewriting to the the recent version of this Sitemaps extension, please:

Open /ext/shredder/sitemap/core.php file:

Find:

Code: Select all

class core


Replace with:

Code: Select all

define('MSU_LOAD_LIB_ONLY_BB', true);
include(dirname(dirname(dirname(dirname(__FILE__)))).'/includes/magic_seo_url.php');

class core


Find:

Code: Select all

$this->appender->append($f_url, (int) max(array_merge($glob, $ann, $times)), $this->config['sitemap_seo_freq_f'], $this->config['sitemap_seo_prior_f']);


Replace with:

Code: Select all

$this->appender->append(msuTransformUrlBb($f_url), (int) max(array_merge($glob, $ann, $times)), $this->config['sitemap_seo_freq_f'], $this->config['sitemap_seo_prior_f']);


Find:

Code: Select all

$this->appender->append($t_url, max($times), $this->frequency[$t_type], $this->priority[$t_type]);


Replace with:

Code: Select all

$this->appender->append(msuTransformUrlBb($t_url), max($times), $this->frequency[$t_type], $this->priority[$t_type]);


Save and upload to your FTP and all is done :-)

Re: [phpBB3] URL rewriting and Sitemaps

Posted: Thu Oct 13, 2016 6:03 am
by Binano
Good job ! 8-)

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
  • [phpBB3] Chinese language support
    Hi, i bought magic seo for phpbb because it says that it supports a wide range of alphabets and UTF-8, however i found that it doesn't. I'm preparing a website in Chinese and all forums having a...
    by iwsmike
  • [WP2PS] Yoast SEO plugin
    Thanks for your support installing the PS-WP integration. However there is some errors when PS-WP integration is activated. 1. Error generating sitemap with Yoas SEO plugin (it disappears when...
    by argidomin
Join our support forum » Pre-Sales Questions »
Featured Testimonials

We are glad with our business relationship with the folks at Inveostore.com. They are very knowledgeable and speed of support is second to none. They have also gone the extra mile to assist us in writing codes to make other urls to have the nicely formed urls. Kudos to all the team at Inveo and keep up the good work. Looking forward...

Issac, the owner of Clevershoppers.com

Search friendly URL's are very important for marketing any site, let alone an e-commerce site like CRE Loaded. A client site built on CRE Loaded needed a plug-in to fix the PHP based URL's. Magic SEO URLs are running flawlessly and doing exactly what it is supposed to: providing those search friendly URL's. I had them install it as well...

Chad, the owner of Website Marketing & Website Development

More Testimonials »