Solved: WordPress adding -2 to URL Slug

I’ve just been working through a new SEO clients website and tried to fix a bug with their content which was caused by a non-standard custom WordPress theme. I deleted the offending page then used the Google cache: search operator to pull back the original content and created a new page which in this case was called ‘Huddersfield’. When I created the new page i noticed that the URL slug was set to /huddersfield-2/. I tried to edit it back to just /huddersfield/ and it reverted to the -2 suffixed slug. (more…)

Continue Reading

PHP Canonical URL Script

On a recent project we had multiple duplicates of product detail pages mainly due to querystrings setting the sizes of the products. To combat this I decided to use the new Canonical REL URL tag now supported by Google, Yahoo and MSN and thought that if you’re experiencing the same issue that you’d appreciate this elegant solution to your own canonical url problems. (more…)

Continue Reading