Extensions are not supposed to change anything in the core files.
tas2580 wrote:Can you send me a PM with your htaccess?
cichy_ludek wrote:tas - can you answer me? It is "simple" possible, to call you method to create link in other extensions? How?
Code: Select all
if (class_exists('\tas2580\seourls\event\base'))
{
$seourl = new \tas2580\seourls\event\base($this->auth, $this->config, $this->phpbb_root_path);
$forum_link = $seourl->generate_forum_link($forum_id, $forum_name, $start);
$topic_link = $seourl->generate_topic_link($forum_id, $forum_name, $topic_id, $topic_title, $start);
$link_to_last_post = $seourl->generate_lastpost_link($replies, $topic_link);
}
Yes if you overwrite your htacces file with an update.pioneerwebsites wrote:So do I have to manually replace the extension's rewrite rules in .htaccess file after every update?
But this is the only one way to rewrite URLs. I have tried to use symfony routing for that. Its no problem to route to an controller but in the controller I can't just include viewforum.php because ofExtensions are not supposed to change anything in the core files.
define('IN_PHPBB', true);
Yes, I will take a look at it now.Asphunter wrote:tas2580 wrote:Can you send me a PM with your htaccess?
Have you got it?
viewtopic.php?f=2&t=4
) is easier to share via social media, it's shorter, it looks less spammy when members write random rubbish in titles. I do understand that from a SEO point of view having your keywords in your title, URL and post makes for a better SEO score of a post, but im not sure how important it really is and weather it really over rules the fact the URL will instally be double the length making it harder to share. If your only going to shorten your link on social media it kinda defeats the purpose of installing this mod. Thanks for all your work here - just wondering, where can I find the XML Sitemap?tas2580 wrote:New Update. Added a XML-Sitemap.