Jump to content

OFS

Members
  • Content count

    4
  • Joined

  • Last visited

Everything posted by OFS

  1. That's fine but if i wanted to do it what would the if statement be? I have this bit of code on my site for something i just want to show on my homepage. Could this be modified so $currentpage = split page results page? $homepage = "/"; $currentpage = $_SERVER['REQUEST_URI']; if($homepage==$currentpage) {
  2. Hi Sam, With the above points in mind I am wanting to make a slight tweak to your contrbution so that when your on a split page results page it shows this echo '<meta name="robots" content="noindex, follow">' . "\n"; Instead of the canonical link. I've tried having a go at this but had no joy. I use a header tags contibution so i was thinking where i put "CanonicalLink( $xhtml = false, 'SSL' );" i could add an if else statement like this: If on split page results page echo '<meta name="robots" content="noindex, follow">' . "\n"; } else { CanonicalLink( $xhtml = false, 'SSL' ); I just can't work out what to put in that "if" statement so the system knows i'm on a split page results page. Could you offer any guidence on this please mate?
  3. Many thanks for that your a star.
  4. Hi Robert, Another great contrbution yet again and was very easy to install. One thing i would like is to only have the category name and product name as the title tag. Can you point me in the right direction as to where i can make this modification please? Regards, Rick
×