Michael Field

Digital Marketing & SEO Consultant

Handling Trailing Slashes in Nginx

Handling Trailing Slashes in Nginx

It’s common for many webmasters to want to ensure that only one version of their pages are accessible by search engines and users. Here is a guide on how to remove or force trailing slashes using Nginx.

How to Remove Trailing Slashes in Nginx

rewrite ^/(.*)/$ /$1 permanent;

How to Force Trailing Slashes in Nginx

rewrite ^(.*[^/])$ $1/ permanent;

How to add Canonical URL for CMS Pages via Layout XML on Magento

How to add Canonical URL for CMS Pages via Layout XML on Magento

To add a custom canonical tag to your CMS page you can achieve this by using the custom layout update XML section within the Magento admin. This can be exceptionally handy if you utilise a CMS page for your homepage where multiple versions can be accessed.

<reference name="head">
<action method="addLinkRel">
<rel>canonical</rel>
<href>http://www.domain.com/url/</href>
</action>
</reference>

Stupid, Annoying and Overused Business Jargon Generator

Stupid, Annoying and Overused Business Jargon Generator

If you work in any business, be it advertising, marketing, journalism, retail or other corporate lead sectors, you have probably been privy to some of the worst business jargon know to man. With the popular series Mad Men airing, this is something that seems to be taking a new front, and I am beginning to hear even more of it each day I come into work.

With this in mind, you obviously don’t want to be left behind. If you are writing an email to one of your colleges and it doesn’t quite sound businessy enough, just click the button and add the text into your response. GOLD STAR. You have added some bullshit text into your reply.

Embed the Business Jargon Generator into your Site