Posts Tagged: SEO

Don’t Use Javascript to Add Nofollow Relationships

rel=”nofollow” Great for SEO if you use it correctly. But please don’t use Javascript/jQuery to add this rel to your external links. It simply won’t do anything, as most search engine bots don’t parse JS on your site. Using PHPs preg_replace would actually allow bots to see this relationship on your links. Google actually does

Using an Nginx Rewrite to Add Trailing Slashes to Your URLs

rewrite ^([^.]*[^/])$ $1/ permanent; Add to your server block. This line will add a trailing slash o the end of your URLs, as long as they don’t contain a period (for things like static assets), and if it does not already have a trailing slash. This is a handy way to improve SEO by redirecting