Redirect 301 con htaccess per WordPress e non

What’s a 301 Redirect and the way does it work? Il redirects 301 “Moved Completely” is nothing greater than an everlasting redirection from one internet web page to a different, or moderately from a selected URL to a different.

That is an operation used whenever you wish to direct customers who land on pages that now do not exist or just web pages that we now do not wish to present on different particular pages, avoiding the 404 error e bettering the consumer expertise.

This method can be broadly used within the area of search engine optimization to protect the authority and the positioning of a specific web page, it’s well-known that Google doesn’t prefer to return 404 pages to the consumer.

Doing that is very simple simply write just a few traces of code and that is it.

The forms of redirects are totally different relying on the kind of language used, for instance:

In our case, we’ll see easy methods to make a redirect 301 htaccess of a website created in WordPress.

To know all of the forms of 301 redirects, I refer you to this hyperlink.

Many colleagues who understand siti in WordPress have a tendency to make use of a plugin for every little thing, even the dumbest, the 301 redirect is one instance.

To put in too many plugins on your website will negatively have an effect on each efficiency and safety, consequently when potential it’s advisable to keep away from its use.

Methods to do a 301 redirect with .htaccess

  1. We enter the file of our website by way of FTP (you should utilize a software program comparable to FileZilla or CyberDuck)
  2. Within the root, we’ll discover a file referred to as .htaccess
  3. Let’s open the file and go to the underside of the web page
  4. We simply have to enter the next string:

Save and reload the file on your website, you do not have to do anything.

If, however, the pages of your website are identical however you will have moved the complete website to a brand new area, you should utilize the perform RewriteRule so:

With that’s all, I hope the article was useful to you.

If you’re all for search engine optimization and wish to begin getting severe, I extremely advocate you try search engine optimization Grasp, my superior search engine optimization information.

My title is Fabio Wild, born in 1985, and Blogger and Professional in Digital Advertising and marketing for a lifetime. I instantly understood that the longer term could be online and as we speak I assist folks and corporations to develop on the net. If you wish to know extra about my story, I refer you to the “About Me” part.


No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published.