[CubeCart] How do I redirect 301 (dynamic urls)

Custom URLs and redirections.
growlight
Posts: 3
Joined: Thu Apr 16, 2009 1:07 pm

Re: [CubeCart] How do I redirect 301 (dynamic urls)

Postby growlight » Tue Mar 09, 2010 11:49 am

Hi Jiri,
Actually I am asking about how to "protect" the .htaccess file (so I guess the question is a little of topic in this thread - should have opened a new one). If I make changes to the file, then open the the permissions so I can upload the file, by the time I change the permissions back someone has clicked something on the site and my changes are overwritten. Also I am running ZenCart if that matters. Am I just being stupid??
-Christopher
PS MSU for ever!!!

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CubeCart] How do I redirect 301 (dynamic urls)

Postby inveo » Tue Mar 09, 2010 12:29 pm

Change the permissions on www/.htaccess to be writeable only by yourself (644 or -rw-r--r-- within your FTP Client) and/or create new blank file with readonly-htaccess name in same directory (this will prevent www/.htaccess file from being overwritten by Inveo Magic SEO URLs).