Latest News: (loading..)
Search the Community
Showing results for tags 'htaccess'.
Found 3 results
What should go into my htaccess file if I need to have the following redirects. 1. From example.com to https:// www.example.com/store/ (added space after // to prevent showing it as URL link) and 2. From www.example.com to https:// www.example.com/store/ (added space after // to prevent showing it as URL link) and 3. force SSL on the whole store. I think #3 can be done by adding https on HTTP_SERVER and HTTPS_SERVER inside the configure.php file.
The website is doing all sorts of strange things. Customers are being constantly logged out, and the site is freezing all the time.I am also finding that if I delete an item it doesn't delete, so suspect this is a database issue. I got in touch with the host and the advice was as below. I have no idea where to find the file they are talking about, I cannot see anything called that, and why all of a sudden is there a problem, it was fine last week and I haven't touched the coding in years! any help would be appreciated, thanks I would suggest to disable the cache.You need to add in the root directory of the website the following code in the .htaccess file to disable mod security:<IfModule mod_security.c>SecFilterEngine OffSecFilterScanPOST Off</IfModule>Please put in your .htaccess file this code to disable the cache:<IfModule LiteSpeed>CacheDisable public /CacheDisable private /</IfModule>
I have been looking at adding a htaccess firewall to my site on the advice of my host. They are saying to add code to my htaccess file that will help secure my site. Are these firewalls any good, and if so which ones are other people using. My host is suggesting the one at https://perishablepress.com/6g/ (Not connected in any way to this site)