- Posts: 52
COMMUNITY FORUM
Update K2 URLs after migration to Joomla 3
- NUNO ALEXANDRE NOGUEIRA
-
Topic Author
- Offline
- Senior Member
Less
More
10 years 1 week 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 thepart 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:
How can I bring this URL structure back?
Help please!
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/
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week 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.
You need to setup the Advanced SEF Settings.
They are located under K2's Advanced settings.
Please Log in or Create an account to join the conversation.
- NUNO ALEXANDRE NOGUEIRA
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 52
10 years 1 week 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
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week 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.
Please Log in or Create an account to join the conversation.
- NUNO ALEXANDRE NOGUEIRA
-
Topic Author
- Offline
- Senior Member
Less
More
- Posts: 52
10 years 1 week 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!
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 1 week 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.
Btw the menu functionality is the same in both versions.
Please Log in or Create an account to join the conversation.