Requirements: Textpattern 4.5+
Full documentation and download link.
Check out arc_redirect’s GitHub repository for the latest development version and issues/feature requests.
]]>Examples
<txp:sho_urlencode><txp:permlink /></txp:sho:urlencode>
In case the permlink looked like this:
http://example.com/1/welcome-to-your-site
it would be converted to
http%3A%2F%2Fexample.com%2F1%2Fwelcome-to-your-site
Tag reference
The following tags can be used:
<txp:sho_urlencode><txp:permlink /></txp:sho:urlencode>
<txp:sho_rawurlencode><txp:permlink /></txp:sho:rawurlencode>
<txp:sho_urldecode>http://example.com/search?q=term</txp:sho:urldecode>
will return “http%3A%2F%2Fexample.com%2Fsearch%3Fq%3Dterm”<txp:sho_rawurldecode>foo%20bar%40baz</txp:sho:rawurldecode>
will return “foo bar@baz”History
To read more, see: http://iicph.org/2010/a
instead of
To read more, try to type this accurately in your browser: http://iicph.org/review-the-woman-who-knew-too-much
and still get there?
The help explains the simple steps and the performance issues. In a nutshell:
The plugin uses a slowish LIKE SQL query, but it only happens when there’s a 404, and only happens once per article per browser as the HTTP 301 redirection should get cached.
I looked at the zem_redirect plugin for inspiration.
]]>