Results 1 to 10 of 28

Threaded View

  1. #5
    Join Date
    Aug 2009
    Location
    Bedford, England
    Posts
    966
    Plugin Contributions
    0

    Default Re: Need help calling variables - trying to set up my own canonical URL handling

    Quote Originally Posted by DrByte View Post
    You could use the built-in functionality for $robotsNoIndex by putting your code into the end of init_add_crumbs.php and reworking it to set $robotsNoIndex under the conditions you desire.

    There are other discussions for handling canonical matters also discussed elsewhere on the forum.
    Thanks BrByte,

    Any chance of a bit of guidance with the init_add_crumbs.php file?

    I tried my code in the bottom and also inside the if (isset($_GET['products_id'])) { part, but neither had the desired affect.

    My code has the correct logic, it compares the current category with the master and I set it to set the $robotsNoIndex, but it was doing this regardless for some reason?

    Phil
    Last edited by philip937; 17 Mar 2010 at 08:07 PM.

 

 

Similar Threads

  1. Need help with a couple of variables
    By BushyTea in forum General Questions
    Replies: 2
    Last Post: 12 Mar 2010, 03:36 AM
  2. Help Calling JQuery?!
    By tjohnson13 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Dec 2009, 06:24 PM
  3. Need a debug tool to read variables
    By ronlee67 in forum General Questions
    Replies: 4
    Last Post: 1 Jun 2009, 04:11 AM
  4. Need User Tracking To Help Display Variables
    By bumba000 in forum General Questions
    Replies: 0
    Last Post: 5 Jan 2008, 08:39 PM
  5. Replies: 8
    Last Post: 26 Apr 2007, 05:14 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg