11 years ago
3
Topic

Hello all,

I have a problem with redirection of SEBLOD URLs.

I cannot set redirects in Joomla component "Redirect" for URLs that are generated by SEBLOD. The redirects that I set in the Joomla component have no effect.


Example:

old URL of a SEBLOD content: .../category/contentalias-old

new URL of this SEBLOD content: .../category/contentalias-new.

So the URL was changed here by changing the alias of that content article.


Now the old URL .../category/contentalias-old is still available in the system but it leads to an empty page.


How do I remove the old URL from the system or redirect it to the new one? 

I know I could do it manually in .htaccess. But this is not an option here.


Like I said above, when I make a new redirect through Joomla's Redirect component, it doesn't take effect. I guess this is because SEBLOD uses its own router.php.


Any help on this would be much appreciated.

Get a Book for SEBLOD
11 years ago
0
Level 1

Hello all,

I am still having this problem and I am wondering if anybody has an idea how to approach a solution.

Thank you

gerhard

251 Posts
Viktor Iwan
11 years ago
1
Level 1

Have you tried semi-manual way on with manual code in your template :

$mainframe = JFactory::getApplication();
 $mainframe->redirect(JRoute::_('[redirect_url]'));



11 years ago
0
Level 2

Hello Viktor,

thank you for your suggestion. I will try that.

In your piece of code, do I have to replace [redirect_url] with my URL or will Joomla pull the correct URL from the redirect component automatically?

Get a Book for SEBLOD