Jump to content

Move permanently using 301 redirect < .htaccess >


Recommended Posts

Hi all

I want my domain in the www.abc.com formant not in abc.com < naked domain >

I do this by 301 reidirect in .htaccess file but the file itself edits the code and removes the 301 redirect code after 3, 4 or sometimes a week.

The code is

"RewriteEngine On

RewriteCond %{HTTP_HOST} ^kathmanduclothing.com

RewriteRule (.*) http://www.kathmanduclothing.com$1 [R=301,L]"

 

So is there any way to make this code default in htaccess as like whenever i generate a new code then it should come along in the htaccess as default

Sop version is 1.4.4.1

 

I just want to get rid of this.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...