suprabug

Pretty URLs with Pagination

Vote 0 Votes

(Here I go again...)

I'm finishing to setup my site and hacking htaccess file to redirect the long dynamic search URLs. But I stopped progression because search parameters for categories.

I'm using the recommended Pagination for Static Pages (http://www.movabletype.org/documentation/designer/pagination-static.html) technique for Main Index Page and Category Archive Listing Page. For the Main Page, things went smoothly:

Default URL: www.mysite.com/cgi-bin/mt-search.cgi?IncludeBlogs=XXX&template_id=YYY&archive_type=Index&page=ZZZ

Pretty URL: www.mysite.com/archive/pageZZZ

But with the Category Archive, I stopped here:

Default URL: www.mysite.com/cgi-bin/mt-search.cgi?IncludeBlogs=XXX&template_id=YYY&archive_type=Category&category=ZZZ&page=AAA

Pretty URL: www.mysite.com/category-ZZZ/pageAAA

The problem here is all XXX YYY ZZZ and AAA are numbers. Categories can be named on MT. Why mt-search.cgi can't accept names instead of numbers? I'm not saying search for a Category named like this "Some Whack a lot Named Hyper Category Made to ME!" but for its folder, which MT created and encoded for web use. Like this:

Default URL: www.mysite.com/(...)&category=proper-named-folder&(...)

Pretty URL: www.mysite.com/proper-named-folder

Does anyone know if there's a plugin that modifies the search behavior to accept this query?

Reported on Movable Type 5

2 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

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012