www vs non-www: Pick One and Redirect
Google ranks www and non-www the same. What hurts is when both open your site. Pick one, redirect the other in one jump with .htaccess, and check HTTP/2.
Google ranks www and non-www the same. What hurts is when both open your site. Pick one, redirect the other in one jump with .htaccess, and check HTTP/2.
Copy-ready .htaccess lines for single pages, folders, HTTP to HTTPS and www to non-www, plus how to test them and the mistakes that cause redirect loops.
Moving a hand-built PHP site to a CMS? Keep working .php URLs, map the rest one-to-one with single-hop 301s, and watch 404s and Search Console after launch.