Taghtaccess

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