Keyword

Spacing in URL for tag links at the bottom of the articles

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84593 by Francis Darren
Hi guys, I'm facing a bug where the URLs are broken for tags at the bottom of the articles. I came across some articles stating that this has been solved but it doesn't seem to be the case for me. The problem only happens for tags with more than 1 word.Could someone advice me on which file I need to change to fix this? Thanks

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

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84594 by Francis Darren
....

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

More
13 years 10 months ago #84595 by Kailey Lampert
Hi Darren,
I don't if this will help, but you can see the modified version of one of the files here: trepmal.com/joomla/joomlak2-tags-mod/ (it's the same basic fix for the 3 files mentioned).

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

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84596 by Francis Darren
Thanks for replying. Do I need to do it for all 3 files? I tested it one by one individually. Don't think it fixed it but I'll try again. I want the tags below the articles to be fixed.

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

More
13 years 10 months ago #84597 by Kailey Lampert
You'll definitely want to edit the 2 files in the components directory (one for single article view and the other for category view), and if you're using the K2 modules to display tags, you'll want to edit the third file too.

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

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84598 by Francis Darren
Thanks a billion! it works!

Edited item.php and category_item.php in mytemplate/html/com_k2 instead of /components/com_k2/templates/default/

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

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84599 by Francis Darren
Hmm, the link is showing right but i'm still getting the 404 error

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

More
13 years 10 months ago #84600 by Kailey Lampert
wise choice. I've never been good with templates... I'll have to work on that :)

Darren Francis said:Thanks a billion! it works!
Edited item.php and category_item.php in mytemplate/html/com_k2 instead of /components/com_k2/templates/default/

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

More
13 years 10 months ago #84601 by Kailey Lampert
Unfortunately, if the the link is showing the plus but is still giving a 404, I'm not sure what the problem is.

Darren Francis said:Hmm, the link is showing right but i'm still getting the 404 error

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

  • Francis Darren
  • Francis Darren's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 10 months ago #84602 by Francis Darren
I suspect it has something to do with sh404sef this time

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


Powered by Kunena Forum