filtering short permalinks
-
I want to do the following:
permalink structure:
/post/%post_id%/%postname%/
this works fine and allows me to use either the full permalink or to drop the name and just use the id (IM, email, twitter, etc) – kind of a built-in tinyurl.
Problem is I don’t want the short version indexed by the search engines (dupe content, etc.)
Any ideas how I could add:
<meta name="robots" content="noindex">
to the header ONLY when the short version is used? (ie: when the post title is not in the URL)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘filtering short permalinks’ is closed to new replies.