1 (edited by 2014-09-26 05:43:13)

Topic: Website Redirection Problem: Please Help!

Hello Sir/Members .. I am having problem with my website redirecting from virtuoso.co.in to www.virtuoso.co.in .. but I am unable to solve it .. I am using .htaccess file as I have learned at somewhere for redirection and I think that the code is wrong or may be server problem..

my .htaccess code is:

Options +FollowSymLinks
RewriteEngine on
# index.html to /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /.*index\.html\ HTTP/
RewriteRule ^(.*)index\.html$ /$1 [R=301,L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Please help me out.. thanks in advance!

Regards
Maria Reese
_______________
Virtuoso IT Solutions Pvt. Ltd

Re: Website Redirection Problem: Please Help!

Hello mariareese,

Due to the configuration file, everything must work fine. Please check if mod_rewrite is switched on at your host.

Best regards,
CN Support team

Re: Website Redirection Problem: Please Help!

Use this given code
add it in your .htaccess file

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^virtuoso.co.in$
RewriteRule (.*) http://www.virtuoso.co.in/$1 [R=301,L]
</IfModule>

Real Estate Website Development - Wordpress Development Los Angeles

Re: Website Redirection Problem: Please Help!

Are you sure you have the corrects rigths on the server for the htaccess command to take effect?

Re: Website Redirection Problem: Please Help!

Yes,pls check your access rights on the sever for htaccess command..Bcoz many times such problem arise due to permissions issue.

Re: Website Redirection Problem: Please Help!

If you are experiencing a website redirection problem, I recommend checking your website&#039;s configuration and server settings. Ensure that any redirects are correctly set up and pointing to the intended destinations. You may also want to review your website's .htaccess file or consult with your hosting provider for further assistance in resolving the redirection issue.