Posted Post
Posted People, Posted Life.Archive for June, 2008
Single “Category Permalink Structure”
What is SINGLE “Category Permalink Structure”?
Here is an example:
One of my blog category URL looks like this before:
http://fashion.postedpost.com/category/fashion-house/accessories/ties/
After single it, it will look like:
http://fashion.postedpost.com/category/ties/
Why we need shorter category permalink?
- Shorter is better, you know, size is always an issue.
- Change categories structure anytime without change urls
- Avoid duplicate content issue, because both of URLs are display a same webpage.
How to do it.
Find category-template.php in WordPress wp-includes folder, find this function: function get_category_link($category_id)
Comment the following lines:
//if ( $parent = $category->parent )
// $category_nicename = get_category_parents($parent, false, ‘/’, true) . $category_nicename;
(or get a plugin if you like)
Fairness, Idealism and Other Atrocities
I am a republican, I am on the RIGHT hand side of life. Check what I got today, Commencement advice you’re unlikely to hear elsewhere. very decent and useful, worth read and think, by P.J. O’Rourke
Well, here you are at your college graduation. And I know what you’re thinking: “Gimme the sheepskin and get me outta here!” But not so fast. First you have to listen to a commencement speech.
Don’t moan. I’m not going to “pass the wisdom of one generation down to the next.” I’m a member of the 1960s generation. We didn’t have any wisdom.
We were the moron generation. We were the generation that believed we could stop the Vietnam War by growing our hair long and dressing like circus clowns. We believed drugs would change everything — which they did, for John Belushi. We believed in free love. Yes, the love was free, but we paid a high price for the sex. Read the rest of this entry »
Hello My World!
Welcome to PostedPost.com. This is my first post. I already edited it and began blogging!
