How can I make my site open as www. instead of http://?

Sushma Gupta April 14, 2013
Pinterest Stumbleupon Whatsapp
Ads by Google

I have installed WordPress on my site.

At the time of installation they were all installed as http://Taxgyan.in not as http://www.Taxgyan.in or www.Taxgyan.in. When site is opened in browser, it only show as taxgyan.in

Though they both are opening . ie with http:// or www.. But my preference is that it should be visible as www.taxgyan.in.

Can you please guide how can I correct this. Iam about to install wordpress on my site other site.Please advice how can i make sure that it is visible as www.sitename.com

  1. Sushma Gupta
    April 15, 2013 at 4:57 pm

    After i have changed the settings and try to save it iam getting following error. Please advice

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/taxgyan.in/wp-admin/includes/misc.php on line 133

    Warning: Cannot modify header information - headers already sent by (output started at /home//public_html/taxgyan.in/wp-admin/includes/misc.php:133) in /home/public_html/taxgyan.in/wp-includes/pluggable.php on line 876

  2. raygonsmith
    April 15, 2013 at 7:56 am

    Hey, do the following step: 1. Log in to your website WordPress setting panel. 2. Go to Settings > General. 3. Put the following WordPress Address (URL) : http://www.yoursite.com and Site Address (URL) : http://www.yoursite.com 4. click save changes and next time you open your site you should get http://www.yoursite.com

  3. raygonsmith
    April 15, 2013 at 7:51 am

    Hey,
    1. Log in to your website WordPress setting panel.
    2. Go to Settings > General.
    3.
    WordPress Address (URL) : http://www.yoursite.com
    Site Address (URL) : http://www.yoursite.com

  4. Athul Jayaram
    April 15, 2013 at 7:13 am

    Hi Sushma,

    You can do it easily by just going to http://taxgyan.in/wp-admin/options-general.php and changing
    WordPress Address (URL) from http://taxgyan.in to http://www.taxgyan.in
    Site Address (URL) from http://taxgyan.in to http://www.taxgyan.in
    and click Save changes

    If you have any problem let me know :)

    • Sushma Gupta
      April 15, 2013 at 2:10 pm

      Thanks every body for the answer. i have done lot of search on internet and was not able to find the answer. With your reply , it looks so simple.

    • Athul Jayaram
      April 16, 2013 at 4:16 am

      :) I'm happy this worked

  5. Louis Wang
    April 15, 2013 at 4:27 am

    There is no difference between http://www. and www. unless you were encrypting the website. So there is nothing to fix, it's just the different ways different browser display URLs, you can't change it.

    • justinpot
      April 15, 2013 at 2:33 pm

      Yeah, I prefer to go without the WWW on my sites but it really doesn't matter anymore.

  6. Bruce Epper
    April 14, 2013 at 11:29 pm

    If you are running on Apache, the mod_rewrite module is installed and you are allowed to override server settings with the .htaccess file, you can simply add the following rules to the .htaccess file to automatically perform the redirect:

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^taxgyan.com$ [NC]
    RewriteRule ^(.*)$ http://www.taxgyan.com/$1 [R=301,L]

    Microsoft's IIS also has a rewrite module, but I have never used it. Information on how to use it is available on their TechNet site.

Ads by Google