• I run a wordpress blog with connections as my theme.

    Today I was checking my logs (Latest visitors) when I happened to spot a request for mysite.com/forums/images/dctorrent.gif

    Now no directory called forums exists on my blog, but on typing the URL it lead me to the same page as my home page,with the URL being the same as what I had typed in the browser. In frustration, I even typed out mysite.com/f”:koff, and was led to the home page the same way as last time.

    I happened to check my theme, and did not spot a 404.php ( Correct me if I am wrong).Is this simply why any request for a url not existing led to the home page, or has my page been compromised?. I have a couple of other blogs which also run on wp- ( default kubrick) and they promptly spitted out 404’s when queried for such URL’s.

    To resolve this problem, do I need to create a 404 file ?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • First, the URL you saw was someone attempting to find out if you where running XX forum software. This was probably done as a bot. On top of this, you’ll notice referrer spam (adult sites linking to your own, etc.) in your logs as well – all normal.

    Your second issue on the whole 404 thing is normal if your template does not have a 404 document. Some people like having 404’s end up on the homepage, others like myself, do not – your choice. If you want a 404 template, check out the documentation on creating one here.

    WordPress should have allowed the 404 to get updated in the server logs though. Some shared hosts only update logs every X hours, so you may have to check again in a few hours. Other than that, there could be several things that cause your web server not to log things.

    Thread Starter slytherin

    (@slytherin)

    Thanks for the quick reply Justin.

    I did upload a 404 file, and now queries for any url redirect to that url. Was a bit freaked about being compromised.

    Thanks a ton.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog URL issues’ is closed to new replies.