This is a migrated thread and some comments may be shown as answers.

Website Redirection Problem: Please help Me Out!

2 Answers 46 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Maria
Top achievements
Rank 1
Maria asked on 24 Sep 2014, 08:00 AM
Hello all of you, I am new to programming, I have a problem with my website, I want to redirect my website from virtuoso.co.in to http://www.virtuoso.co.in (non www to www).. I am using .htaccess file for redirection as I have read somewhere, but it is not working. I think maybe my .htaccess code is wrong or maybe 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!

Maria
_______________
Virtuoso IT Solutions Pvt. Ltd.





2 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 24 Sep 2014, 12:43 PM
Hi Maria,

Please note that this forum is about any issues/questions you might have regarding Telerik WPF controls.

I would suggest that you post the described issue on StackOverflow.

Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Maria
Top achievements
Rank 1
answered on 24 Sep 2014, 01:14 PM
ok, Thanks ..
Tags
General Discussions
Asked by
Maria
Top achievements
Rank 1
Answers by
Yana
Telerik team
Maria
Top achievements
Rank 1
Share this question
or