Tag Info

New answers tagged


I hope you are still interested in this question. I did a sub domain mapping to a custom post type using custom .htaccess setting. RewriteCond %{HTTP_HOST} !^www\. RewriteCond %{HTTP_HOST} ^(.+)\.domain-name\.com$ RewriteRule ^$ /index.php?store=%1 [L] Using this setting, each sub domain will map to the store custom post type. http://apple.domain-name.com ...

Top 50 recent answers are included