seo-by-rank-math
seo-by-rank-math copied to clipboard
[Redirections]: Export to htaccess should use Redirect instead of RewriteRule
Is your feature request related to a problem? Please describe. As mentioned by a user, Apache doc: https://httpd.apache.org/docs/2.4/rewrite/avoid.html recommends using Redirect from mod_alias instead of RewriteRule from mod_rewrite for simple redirections.
We should change the export to htaccess method to use Redirect. This also applies for the "htaccess sync" feature present in the Pro version.
Support ticket link: https://wordpress.org/support/topic/exported-redirects-are-using-rewriterule/
Describe the solution you'd like Replace use of mod_rewrite with mod_alias.