Keyword

Update K2 URLs after migration to Joomla 3

  • NUNO ALEXANDRE NOGUEIRA
  • NUNO ALEXANDRE NOGUEIRA's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #144353 by NUNO ALEXANDRE NOGUEIRA
Update K2 URLs after migration to Joomla 3 was created by NUNO ALEXANDRE NOGUEIRA
Hello,

I've just migrated to Joomla 3 and my K2 URLs are returning 404's.

Before the migration this was an example of a correct URL: URL

After the migration, this page opens with this URL: URL

So, the category is now behind the
/item/
part of the URL.

It is very important, for SEF reasons, to preserve the old URL structure. I had the following line in .htaccess to force all K2 items to that structure:
RewriteRule ^.+/item/(.+)$ /item/$1 [R=301,L]

How can I bring this URL structure back?

Help please!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #144356 by Krikor Boghossian
Replied by Krikor Boghossian on topic Update K2 URLs after migration to Joomla 3
Hello,

You need to setup the Advanced SEF Settings.
They are located under K2's Advanced settings.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • NUNO ALEXANDRE NOGUEIRA
  • NUNO ALEXANDRE NOGUEIRA's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #144357 by NUNO ALEXANDRE NOGUEIRA
Replied by NUNO ALEXANDRE NOGUEIRA on topic Update K2 URLs after migration to Joomla 3
Hello,

Thank you so much for your quick answer!

I've now got the following settings (see attachment)

http://imgur.com/J6PTNoQ

But still can't remove the category name of the URL. That is, transform this:
www.portal-gestao.com/slideshow/item/7687-o-que-significa-mass-customization.html

Into this:
www.portal-gestao.com/item/7687-o-que-significa-mass-customization.html

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #144358 by Krikor Boghossian
Replied by Krikor Boghossian on topic Update K2 URLs after migration to Joomla 3
If this www.portal-gestao.com/slideshow is a menu item, then you cannot remove the menu item's prefix.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • NUNO ALEXANDRE NOGUEIRA
  • NUNO ALEXANDRE NOGUEIRA's Avatar Topic Author
  • Offline
  • Senior Member
More
8 years 11 months ago #144359 by NUNO ALEXANDRE NOGUEIRA
Replied by NUNO ALEXANDRE NOGUEIRA on topic Update K2 URLs after migration to Joomla 3
Ok, is that new in Joomla 3?

I created a top-level menu item with all the categories and alias item
It solved the problem, I believe...

Thank you very much for your support!

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 11 months ago #144390 by Krikor Boghossian
Replied by Krikor Boghossian on topic Update K2 URLs after migration to Joomla 3
You 're welcome Nuno.
Btw the menu functionality is the same in both versions.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum