Results 1 to 17 of 17
  1. #1

    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.

  2. #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

  3. #3
    check if you have activate module rewrtie on you Apache server

  4. #4
    With the use of 301 redirection in htaccess file, you can redirect your domain from www to non www

  5. #5
    Quote Originally Posted by fortunately102 View Post
    check if you have activate module rewrtie on you Apache server
    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.

  6. #6
    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.

  7. #7
    Something is needed in the htacess in yr web host root. check it

  8. #8
    Join Date
    Apr 2011
    Posts
    61
    This is very important. It is amazing how many sites have never addressed this issue.

  9. #9
    Join Date
    Feb 2011
    Posts
    83
    Did you tried htaccess file. It is the simplest process for redirection.

  10. #10
    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.

  11. #11
    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. #12
    make a google webmaster account and in setting options choose the preferred domain you require thats it..

  13. #13
    We can redirect from non www to www by solving canonical issue for that particular website.

  14. #14
    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

  15. #15
    You can set this using .htaccess file and from Control Panel.

  16. #16
    Join Date
    Mar 2007
    Location
    USA
    Posts
    5,274
    Quote Originally Posted by rickyzen View Post
    make a google webmaster account and in setting options choose the preferred domain you require thats it..
    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.

  17. #17
    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

  1. 301 Redirect NON WWW to WWW
    By p0sixninja in forum SEO / SEM Discussions
    Replies: 5
    Last Post: 08-16-2011, 10:16 AM
  2. How to 301 Redirect Non-WWW to WWW URLs is all domians in server ???
    By sasky in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-27-2010, 10:58 AM
  3. How to redirect.. www.website.com -> www.website.com/forums
    By treck33 in forum Hosting Security and Technology
    Replies: 7
    Last Post: 05-15-2009, 06:14 PM
  4. WWW redirect
    By champrock in forum Hosting Security and Technology
    Replies: 4
    Last Post: 05-26-2007, 07:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •