.htaccess Redirect Examples

Examples on how to redirect using mod_alias and mod_rewrite. Redirect a single page (same domain)Redirect 301 /page.php /page.htmlRedirect a single page (different domain)Redirect 301 /page.php https://example.com/page.htmlRedirect an entire siteRedirect 301 / https://example.com/Redirect entire site to a sub-directoryRedirect…

Continue Reading »