I am adding .htaccess RewriteRules for all the domains we have so we have pretty clean URLs like this one:
http://bgviewsnetwork.com/profile/meancodeThat is done by doing this:
RewriteEngine onRewriteRule ^profile/(.*)$ /mt/mt-cp.cgi?__mode=view&blog_id=49&username=$1 [P,L]Add a new RewriteRule for each domain you have. Just change the BlogID. Note I am not making a
/profile/ RewriteRule for each blog, just one per domain. This also makes the
profile_view_url template variable of no use anymore. Now, to modify the Entry Metadata template module, use this for your link:
<a href="/profile/<mt:EntryAuthorUsername>"><$mt:EntryAuthorDisplayName$></a>Next on the list of pretty looking URLs are tags. I have both of these changes live on the
Sports Blog. It will be live on every blog once I get the RewriteRules done, of which there are a lot - one for each blog in the system, no matter the domain. So now we have URLs such as this:
http://bgnewssports.com/tag/curtmillerThat is done by doing this:
RewriteEngine onRewriteRule ^dev/tag/(.*)$ /mt/mt-search.fcgi?blog_id=41&tag=$1 [P,L]RewriteRule ^tag/(.*)$ /mt/mt-search.fcgi?blog_id=49&tag=$1 [P,L]Add a new RewriteRule for each blog you have. Just change the BlogID and path. Now, to modify the Tag Cloud widget, use this for your link:
<a href="<$mt:BlogURL$>tag/<$mt:TagName normalize="1"$>" rel="tag"><$mt:TagName$></a>It is worth noting that even tags that have spaces, such as "
movable type" or "
curt miller" work with the
normalize attribute (which takes out spaces). Pretty slick.