Categoryweb design

From CSS to frameworks and design mockups to code, these are posts that span the gamut of Kelly’s day-to-day work as a web designer and developer.

HTACCESS 301 redirect for a URL with spaces (%20) in the slug

H

While exploring my Google Analytics, I saw a URL that users were landing on that doesn't exist. The URL is a typo, and the page shows a 404 error. Interestingly though, the offending URL includes spaces in the slug. Space is shown as %20 in a URL address. To ensure users get to where they intend to be, I set up a 301 Redirect for the incorrect URL. Here's how to create .htaccess redirects for...

Recent Posts

Archives

Categories