Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

301 redirect .htaccess

How do I 301 redirect, for example: a subdirectory /Blog/ to /blog/ with .htaccess?

like image 424
Wesley Avatar asked Oct 27 '10 20:10

Wesley


People also ask

Should I enable 301 .htaccess redirect?

The . Because the WordPress 301 redirect is not always reliable, we recommend issuing the 301 redirect via your . htaccess file. Another benefit is that the . htaccess redirect is slightly faster than redirecting via PHP, because it is loaded even before the rest of the page.

What is R 301 L in htaccess?

The R=301 means that the web server returns a 301 moved permanently to the requesting browser or search engine.


1 Answers

Redirect 301 /Blog /blog

Or use something like http://www.htaccessredirect.net/index.php

like image 163
Sam Plus Plus Avatar answered Oct 15 '22 23:10

Sam Plus Plus