[Zen Cart] How to Stop .htaccess Regeneration?

Magic SEO URLs for Zen Cart.
Posts: 1
Joined: Wed May 12, 2010 12:22 pm

[Zen Cart] How to Stop .htaccess Regeneration?

Postby OrganicMechanic » Wed May 12, 2010 1:36 pm

Hello All,

I looked in the manual, and was unable to answer this question.

I would like the existing URL changes to stick, however how do I stop the .htaccess file from being regenerated? I need to make changes to the .htaccess file that will forward these rewritten URL's to my new site, so I want to make it so that any changes to the .htaccess file stick without a new file being regenerated and replaced by Magic SEO.

Perhaps this is a potential fix - if I remove the line of code (include(DIR_WS_INCLUDES . 'magic_seo_url.php');) from the file (www/includes/application_top.php) will it remove the rewritten URLs that are already in place, or will it just stop the regeneration of the .htaccess from now on?

Thank you so much for your guidance!

Best Wishes,

Inveo Support
Posts: 1284
Joined: Sat Feb 02, 2008 12:07 pm

Re: [Zen Cart] How to Stop .htaccess Regeneration?

Postby inveo » Wed May 12, 2010 1:40 pm

This is described in the installation process as 9th step in manual.

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).