- Posts: 15
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] error rewriting the link to K2 Media Manager front
[SOLVED] error rewriting the link to K2 Media Manager front
- MessageDJ
-
Topic Author
- Offline
- New Member
After installing sh404SEF to my site the image link in the extra fields is not working. That is because your component sh404sef is rewriting the link to K2 Media Manager from frontend which is resulting in '404 not found' error.
From what we can see the correct link without rewriting should be:
/destinations/central-south-america/media?type=image&tmpl=component&fieldID=K2ExtraField_9
however it is being stripped to just:
?fieldID=K2ExtraField_9&tmpl=component&type=image
is there a fix for this?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which version of K2 and Joomla! are you using?
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
Web Site URL:
PHP Built on: Linux server.djhost.nl 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 21:14:45 UTC 2014 x86_64
Database Version: 5.5.40-log
Database Collation: utf8_general_ci
PHP Version: 5.4.34
Web Server: Apache/2
Server PHP interface: apache2handler
Joomla! Version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.122 Safari/537.36
sh404SEF Version: sh404SEF 4.4.6.2271
Did u find any similar threads when you searched the forum?: Yes
Does the problem occur with the rhuk_milkyway Joomla template?: Didn't try
Are SEF URLs working as expected using the core Joomla SEF?: Yes
What rewrite mode are you using?: mod_rewrite
If using mod_rewrite mode, have you renamed htaccess.txt to .htaccess?: Yes
Have you made any modifications to sh404SEF or it's plugins?: No
Does your issue concern Virtuemart?: No
Virtuemart Version:
Are you using any JoomSEF or AceSEF plugins?: No
JoomSEF/AceSEF plugins:
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Is it possible to add these urls with a similar pattern (?type=image&tmpl=component&fieldID...) or do you have to exclude entire components?
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
There`s no option to exclude from sh404sef just a non-sef url, you can only exclude a whole component in sh404sef configuration at "By component" tab
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Thank you for your feedback (and the come and forth).
I will mark it as an issue. We will notify you here when there is a solution.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
It has been fixed with this patch github.com/joomlaworks/k2/commit/c0d49396516b87bb17723846f447362ea2671b04
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
Please Log in or Create an account to join the conversation.
- MessageDJ
-
Topic Author
- Offline
- New Member
- Posts: 15
disabled the JHC optimize plugin, and all the links worked again.
sorry for this guys. but thanks for the help
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] error rewriting the link to K2 Media Manager front