Ads Top

Redirect 301 htaccess example

Redirection work

Redirect 301 is the way to redirect a URL. Have in mind .htaccess will work with Apache servers only.

Redirection jumps old URL to new URL when we used as like below code.

# BEGIN WpFastestCache
Redirect 301 /about-us.html
Redirect 301 /oldpage.html

How to redirect old domain to new domain?

Redirection jumps current domain to new domain:
RewriteEngine on 
RewriteRule ^(.*)$$1 [R=301,L]

1 comment:

  1. Usually I never comment on blogs but your article is so convincing that I never stop
    myself to say something about it. You’re doing a great job Man,Keep it up. :


Copyright Reserved to Anything Learn. Powered by Blogger.