1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed Make <a href="/?_debug=1"> as nofollow link

Discussion in 'Resolved Bug Reports' started by Moshe1010, Aug 19, 2013.

  1. Moshe1010

    Moshe1010 Well-Known Member

    Google has started to index these pages on my board, so I think it would be a good move to make them nofollow by default. It's disabled now, but during development I had to keep it on.
    Jarod, Chris D, Marcus and 3 others like this.
  2. Chris D

    Chris D XenForo Developer Staff Member

    You can filter it down to just your own IP address and that is best practice.

    if ($_SERVER['REMOTE_ADDR'] == '')
    $config['debug'] = true;
    But, still, no harm in putting nofollow on the link, I think.
    SneakyDave, Steve F and HWS like this.
  3. Mike

    Mike XenForo Developer Staff Member

    I've nofollowed it, but strictly speaking that may not be enough. I've also noindexed the resulting page.
    cmeinck, Moshe1010, Brent W and 2 others like this.
  4. Moshe1010

    Moshe1010 Well-Known Member

    I did that first, but it's not that practical when you're with a laptop on the go. I use your add-on right now (haven't seen it first), so it's much better turning it on/off - thanks for that. We also made a condition to show the debug mode just for admins, but it's still running for everybody..
    Last edited: Aug 20, 2013

Share This Page