Tuesday, November 29, 2016

Joomla 3.6 Tag SEF URLs Broken - Solved!

This morning we discovered that the SEF structure of tags in Joomla 3.6.4 produces an item like this URL: ../component/tags/tag/4-tag.html. After searching around for a solution, the best we could do with out spending days debugging, was to set up a menu item pointing to tags, then set a .htaccess rewrite. For example: RedirectMatch 301 ^/component/tags/tag/(.*)$ /blog/tags/$1 . That this little trick does for those who do not know, is it sells the server if a request is made for any URL with this element "/component/tags/tag" to be redirected/rewritten as "/blog/tags/(var)". So, the item becomes /blog/tags/4-tag.html. This has solved the problem for the time being.

from Web design emarketing product photography blog - Serr.biz Hoboken, NJ & Annapolis, MD http://www.serr.biz/blog/304-joomla-3-6-tag-sef-urls-broken-solved.html

No comments:

Post a Comment