Keyword

Different URL (Menuitem K2 TAG / K2 page&mod)

More
9 years 9 months ago #135678 by Joe Campbell
Replied by Joe Campbell on topic Different URL (Menuitem K2 TAG / K2 page&mod)
Cool, before I forget, this what I was referring to about the tag URL...

Using .htaccess to remove the hidden menu directory from all tag URLs
bit.ly/1HZVFjA

So for example, here's a tag URL from your website...
getk2.org/show/tag/announcement

Using a .htaccess rule, you could remove "/show" from the URL...
getk2.org/tag/announcement

This would be ideal to future proof a website (change of platforms, etc.)

I would also advise the inclusion of another rule to redirect all access to getk2.org/tag to the homepage (if not a site visitor will receive a 404 Error Page)

see what I mean...
getk2.org/show/tag/

Please let me know if you understand now and if it makes sense or if you know of a better solution :)

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 8 months ago #135765 by Krikor Boghossian
Replied by Krikor Boghossian on topic Different URL (Menuitem K2 TAG / K2 page&mod)
I have never tried the .htaccess solution.
If the CMS changes, chances are that you might need to edit this script, but I do not think this should concern you.

On the other hand even if K2 changes or even Joomla! I do not think the change will so drastic that the URL will change. That would affect millions of sites so It is safe to assume that your script will continue to work for a long time.

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