/ Published in: Apache

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
RewriteCond %{HTTP_HOST} ^your-domain.com$ [NC] RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L] or, if you have 'www' part in your domain name, add this instead: RewriteCond %{HTTP_HOST} ^(www.)?your-domain\.com$ [NC] RewriteRule ^(.+)/$ http://%{HTTP_HOST}/$1 [R=301,L]
URL: http://www.learndrupalcms.com/basic-drupal-site-configuration
Comments
