<$mt:TagSearchLink$>
A variable tag that outputs a link to a tag search for the entry tag in context. The tag context is created by either an EntryTags or a Tags block.
Like all variable tags, you can apply any of the supported global modifiers to TagSearchLink to do further transformations.
The example below shows each tag in a cloud tag linked to a search for other entries with that tag assigned. It can just as easily be used to link entry tags within an EntryTags loop
<h1>Tag cloud</h1>
<div id="tagcloud">
<mt:Tags>
<h<$mt:TagRank$>>
<a href="<$mt:TagSearchLink$>"><$mt:TagName$></a>
</h<$mt:TagRank$>>
</mt:Tags>
</div>
The search link will look something like:
http://example.com/mt/mt-search.cgi?blog_id=1&tag=politics
Using Apache rewriting, the search URL can be cleaned up to look something like:
http://example.com/tag/politics
A URL like this would have to be built like this:
<$mt:BlogURL$>tag/<$mt:TagName normalize="1"$>
And of course, you would have to create the .htaccess rules to translate this into a request to mt-search.cgi.
Jay Allen
November 1, 2007 3:37 PM | Reply
This tag supports the MultiBlog template tag attributes
blog_ids/include_blogsandexclude_blogsfor aggregating across different blogs.Michele Neylon
April 19, 2009 6:46 AM | Reply
It would be helpful to provide an example of the mod_rewrite rule rather than simply saying "it can be done", which I find quite frustrating
Andymatic
July 31, 2009 4:18 PM | Reply
Instructions for tag archives for Movable Type from the old MT beta blog:
abbas ?
August 17, 2010 3:21 AM | Reply
there are two type of search links im my site :
1: http://mirsoft.net/cgi-bin/mt/mt-search.cgi?blog_id=1&tag=download 2:
http://mirsoft.net/cgi-bin/mt/mt-search.cgi?IncludeBlogs=1&tag=download
type 1 is: IncludeBlogs=1 type 2 is: blog_id=1
this two type makes Links homonymous But with two different addresses. in the google webmaster tools ,part :HTML suggestions ,This is a difficult to name of Duplicate title tags and i have about 2000 Duplicate title tags in google search, and this is not good for my page rank. help me please. my problem is in serach result template ,in the search page when i click on the any tags links this type of links is appear:IncludeBlogs=1 but from other pages appear :blog_id=1 What should I do? thanks