“URL with WWW and URL without WWW” -Is there any d

2020-05-26 09:40发布

i have noticed one things , when some website are opened in any browser then in URL bar some are like

http://www.something.com

where some are like

http://something.com

here www is missing. Same things is happening with my blog url

if i write in URL bar as

http://www.shareprogrammingtips.com/

then it automatic converted in

http://shareprogrammingtips.com/

i am not getting why this happening ? is there any difference url with www and url without www ?

Edit:

one more thing i have notice is that url with www take longer time to open website then url without www takes..!

1条回答
贼婆χ
2楼-- · 2020-05-26 10:22

It does not matter if you have www in the URL or not, as long as you use the same URL always. This must be happening probably because your server is set-up to redirect the http://www.shareprogrammingtips.com/ to http://shareprogrammingtips.com/.

This will make sure that all the pages will always come to http://shareprogrammingtips.com/ and also search engines would index your site as http://shareprogrammingtips.com/. If your site is accessible from both http://www.shareprogrammingtips.com/ and http://shareprogrammingtips.com/ then the search engines would index both versions of your site, but the page rank of your site will be divided between these 2 versions as for search engines both these sites are different sites.

查看更多
登录 后发表回答