Caio

How to "pretify" a url in htaccess with a few wildcards

Vote 0 Votes

I need to pretify a url in movable type for tags. basically I want something like: technicae.net/tag/2-words instead of: http://www.technicae.net/cgi-bin/type/mt-search.cgi?IncludeBlogs=2&tag=2%20words&limit=20

I tried:
RewriteRule ^/tag/(.*)$ /cgi-bin/type/mt-search.cgi?IncludeBlogs=2&tag=$1&limit=100 [L,PT]

but it didn't work out as in it didn't provide results.

I was wondering if anyone can help me. My url is http://www.technicae.net

Reported on Movable Type 5

25 Replies

| Add a Reply

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

code.sixapart.com

141 500

Last Topic: Action Stream for LinkedIn by michael webster on Jan 10, 2013

263 928

Last Topic: Lock Access to Global Templates by TJ Simons on Jun 11, 2013

1885 6681

Last Topic: listing tags within a category by wwordsworth on Jun 15, 2013

89 312

Last Topic: Seeking explanation of files and folders by CosmicKnight on Feb 23, 2013

1534 5534

Last Topic: Current taxpayers number too small Says CBDT chief by dimpi on Jun 18, 2013

745 3156

Last Topic: Importing and Creating Subcategories by Marc Boucher on May 24, 2013

90 347

Last Topic: HELP! I need to 301 over 100 urls on my site via htaccess by justin on Feb 22, 2013

193 805

Last Topic: Deleting Revision History by Will Haynes on Mar 16, 2013

221 734

Last Topic: Anyone ever used JumpBox for the Movable? by develope movable on Jun 12, 2013

28 100

Last Topic: Movable Price by joe22 on Jan 10, 2013

67 252

Last Topic: MT 5.2.6 by Daniel M on Jun 14, 2013