How to add 301 Redirect from non www to www for WordPress




In this tutorial, you will learn how to add a 301 redirect to your wordpress website.

It is a best practice to take backup before you edit the .htaccess file. Do it only if you know what you are doing or consult a software engineer.

Keep the following script in the beginning of .htaccess file.

# BEGIN 301 redirect from example.com to www.example.com

RewriteCond %{HTTP_HOST} !^www. [NC] RewriteRule ^ [L,R=301]

# END 301 redirect from example.com to www.example.com

If you found the video tutorial useful, spread the word by sharing this video.

Subscribe to TutLinks if you like the content to get more interesting video tutorials.

Subscribe:

Follow us:


Fuente – Source

How to add 301 Redirect from non www to www for WordPress

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉

https://www.wpvideo.eu

Publicado en Tutoriales (Tutorials), Wordpress y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *