Skip to content
Katie Nelson

Katie Nelson

Web Developer

  • Home
  • Blog
  • About
  • Library

Tag: search

Posted on 19th April 201210th January 2017

Using RegEx To Determine If Search Query Is A Postcode/Partial Postcode

Working on a site which asks users to enter a “place name, area or postcode” to search by, niggly problem where searching for postcode “OX2” for example, not only returned properties in OX2, but also in OX29. Continue reading “Using RegEx To Determine If Search Query Is A Postcode/Partial Postcode”

Posted on 23rd March 201210th January 2017

Hiding an entire site from robots

I don’t think i’ve ever had to hide an entire site from search engines before, so today I learnt something new that saves a lot of time.

Rather than writing a complex robots.txt file you simply add the following line of code to your page <head>

<meta name="robots" content="noindex">

Simples. Continue reading “Hiding an entire site from robots”

Recent Posts

  • 2018: 100 Things
  • Photography // Christmas at Blenheim
  • Developer // Accessing WordPress URL Function Values Within Javascript
  • Photography // Snowy Sunday in Banbury
  • Type With Pride

Recent Comments

  • Teemu on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Michael Croteau on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Joe on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • Mate on Developer // ACF: Counting Repeater Rows Inside Flexible Content
  • John Hobson on Developer // ACF: Counting Repeater Rows Inside Flexible Content

Archives

  • January 2019
  • December 2017
  • November 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • April 2016
  • March 2016
  • February 2016
  • September 2015
  • May 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • June 2014
  • April 2014
  • March 2013
  • January 2013
  • December 2012
  • September 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • October 2011
  • September 2011
  • February 2011

Categories

  • Bugs
  • Coding
  • Cool Stuff
  • CSS
  • Industry
  • Javascript
  • JQuery
  • Photography
  • PHP
  • Reading
  • Server
  • SQL
  • Thoughts
  • Uncategorised
  • Wordpress

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Proudly powered by WordPress