Where is my .htaccess file?
-
I want to change my domain name from http://lizwan.com to http://www.lizwan.com
…research tells me I need to write code into my .htaccess file. I have the code, but I have no idea where to locate the .htaccess file in order to put it in!
(Why didn’t I just have the option to have a www. infront of my domain name in the first place when I signed up for one via WordPress?)
The blog I need help with is: (visible only to logged in users)
-
-
Your research is incorrect when it comes to WordPress.com blogs.
http://lizwan.com is the let’s say “dominant” URL. http://www.lizwan.com is a subsidiary URL that is included when you use the former anyway. It redirects to http://lizwan.com seamlessly. You cannot make the www one dominant, because only about a third of internet users can click on www addresses. The other address is universal. WordPress does not allow you to choose a www. address in the custom domains anyway.
-
Thank you for the reply.
Would you happen to know how I can change my domain from http://lizwan.com to add a www. in front of my name please?
-
Thank you raincoaster for your reply.
I thought that search engines would see a http://domain.com and a http://www.domain.com as being two different addresses…and that addresses with www. are preferred by search engines? Is that not why all major companies have www. in front of their names?
-
No, that’s not accurate. The www URL, as I explained, has less “juice” than the other version. The reason most companies have www in front of their names is that they registered that URL ten years ago or so. It looks more and more old-fashioned and when people are looking for a site they often just type whatever.com in the browser bar. If you have the www address but not the other, that link will not go to your site http://www.whatever.com at all, it’ll just sit there going nowhere.
-
You can see what Staff state here:
www is an old protocol from back when everything was under separate server hardware. www (www.example.com) was the web server, mail (mail.example.com) was the mail server, ftp (ftp.example.com) was the FTP server, print (print.example.com) was the print server, etc.
These days, everything is run under the web server, making www. redundant and a waste of four characters.
Support requests on left on the public support forum can only be removed if they present a valid security or personal safety risk, as their answers are a valuable searchable resource for the entire WordPress.com community. https://en.forums.wordpress.com/topic/did-i-pay-twice?replies=6#post-1052187
- The topic ‘Where is my .htaccess file?’ is closed to new replies.