Playing Around With Easy Content Units & Wordpress To Mitigate Duplication
So I'm going to do a bigger post on the process of moving from Blogger to Wordpress and all the bits and bobs, stresses and headaches that go with it. But here's just a quick one for those people that block out category, tag and search pages due to the fear of duplication.
Well there's no need to!
What you can do is add content to these pages on a page by page basis. I want to show a unique head paragraph for specific category pages so that's what I've done on my Ganache and guest reviews category pages with the code within the archive.php template:
<?php if (is_category('guest-reviews')) { ?><p>The reviews below are from Guest Reviewers. Having just one reviewer may give a slanted perception of chocolate, so offering the site up to others to add their thoughts should give a more balanced scope of reviews.</p><p>Reviewers are chosen for their lack of bias or favouritism for a particular brand, but they may prefer certain types of chocolate so feel free to give them your feedback</p><?php } elseif (is_category('Ganaches')) { ?><p>Ganache is a smooth mixture of chocolate, cream, and butter. Generally, it is dipped in tempered chocolate and rolled in powdered cocoa, sweetener, or other coatings to create a truffle, though it is also frequently used as the centre of a bonbon. » Read more in the <a href="http://www.chocolatereviews.co.uk/chocolate-glossary/">Glossary</a>. «</p><?php } else { ?><p>Below you can see a list of reviews about <?php single_cat_title(); ?> - we hope you enjoy! </p><?php } ?>
It's not rocket science really. I'm crap at php but am learning the odd bit here and there. I've even started to put conditional EasyContentUnits in dependent in the category at the bottom - although I need to sort the formatting out. The code I used was similar:
<?php if (is_category('ganaches')) { ?>[Your ECU php unit code]<?php } else { ?><p>That's all for: <?php single_cat_title(); ?> - we hope you enjoy! </p><?php } ?>
I also use the excerpt option when posting to add a little snippet to appear in the search results (I block this) and meta description:
<h3><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h3><?php echo htmlentities(the_excerpt()); ?>
Now I'm working on changing the sidebar navigation dependent on what category the individual posts are in. Everything is possible if you put your mind to it.
![]() |
4 Comments:
Wow you have finally given in and joined the wp family. Some good tips there. Like you I am not great at php but it is really quite easy to do conditional sidebars etc to make every page unique
Hi Lee,
Great tip - I have deliberated many a time as to whether to block category pages in fear of duplicate content and I think you have come up with a great solution.
A plugin you might want to try is W3 Total Cache - you can minify some of the css and js files, although I have had issues getting it to work with the contact form 7 plugin - I just leave the css and js files alone.
Also, there are a couple of links on your Best Chocolate shops sidebar that are throwing errors - Thorntons and Hotel Chocolat are 2 of them.
Cheers,
Hamish
Hi Hamish,
Doh I forgot to transfer that folder over! Thanks for the heads up.
Spending my illness-festooned day tweaking more category pages - its a brainless task really.
Let me know how you get on!
Lee
I'm also going to look at just getting this content on to the first page of a category.
I saw the code somewhere, just need to find it again.
Post a Comment
Subscribe to Post Comments [Atom]
Home:- Home
- RSS Feed
- Miss-Spells Tool
- 0 To 4,000 Visits A Day In Ten Weeks Using Blogging
- The 10 Affects Of Google's Trademark Policy Changes For Affiliates
- So Who Is MyVoucherCodes' Mark Pearson
- Twitter For Affiliate Marketing? Like Shooting Fish In A Barrel
- Top 10 Tools To Improve Affiliate Productivity
- Industry Greats - An Interview With Joe Connor
- Had Enough Of Crappy Link Building Emails
- So What Actually Is Wrong With Some Voucher Code Sites? Case In Point
- Don't Believe The Hype - All That Glitters May Not Be Gold
- Look To The Long Tail For Affiliate Gold
- How Should You Select Merchants To Promote? Part 1: Networks
- Has Seth Godin's Meatball Sundae Gone Off?
- Affiliates: What Has Google Ever Done For Us?
- Don't Do Paid Posts - I Told Ya So!
- My Christmas Winners at Affiliate Window
- No I Won't Sell Links, Sponsored Reviews Or Pay Per Post
- What Will Affiliate Marketing Be Like In 5 Years?
- The End Of Blogging Is Nigh
- Google Analytics Please Give Me For Christmas
- Another Look At Brand Name Bidding
- What Do You Need To Be a Successful Affiliate? The Ten Traits
- 10 Top Tips: Successful Affiliate Marketing During a Recession
- Why I Effectively Left Affiliate Marketing
- And Why I'm Back
- Complete Rubbish About Affiliate Marketing
- All Those Social Media Knockers: Start Listening
- The Great Big Social Land Grab - Call it Bubble 2.0
- Where ASOS Get's Its Traffic From
- SEO Ranking Factors
- Google to Hit "Hidden Links" Sites Harder
- Who Said Doorways & Hidden Link Spam Are Dead?
- Nick Robinson - ASOS Numpty?
- What Can You Learn From The Affiliate Marketing Leaders?
- Down to the Social - Twitter
- Dissecting Affiliate Marketing
- Via Email
- MSN - myname@hotmail.com
- Affiliate Marketing
- Brand Name Bidding
- SEO
- Social Media
- UK Affiliate Networks
- Altogether Digital
- dgm
- Webgains
- Lee, Please ...
- Answering Elaine's SEO Questions
- How To Get More ReTweets
- Thanks MDS Battery For My Porno Bunnies
- Kids Today Don't Know They're Born
- Are Malformed Links Any Good?
- Tracking Link Profiles Over Time
- Why I've Been Quiet. And A Very Merry ....
- Quick Way To Find Forums For Links & Exposure
- An Open Letter To Gordon Ballantyne, Sales & Servi...
- HallNet Ltd
- Hot in 2007
- Shiply
- Hot in 2009
- Hot in 2008
- SEO Warrington
- Get Visible Blogs (Out of date)

Most Popular Posts:
Twitter Updates:
follow me on Twitter
Contact Me
Lee's Views On:
Meet The Networks:
Previous Posts
Social Marketing Stuff
Related Sites
Another Affiliate Marketing Blog
2008 Posts
Jul / Aug / Sept / Oct / Nov / Dec
Jan / Feb / Mar / Apr / May / Jun
2007 Posts
Jul / Aug / Sept / Oct / Nov / Dec
Jan / Feb / Mar / Apr / May / Jun