Go Back   Pligg CMS Forum > Pligg Help > General Help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-19-2007, 05:14 PM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
HELP - Title Tags For Category Pages

I need help with creating unique title tags for my category pages. This is very helpful with SEO, so this is rather important I think.

This is what I currently have in my title tag located in my pligg.tpl file:

Code:
<title>{if isset($pretitle)}{$pretitle}{/if}{if $pagename eq "published"}My Home Page Title Here{elseif isset($posttitle)}{$posttitle}{/if}</title>
Using this method allows me to have a different home page title from the story titles -- however, it also uses this title for all the other CATEGORY pages, which I do not want. I've tried other methods such as this:

Code:
<title>{if isset($pretitle)}{$pretitle}{/if}{if $pagename eq "published"}{if $category eq "Category A"}My Category A Title{elseif $category eq "Category B"}My Category B Title{else}My Home Page Title Here{/if}{else isset($posttitle)}{$posttitle}{/if}</title>
Is there anyone that can help me with this? It just won't work. It's almost like the $category string is being ignored and isn't recognized. Is there perhaps a different string I could use that would help me define a title for each of my categories? Or perhaps my {if} statements were written incorrectly? Anyone?? Please....
Reply With Quote
  #2 (permalink)  
Old 12-20-2007, 10:29 AM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
Is there anyone willing to do this mod for Pligg? I would gladly pay money to get this done. We need a way to change the title and meta info for category pages.

Again, I would be willing to pay for this mod, because it is VERY important for SEO. Ashdigg, how about you? I'd pay anyone to do this mod and then share it with the community. C'mon pligg devs, anyone??
Reply With Quote
  #3 (permalink)  
Old 12-24-2007, 08:22 AM
Pligg Donor
 
Join Date: Sep 2007
Posts: 184
Thanks: 7
Thanked 37 Times in 26 Posts
Quote:
Originally Posted by blaze View Post
Is there anyone willing to do this mod for Pligg? I would gladly pay money to get this done. We need a way to change the title and meta info for category pages.

Again, I would be willing to pay for this mod, because it is VERY important for SEO. Ashdigg, how about you? I'd pay anyone to do this mod and then share it with the community. C'mon pligg devs, anyone??
For those interested, I have created a TEMPORARY FIX for this here.
Reply With Quote
The Following User Says Thank You to blaze For This Useful Post:
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Tags not cloud in Pligg v9.9 bhatiacane Bug Report 4 05-03-2008 02:16 AM
How to change all pligg settings - title, tags, etc? smolus General Help 1 02-18-2008 12:32 PM
Title Tags mrtbc General Help 3 08-12-2007 01:30 PM
HTML Title tags mBeat General Help 2 11-20-2006 10:29 PM
Increase the number of tags to show on main pages PurpleCow General Help 2 11-02-2006 11:24 PM


Search Engine Friendly URLs by vBSEO 3.2.0