adrian-d of Rouge Devs
8/17/2016 - 11:03 AM

.htaccess - correct 301 redirect method

.htaccess - correct 301 redirect method

// This works on an absolute rather than relative basis, and also checks if the URL has a slash on the end or not.
RedirectMatch 301 ^/[OLD REDIRECT SLUG](/)?$ http://[DOMAIN]/[NEW REDIRECT SLUG]/