ldotcom
By:
ldotcom

Error 404: How can I fix?

September 27, 2014 1.4k views

A couple of days ago, Google Webmaster Tools gave me a message about 404 error. I don't know why, but now my server automatically duplicated the domain name to the last of individual addresses.

I got more than 404 error addresses just within 2 days GWT scanned.

For example:

The original is http://abc.com to http://abc.com/abc.com
http://abc.com/hieu-luat-choi/thau-hieu-phu-nu/tam-ly-gai-dep-tot-bung-hay-xau-xa to http://abc.com/hieu-luat-choi/thau-hieu-phu-nu/tam-ly-gai-dep-tot-bung-hay-xau-xa/abc.com
http://abc.com/category/chinh-toi/ to http://abc.com/category/chinh-toi/abc.com
...

Whenever I created 1 new post, I got 1 404 error on GWT tomorrow.

Any comments and suggestions are appreciated.

Thanks.

6 comments
  • Hi, can you pastebin your Virtualhost config?

  • Hi Kamaln7, where my Virtualhost config located at? Actually, I'm recently new here. I don't have much knowledge about VPS. Thanks.

  • Hi, After figured out, I recognize that I did not create the virtualhost config. I run only 1 site right now. Do you have any suggestion?

  • It's most likely stored in /etc/apache2/sites-enabled. If you haven't added any virtualhosts yourself, there should be one file in there.

  • It's an empty folder unfortunately.

  • Hmm, are you running Apache or nginx? What's the output of the following command?

    sudo netstat -plutn | grep 80
    
Be the first one to answer this question.