Stan Carney

Interesting Tech

Navigation Menu

Grails 301 Redirect

Grails 301 Redirect

Posted by on Oct 19, 2011 in Programming, World Wide Web | 2 comments

301 redirects are the correct way to signify content available at a URL has been permanently moved to a new location. Returning a 301 redirect instructs browsers, web crawlers and other clients accessing your site to use the new page from this point forward. From a development perspective a 302 redirect and a 301 don’t appear to be any different. You hit the old URL and you are sent to the new one.

twitterlinkedin Read More

Google ‘Search Engine Rankings’ App in Groovy

Google ‘Search Engine Rankings’ App in Groovy

Posted by on Oct 4, 2011 in Programming, World Wide Web | 0 comments

I wanted to see where certain sites rank for a given search term. Normally this is accomplished by heading to Google, entering your search query and potentially paging through N pages using ctrl + f until I find the site I’m looking for. Obviously there is a better way. Searching around I found only questionable sites offering the service so I figured it wouldn’t be that hard to build.

twitterlinkedin Read More