How to change Target url structure?
Hi, I've successfully changed in my forum default discussion and category links structure with SEOLinks (HTML Links) Plugin.
Now instead of http://myforumname.com/discussion/10/Discussion-Name/p2 I have http://myforumname.com/category-name/d10-Discussion-Name/p2, please don't ask why I need it, but It's really important for me to get real links in this way.
The problem is with with $Target links, this plugin doesn't change them, and I don't know how to change them in other way.
In example, in views/modules/guest.php is something like:echo Anchor(T('Sign In'), SignInUrl($this->_Sender->SelfUrl), 'Button Primary'.(SignInPopup() ? ' SignInPopup' : ''), array('rel' => 'nofollow'));
SelfUrl is in library/core/class.dispatcher.php on line 268:$Controller->SelfUrl = $this->Request;
But what next? Which function is responsible for the output of this default url? Or maybe I'm trying to do this in wrong way...
Comments
I'm not sure whether the plugin could be improved to account for this case or not. For SEO purposes, that Target issue isn't going to matter. The plugin sets the SEOLinks version of the URL as the canonical URL via a meta tag, so you won't get duplicate content warnings or anything like that.
The target in this case is the Discussion. That means that after the sign in they are redirected to the Discussion.
You have made the categories page the home page?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌