cPanel 301 Redirects not working on a WordPress site

//cPanel 301 Redirects not working on a WordPress site

cPanel 301 Redirects not working on a WordPress site

The Gist:

If you find that the 301 redirects, you have added using cPanel’s “Redirects” tool, are not working on a WordPress site, make sure these redirects are added before the WordPress rewrite rules, in the .htaccess.

Best way to ensure this is to add your redirect rules first, through cPanel, then edit the .htaccess file and move the WordPress rewrite rule (everything between the comments # BEGIN WordPress & # END WordPress) below any redirect rules inserted via cPanel.

The Issue:

cPanel 301 redirects not working on a WordPress site.

The Fix:

Move the WordPress rewrite rule below any 301 redirect rules added via cPanel.

Example:

By | 2018-04-19T09:01:28+00:00 April 19th, 2018|Uncategorised|0 Comments