Senario:
When people are hitting to hostname only like "suresh.world.com", that request should be redirect to URL, that requirement can be achived by following snippet.
Code snippet:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^suresh\.world\.com [NC]
RewriteRule ^/?$ http://suresh.world.com/webapp/wcs/stores/servlet/TopCategoriesDisplay?storeId=10001&catalogId=10050&homePage=Y [R=permanent,L]
No comments:
Post a Comment