For example, if the user type the URL like (a) meuno.org or (b) meuno.org/something on browser address bar then I would like to forcibly redirect to like this www.meuno.org for (a) and www.meuno.org/something for (b).
For this case, the following entries should be appearing on your server .htaccess file. Of course, your server should support the re-write URL module.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^meuno.org [NC]
RewriteRule ^(.*)$ http://www.meuno.org/$1 [R=301,L]
That's it.
For this case, the following entries should be appearing on your server .htaccess file. Of course, your server should support the re-write URL module.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^meuno.org [NC]
RewriteRule ^(.*)$ http://www.meuno.org/$1 [R=301,L]
That's it.
0 comments:
Post a Comment