-
Posts
51 -
Joined
-
Last visited
About René Kuenen
- Birthday 05/03/1976
Contact Methods
- Website
Profile Information
-
Location
Nederland
-
Interests
Computers, Photography, Music, RC Helicopter flying
-
Activity
Project Owner
René Kuenen's Achievements
-
The problem solved the same way as it comes . Strange. I think now the problem was at the provider...
-
It's a little differend. The load time of a product page takes about 120 seconds. Debug gives me this error: Warning: Error while sending QUERY packet. PID=611336 in /home/insounda/public_html/shop/classes/db/DbPDO.php on line 91
-
I have a strange problem. The homepage works fine, categories also, but when I select a product the page will not show up. I keeps loading forever, no connection timeout. Tried Debug, but no debug line comes up. Prestashop version 1.6.0.14 Nothing has changed as far as I know. The problem was there overnight. I have also a Blog module, witch have the same problem. CMS pages works fine. What can I do to troubleshoot this one? https://in2sound.nl/shop Regards, René
-
Cannot Login To Bo After Upgrade
René Kuenen replied to René Kuenen's topic in Upgrading PrestaShop from a previous version
Thanks for the response. I get this: POST https://in2sound.nl/shop/admin5977/ajax-tab.php?rand=1453982354242 500 (Internal Server Error) No idea with module to look for . -
Hello, I had 1.6.0.14 and did the autoupgrade to 1.6.1.4 After that i cannot login. It give me the login screen where I can put the login credentials. When I do that and want to login it gives me a screen with only the shopname. Noting happens, no error (see picture). Also debugging give's me no error. When I use wrong credentials, it tells me, so I think it's in the redirect or something. Not prestashop modules turned off. What could I do to solve this
-
Can't Turn Debug Mode Off
René Kuenen replied to René Kuenen's topic in Configuring and using PrestaShop
Solved!! Thanks -
I did some debugging by setting line 44 og defines.inc.php define('_PS_DEBUG_PROFILING_', false); <-true. When I was done I returned it to false, but on two places at my page the following line appearance: Strict Standards: Declaration of Link::getCategoryLink() should be compatible with LinkCore::getCategoryLink($category, $alias = NULL, $id_lang = NULL, $selected_filters = NULL, $id_shop = NULL, $relative_protocol = false) in /home/insounda/public_html/shop/override/classes/Link.php on line 219 defines.inc.php: <?php /** * 2007-2015 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ /* Debug only */ if (!defined('_PS_MODE_DEV_')) define('_PS_MODE_DEV_', true); /* Compatibility warning */ define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); if (_PS_MODE_DEV_ === true) { @ini_set('display_errors', 'on'); @error_reporting(E_ALL | E_STRICT); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } define('_PS_DEBUG_PROFILING_', false); define('_PS_MODE_DEMO_', false); $currentDir = dirname(__FILE__); if (!defined('PHP_VERSION_ID')) { $version = explode('.', PHP_VERSION); define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); } if (!defined('_PS_VERSION_') && (getenv('_PS_VERSION_') || getenv('REDIRECT__PS_VERSION_'))) define('_PS_VERSION_', getenv('_PS_VERSION_') ? getenv('_PS_VERSION_') : getenv('REDIRECT__PS_VERSION_')); if (!defined('_PS_HOST_MODE_') && (getenv('_PS_HOST_MODE_') || getenv('REDIRECT__PS_HOST_MODE_'))) define('_PS_HOST_MODE_', getenv('_PS_HOST_MODE_') ? getenv('_PS_HOST_MODE_') : getenv('REDIRECT__PS_HOST_MODE_')); if (!defined('_PS_ROOT_DIR_') && (getenv('_PS_ROOT_DIR_') || getenv('REDIRECT__PS_ROOT_DIR_'))) define('_PS_ROOT_DIR_', getenv('_PS_ROOT_DIR_') ? getenv('_PS_ROOT_DIR_') : getenv('REDIRECT__PS_ROOT_DIR_')); /* Directories */ if (!defined('_PS_ROOT_DIR_')) define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); if (!defined('_PS_CORE_DIR_')) define('_PS_CORE_DIR_', realpath($currentDir.'/..')); define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/'); /* BO THEMES */ if (defined('_PS_ADMIN_DIR_')) define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/'); define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/'); define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/'); define('_PS_CUSTOM_CONFIG_FILE_', _PS_CONFIG_DIR_.'settings_custom.inc.php'); define('_PS_CLASS_DIR_', _PS_CORE_DIR_.'/classes/'); define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/'); define('_PS_MAIL_DIR_', _PS_CORE_DIR_.'/mails/'); if (!defined('_PS_MODULE_DIR_')) define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/'); if (!defined('_PS_OVERRIDE_DIR_')) define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/'); define('_PS_PDF_DIR_', _PS_CORE_DIR_.'/pdf/'); define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/'); define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/'); define('_PS_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/'); define('_PS_ADMIN_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/admin/'); define('_PS_FRONT_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/front/'); define('_PS_TOOL_DIR_', _PS_CORE_DIR_.'/tools/'); define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/'); define('_PS_GEOIP_CITY_FILE_', 'GeoLiteCity.dat'); define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/'); define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/'); define('_PS_TAASC_PATH_', _PS_TOOL_DIR_.'taasc/'); define('_PS_TCPDF_PATH_', _PS_TOOL_DIR_.'tcpdf/'); define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); if (!defined('_PS_HOST_MODE_')) define('_PS_CORE_IMG_DIR_', _PS_CORE_DIR_.'/img/'); else define('_PS_CORE_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/'); define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/'); define('_PS_EMPLOYEE_IMG_DIR_', _PS_IMG_DIR_.'e/'); define('_PS_GENDERS_DIR_', _PS_IMG_DIR_.'genders/'); define('_PS_LANG_IMG_DIR_', _PS_IMG_DIR_.'l/'); define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/'); define('_PS_ORDER_STATE_IMG_DIR_', _PS_IMG_DIR_.'os/'); define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/'); define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/'); define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/'); define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/'); define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/'); define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/'); define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/'); /* settings php */ define('_PS_TRANS_PATTERN_', '(.*[^\\\\])'); define('_PS_MIN_TIME_GENERATE_PASSWD_', '360'); if (!defined('_PS_MAGIC_QUOTES_GPC_')) define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc()); define('_CAN_LOAD_FILES_', 1); /* Order statuses Order statuses have been moved into config.inc.php file for backward compatibility reasons */ /* Tax behavior */ define('PS_PRODUCT_TAX', 0); define('PS_STATE_TAX', 1); define('PS_BOTH_TAX', 2); define('PS_TAX_EXC', 1); define('PS_TAX_INC', 0); define('PS_ORDER_PROCESS_STANDARD', 0); define('PS_ORDER_PROCESS_OPC', 1); define('PS_ROUND_UP', 0); define('PS_ROUND_DOWN', 1); define('PS_ROUND_HALF_UP', 2); define('PS_ROUND_HALF_DOWN', 3); define('PS_ROUND_HALF_EVEN', 4); define('PS_ROUND_HALF_ODD', 5); /* Backward compatibility */ define('PS_ROUND_HALF', PS_ROUND_HALF_UP); /* Registration behavior */ define('PS_REGISTRATION_PROCESS_STANDARD', 0); define('PS_REGISTRATION_PROCESS_AIO', 1); /* Carrier::getCarriers() filter */ // these defines are DEPRECATED since 1.4.5 version define('PS_CARRIERS_ONLY', 1); define('CARRIERS_MODULE', 2); define('CARRIERS_MODULE_NEED_RANGE', 3); define('PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE', 4); define('ALL_CARRIERS', 5); /* SQL Replication management */ define('_PS_USE_SQL_SLAVE_', 0); /* PS Technical configuration */ define('_PS_ADMIN_PROFILE_', 1); /* Stock Movement */ define('_STOCK_MOVEMENT_ORDER_REASON_', 3); define('_STOCK_MOVEMENT_MISSING_REASON_', 4); /** * @deprecated 1.5.0.1 * @see Configuration::get('PS_CUSTOMER_GROUP') */ define('_PS_DEFAULT_CUSTOMER_GROUP_', 3); define('_PS_CACHEFS_DIRECTORY_', _PS_ROOT_DIR_.'/cache/cachefs/'); /* Geolocation */ define('_PS_GEOLOCATION_NO_CATALOG_', 0); define('_PS_GEOLOCATION_NO_ORDER_', 1); define('MIN_PASSWD_LENGTH', 8); define('_PS_SMARTY_NO_COMPILE_', 0); define('_PS_SMARTY_CHECK_COMPILE_', 1); define('_PS_SMARTY_FORCE_COMPILE_', 2); define('_PS_SMARTY_CONSOLE_CLOSE_', 0); define('_PS_SMARTY_CONSOLE_OPEN_BY_URL_', 1); define('_PS_SMARTY_CONSOLE_OPEN_', 2); define('_PS_JQUERY_VERSION_', '1.11.0'); Prestashop version 1.6.0.14 It shows also on devices and pc who never before has been on my site, so it's not a local cache issue. Also I cannot login to my BO anymore Who has an explanation? Regards, René
-
Create .htaccess after moving to subdir
René Kuenen replied to René Kuenen's topic in Configuring and using PrestaShop
These examples works fine as you don't wish to use the root directory. (And i do ) When i create a index.html file into the root, and type www.mysite/index.html the examples above gives also the unwanted redirect to /shop. -
So I have moved my prestashop site from the root to the subfolder /shop. The root is going to be used as a new, more static site. Now i want to 301 redirect all the old links to the new /shop folder. Is this possible to do it with some rules. I have tried some redirect generators, but they all end up with a separate line for each category / product. (4500+ lines) The sitemap was the guideline to find all my links. Anyone some ideas?
-
I'm moving my site to the subdir /shop. I followed the normal procedure for moving a prestashop site: Get into maintenance mode Set off cache Delete cache Move files Edit database PS_SHOP_URL to in2sound/shop After this, when i go into back-office, there are no problems, but the front office gives me the to many redirects error in the browser. These things i tried (no particular order en several times): Turn off and on friendly url Turn off ssl Clear cookies in the browser Type url: http | https | http://www | https://www | www. regenerate and several changes in the .htacces file Search the internet for this problem When i searched the internet i found only problems and solutions when moving from subdir to root, not the other way around. I think it has something to do with the .htacces file(s) in the root and/or subdirectory. Prestshop version 1.6.0.14 Below the .htaccess files form subdir and root. I hope someone can help me to resolve this problem. Regards, René htaccess file subdir /shop # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: in2sound.nl/shop RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api$ api/ [L] RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> <IfModule mod_headers.c> Header unset Etag </IfModule> FileETag none <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again htaccess root # Do not remove or modify this block! Added by PHP Switcher from cPanel to use an alternate PHP version. Contact Support for details. <IfModule mod_suphp.c> AddHandler application/x-httpd-php-5.4.0 .php suPHP_ConfigPath /home/insounda/public_html/php.ini </IfModule> # End A2 Switcher Block # Rewrite --- http://in2sound.nl => http://www.in2sound.nl # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: in2sound.nl RewriteRule ^$ /shop [L] #RewriteRule . - [E=REWRITEBASE:/] #RewriteRule ^api$ api/ [L] #RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/x-font-woff .woff <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year" </IfModule> <IfModule mod_headers.c> Header unset Etag </IfModule> FileETag none <IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype </IfModule> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again #RewriteEngine on #RewriteRule . - [E=REWRITEBASE:/] RewriteCond %{HTTP_HOST} ^in2sound\.co\.uk$ [OR] RewriteCond %{HTTP_HOST} ^www\.in2sound\.co\.uk$ RewriteRule ^/?$ "https\:\/\/in2sound\.nl\/uk" [R=301,L] ## SITE REFERRER BANNING RewriteCond %{HTTP_REFERER} floating-share-buttons.com [NC,OR] RewriteCond %{HTTP_REFERER} floating-share-buttons.com RewriteRule .* - [F]