Adrian World Design
  • Services
    • Website Consulting
    • Startup Consulting
    • Zend Development
  • Portfolio
    • My Framework
  • Knowledge
    • Web Standards
    • PHP bare-bones
    • Zend Framework
    • Zend Framework 2
    • Git - Github
    • Search Engine Optimization
    • Web Hosting
    • Linux
    • Microsoft Windows
    • Web Browsers
    • Mobile Devices
  • About
    • Business
    • Professionally
    • Personally
  • Contact
    • Contact Form
    • Phone
    • Email
    • Messaging

Portfolio Overview

Fix for trailing slashes

Portfolio ⇒ My Framework ⇒ 2011-09 ⇒ Fix for trailing slashes
Tweet
Share on Tumblr

Created: Nov 27, 2011, 11:34:04 AM CSTLast updated: Mar 23, 2013, 8:52:17 AM CST

For general information about the trailing slash problem with SEO please click the link. This article is a quick summary and log about changes in my framework and not the problem behind it.

A trailing slash in an URL was not really a problem for the application but it lead to duplicate content in search engines. The framework ignores the slash and simply returns the same page.

Google, for some unknown reason, suddenly requested pages with a trailing slash and because it received a valid 200 OK response, of course, indexed both versions. In the Webmaster Tools I noticed the duplicate title tag and description.

I added a fix that returns a 301 redirect response instead of the webpage.

Update #1: The duplicate versions in Google's Webmaster Tools disappeared after about a couple weeks.

Update #2: Some pages show up with the same problem and it turns out for module pages. If have moved the fix ahead in the process.

 

blog comments powered by Disqus
Prev

Powered by FeedBurner Load our "My Framework" feed in your RSS feeder

Follow us on Twitter
Follow us on Facebook
Follow us on LinkedIn
Follow us on Google+

All rights reserved, Adrian World Design ©2009–2023 Powered by Wejas Framework

Jump to Top