In the context of the directories at the server, http://your-domain.com is the root folder. The www part in http://www.your-domain.com is a subdirectory or a subdomain which usually redirects to the root folder. The “www” prefix has no meaning in the way the main Web site is shown. The “www” prefix is simply one choice for a Web site’s host name. It is mostly used because a host name for the web-server is often ‘www’.

If you are using an Apache server to host your site, then the best way to redirect visitors from http://domain.com to http://www.domain.com is by using a .htaccess file.

.htaccess file is the one that has the configuration settings for the particular directory it is placed in. If you are using your hosting provider’s file manager menu then in many cases you may not be able to see the .htaccess file in your root menu. In that case you can download FileZilla, an excellent open-source FTP client. After locating your .htaccess file and downloading it, it is a good idea to make a copy(with original settings) of it first as a backup.

Now to redirect from non-www to www enter the following code in the top of the .htaccess file: (more…)

  • 5 Comments
  • Filed under: How To, Web, Wordpress
  • Hello Everyone

    Since last year, whenever I read any informative and enticing blog post, I always asked this question to myself; ‘when am I going to start one?’.

    But last month I read a post, ‘Why make Site Prototypes?’ by Greg Wolejko. After reading this post, I thought to myself that not only is this post real educative, but also, it is like a valuable contribution, a fun and cool way of giving the world something that others can benefit from, like Open Source.

    Going to WordPress.org and downloading the latest 2.6 build was the only choice I was left with now, for a number of reasons:

    • I had to start a blog myself; ‘Ain’t no stopping me now!’.
    • I believed myself to be technically sound enough to host my own blog (although WordPress makes the job a piece of cake!).
    • WordPress was the obvious reason because of its usability, dynamics and */read text between brackets of point two/* (for the fear of sounding repetitive).
    • Hosting is real cheap these days.   (more…)

    About



    Hello, I am Pushkar Singh Arora. I am currently a Computer Science student and I love to learn new technologies, specially in software programming.

    This Blog is my portal to online world where I put in my thoughts, Mac tips, exciting new things I learn (or already learned), links to articles I find interesting as well as lots of random stuff.


    Home Office Furniture with Free Shipping


    I now work for Wholesale Furniture Brokers as a programmer and I highly recommend that you check out our selection of home office furniture if you are looking for office chairs, filing cabinets, or even computer desks. We offer free shipping on everything and I’ve actually seen the furniture in person and the quality is better than I imagined.