Category: Linux

How to create .htaccess file redirects

301 Redirect (this changes the url in the browser but still appends the domain to find url to the new domain)

RewriteEngine On
RewriteCond %{HTTP_HOST} ^
RewriteRule (.*)$1 [R=301,L


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.