Rewrite only the middle part of URL - mod rewrite .htaccess
问题 I want to change cadeaushop part in the url to hobby-cadeau-shop . I made the following mod rewrite in my htaccess file: RewriteRule ^cadeaushop/(.*) http://www.zovyo.nl/hobby-cadeau-shop/$1 [QSA,L] It works nice, but on one place I want something else. the shopping cart uses https, a secure url. Now this url is also set to http. How can I change the mod rewrite so the first part of the url doesn't change? I tried some changes, like RewriteRule ^cadeaushop/(.*) /hobby-cadeau-shop/$1 [QSA,L]