What are the best practices for setting up URL redirection in htaccess for PHP websites?
Setting up URL redirection in htaccess for PHP websites involves using the RewriteRule directive to redirect incoming requests to a different URL. It is important to ensure that the redirection is set up correctly to avoid any potential issues with SEO or user experience. ```apache RewriteEngine On RewriteRule ^old-url$ /new-url [R=301,L] ```