Results 1 to 17 of 17
-
12-06-2011, 02:13 AM #1Junior Guru Wannabe
- Join Date
- Jun 2011
- Posts
- 62
How to Redirect my Website to www from non wwww
Hello Friend,
I have a website and its Server Type: Microsoft-IIS . I have tried to do redirection to www but its not working, if anyone have some suggestion please help me.
-
12-06-2011, 02:22 AM #2
Add a CNAME in your DNS server..
CNAME: WWW Type A - yourdomain.com. < don't forget to add "Dot"Dewlance® Shared/Reseller/Master Reseller - US/UK/EU/FRK/CA - SSD
WHMCS ReadyMadeKB - Tutorials for cPanel/InterWorx/Softaculous& Growing..
DemoTiger.com - Buy Demo Videos for your Hosting Company
-
12-06-2011, 06:15 AM #3Newbie
- Join Date
- Dec 2011
- Posts
- 7
check if you have activate module rewrtie on you Apache server
-
12-06-2011, 06:16 AM #4Temporarily Suspended
- Join Date
- Dec 2010
- Posts
- 38
With the use of 301 redirection in htaccess file, you can redirect your domain from www to non www
-
12-06-2011, 07:27 PM #5Newbie
- Join Date
- Oct 2011
- Posts
- 23
He has already mentioned that the site is hosted on windows server IIS is windows' Internet Information Server. Apache is Linux server.
For windows server you just do a quick search in google with "non-www to www redirection on IIS server" and you will find many results.
-
12-06-2011, 09:50 PM #6Web Hosting Master
- Join Date
- Nov 2004
- Location
- Tega Cay
- Posts
- 823
A little more info would be helpful. What language is your website written? There are many ways to accomplish this at the website level or you can also do it at the IIS level if you have access.
-
12-06-2011, 11:17 PM #7Newbie
- Join Date
- Nov 2011
- Posts
- 11
Something is needed in the htacess in yr web host root. check it
-
12-08-2011, 10:25 AM #8Junior Guru Wannabe
- Join Date
- Apr 2011
- Posts
- 61
This is very important. It is amazing how many sites have never addressed this issue.
-
12-09-2011, 09:23 AM #9Junior Guru Wannabe
- Join Date
- Feb 2011
- Posts
- 83
Did you tried htaccess file. It is the simplest process for redirection.
-
12-21-2011, 12:54 AM #10Web Hosting Master
- Join Date
- Aug 2011
- Posts
- 719
I think, zabalex's suggestion will work. I did little search for you in Google and found a good tips about your problem at here : www (dot)stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect/
Here is good suggestion to solve your problem.
-
12-23-2011, 04:16 AM #11Newbie
- Join Date
- Dec 2011
- Posts
- 26
Redirecting www to non-www
you need to add the following code to your .htaccess file
RewriteEngine On
RewriteCond %{HTTP_HOST} !^my-domain\.com$ [NC]
RewriteRule ^(.*)$ http://my-domain.com/$1 [R=301,L]
-
12-28-2011, 04:58 AM #12Disabled
- Join Date
- Dec 2011
- Posts
- 3
make a google webmaster account and in setting options choose the preferred domain you require thats it..
-
12-28-2011, 06:30 AM #13New Member
- Join Date
- Feb 2011
- Posts
- 2
We can redirect from non www to www by solving canonical issue for that particular website.
-
12-28-2011, 06:48 AM #14Junior Guru Wannabe
- Join Date
- Jan 2011
- Posts
- 60
If its an IIS server redirection will not done through 301 .htaccess file so you need to give more information about your IIS server with version because different server have diff way to done to redirection. Or you can also contact to hosting manager of provider
Look at Apoto Hosting Blog and know about growing web hosting India
-
04-20-2012, 06:27 AM #15WHT Addict
- Join Date
- May 2011
- Posts
- 105
You can set this using .htaccess file and from Control Panel.
-
04-20-2012, 08:34 AM #16Web Hosting Master
- Join Date
- Mar 2007
- Location
- USA
- Posts
- 5,274
Just to be clear, this is a bit false. Setting the option in Google Webmasters account will A.) only affect google search engines, and B.) will not accomplish what the OP is asking for.
That option is simple to set how google displays search results for content on your domain. Not for redirecting visitors that come to your site.Sajan Parikh - PHP Development | Server Management | Linux Administration | Web Consulting
Feel free to get in touch with me if I can be of assistance with anything.
e: sajan@parikh.io | w: sajan.io
Give me a call at (262) 343-5973.
-
04-22-2012, 05:58 PM #17Newbie
- Join Date
- Mar 2012
- Posts
- 23
Use 301 redirect method
add the following code in the website .htaccess file
# BEGIN 301 Redirect
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^eblogcamp\.com$ [NC]RewriteRule ^(.*)$ http://domain.com/$ 1 [R=301,L]</IfModule>
# END 301 Redirect
and also set the preferred domain to non www verison in Google Webmaster Tools under Site Configration --> Settings
Similar Threads
-
301 Redirect NON WWW to WWW
By p0sixninja in forum SEO / SEM DiscussionsReplies: 5Last Post: 08-16-2011, 10:16 AM -
How to 301 Redirect Non-WWW to WWW URLs is all domians in server ???
By sasky in forum Hosting Security and TechnologyReplies: 5Last Post: 07-27-2010, 10:58 AM -
How to redirect.. www.website.com -> www.website.com/forums
By treck33 in forum Hosting Security and TechnologyReplies: 7Last Post: 05-15-2009, 06:14 PM -
WWW redirect
By champrock in forum Hosting Security and TechnologyReplies: 4Last Post: 05-26-2007, 07:16 AM