End Your If

Helping you solve those tough coding problems!

Learn some great development tips and techniques through recipes that clearly define the problem being solved with a working solution.
Popular Tags: cakephp | theory | optimization | javascript-development | asp-net | ajax | sql | php-development | jquery-development | css

Search:
Follow @endyourif rss Facebook LinkedIn
My Books

Setting up SSL with nginx including redirects from non HTTPS traffic Setting up SSL with nginx including redirects from non HTTPS traffic

Published on Feb 6, 2019 by Jamie Munro

In an attempt to improve security and privacy on the Internet, Google is encouraging websites to secure their site with an SSL certificate, aka https:// instead of http://
As you may have noticed, I just officially updated my domain to be under SSL. As I described in my It's LEMP not LAMP post that I use nginx for my web server. I thought I would share how easily I was able to convert my website to use SSL with nginx.
Before you begin, be sure you have already created your SSL certificate and have your certificate and private key files ready and uploaded to your server (I got my SSL cert free with my domain registration at Porkbun).

Read more >

Tags: SEO (Search Engine Optimization) | Optimization | nginx | ssl

Google Event Tracking Google Event Tracking

Published on Oct 5, 2012 by Jamie Munro

Since I've recently moved from WordPress to a custom solution I've missed a few things about the WordPress stats Ė more specifically which links were clicked in.† I think it's a good thing to know whether or not people like the links I often include in my blog articles.† I try not to link out too much, as the whole goals of my articles are for you to stay and read them!† Crazy concept, I knowÖ

Like most people, I rely on Google Analytics to provide me the stats about my website.† I certainly don't have the traffic that requires a custom solution!† The nice part is that Google has made this very easy through Custom Event Tracking.

Read more >

Tags: SEO (Search Engine Optimization) | google | Theory | tracking | analytics

MVC 3 Routing Example MVC 3 Routing Example

Published on Oct 17, 2011 by Jamie Munro

Below is an excerpt of a chapter from my new book: 20 Recipes for Programming MVC 3.

In todayís heavily fought battles for search engine supremacy, itís quite difficult to winthe race with a website address that looks like:
http://www.example.com/books/details?id=4.

Using routes, the website can look like:
http://www.example.com/20-recipes-for-mvc3

which provides much more context, both to the user and the search engine.

Read more >

Tags: SEO (Search Engine Optimization) | ASP.NET | mvc 3

Adding SEO functionality Adding SEO functionality

Published on Nov 15, 2009 by Jamie Munro

Two of the biggest things that will improve your search engine rankings are keyword rich website titles and keyword rich links to your content. Todayís lessons will cover both of these topics.


Objectives



  • Improve our search engine rankings

  • Set a title tag

  • Map a specific URL to a custom controller and action

  • Avoid using ids or numbers in our URL


Before I start, I would like to make it clear that this article is and does not intend to be a be-all-to-end-all of the SEO necessities for your website. It is meant to describe some excellent techniques to quickly and easily improve upon CakePHP to make it more SEO friendly.

Read more >

Tags: SEO (Search Engine Optimization) | CakePHP | seo | CakePHP

How to write for people and rank high with your keywords How to write for people and rank high with your keywords

Published on Jun 22, 2009 by Jamie Munro

Using the right keywords are important, but donít let this drive your content.† Itís important to remember what your first goal should be and not your second.† Your first goal is write and provide useful content to people who do find your content.† Your second goal is for search engines to rank it well.

So, how can this be done?† Start by thinking about what your keywords are for your content.† Once you have your keywords decided, create a title for your content and integrate your keywords into them.† Make sure your title is intuitive, keyword rich, and catches peopleís eye.† This can be done through good keywords, a secret, and/or a descriptive title describing exactly what the user wants.

Read more >

Tags: SEO (Search Engine Optimization) | seo | seo tips

The Shocking Truth to Website Success...and itís not top Google Rankings! The Shocking Truth to Website Success...and itís not top Google Rankings!

Published on Jun 15, 2009 by Jamie Munro

Sharing your way to success Sharing your way to success

Published on Jun 6, 2009 by Jamie Munro

Fastest Top Five FREE Ways to Gain New Traffic Fastest Top Five FREE Ways to Gain New Traffic

Published on May 28, 2009 by Jamie Munro

How to setup a route in CakePHP How to setup a route in CakePHP

Published on Mar 5, 2009 by Jamie Munro

Top 5 SEO Tips To Achieve Top 10 Rankings In Google Top 5 SEO Tips To Achieve Top 10 Rankings In Google

Published on Feb 28, 2009 by Jamie Munro

A Simple SEO Trick To Boost Your Rankings A Simple SEO Trick To Boost Your Rankings

Published on Feb 16, 2009 by Jamie Munro

How to get indexed by Google in ONE hour How to get indexed by Google in ONE hour

Published on Feb 12, 2009 by Jamie Munro