We changed our privacy policy. Read more.

Hot answers tagged


Many default SSL setup have settings to ignore .htaccess at all. So server use your .htaccess for http, but for security reason ignore default rules overwrite for https. Check your ssl config (try - /etc/httpd/conf.d/ssl.conf) what flag you have for AllowOverride? Possible you have None - in this case, the server will not even attempt to read .htaccess ...


Try this :: 1.) Go to your SSL configuration file : /etc/httpd/conf.d/ssl.con 2.) Find your Virtual Host : <VirtualHost_default_:443> 3.) Write down : Path to your directory <Directory "/var/www/html/magento"> AllowOverride All </Directory> 4.) Restart your apache : service httpd restart


This is what we use to redirect a directory to a subdomain RewriteRule ^trade* http://trade.domain.com/ [R=301,L]


Try a RedirectMatch rule and see what you get: RedirectMatch 301 ^/store/?$ http://store.example.com


Have a look at Template Routes by Rob Sanchez. You should be able to setup a route with wildcards in a set order, then match those to each part of the segment that Super Search needs. Something like: $config['template_routes'] = array( 'search/:any/:any/:any/:num/:num' => 'search/results/search&cf_make=$1&cf_model=$2&cf_fuel=$3&...

Only top voted, non community-wiki answers of a minimum length are eligible