[Zen Cart] How to Stop .htaccess Regeneration?

Technical difficulties? Ask for help here.

[Zen Cart] How to Stop .htaccess Regeneration?

Postby OrganicMechanic » Wed May 12, 2010 12: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,
Christopher
OrganicMechanic.com
OrganicMechanic
 
Posts: 1
Joined: Wed May 12, 2010 11:22 am

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

Postby ~J~ » Wed May 12, 2010 12: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).
Magic SEO URLs are now available for
osCommerce, CRE Loaded, Zen Cart, PrestaShop, OpenCart, CubeCart, phpBB and phpBB3!
~J~
InveoStore.com Founder
 
Posts: 1056
Joined: Sat Feb 02, 2008 11:07 am
Location: Prague, Central Europe


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 3 guests