WordPress.org

Ready to get started?Download WordPress

Forums

Counterize strange URI (12 posts)

  1. mickej
    Member
    Posted 8 years ago #

    Hi,

    I use Counterize and got ome hits that have URI:
    "/blog/2006/02/17/something/wp-content /favicon.ico"

    Why is that?

    1st: I dont have a favicon.
    2nd: Why trying to find a favicon there?

    I also have som URIs that looks like this:
    "blogg/wp-content/favicon.ico"

    Seem tom look for the favicon at the right place, but why is that registered as a hit? Should it be like that?

    Most "concerned" about the above one though.

  2. whooami
    Member
    Posted 8 years ago #

    ..

  3. mickej
    Member
    Posted 8 years ago #

    Ahaaaaa... if someone put a post in his/her bookmarks it looks for the favicon.ico. Sure... But why does it look for it where it i not even supposed to be? I just tried it with my own IP, booth above occured.

  4. whooami
    Member
    Posted 8 years ago #

    good question :) and I actually dont have an answer.

  5. Mark (podz)
    Support Maven
    Posted 8 years ago #

    I can't see what whooami said... so I'm at risk of saying the same thing.

    In your header, do you have - anywhere - href="/wp-content/favicon.ico"
    If you do, that is the problem.

  6. mickej
    Member
    Posted 8 years ago #

    podz: Yes i have, and i DO have an favicon.ico. So the URI from http://www.myblog.com/wp-content/favicon.ico in Counterize should be there, but why does the browser try to find the favicon.ico in http://www.myblog.com/posts/2006/2/18/somepost/wp-content/favicon.ico if someone adds http://www.myblog.com/posts/2006/2/18/somepost/ to their bookmarks? That is the question... :S

  7. Mark (podz)
    Support Maven
    Posted 8 years ago #

    href="/wp-content/favicon.ico"
    means add that to whatever url is there in the address bar, so if you have
    http://www.bbc.com
    it will look at
    http://www.bbc.com/wp-content/favicon.ico
    which is probably correct

    But
    http://www.bbc.com/apple/folder/blog/
    would also look relatively and that would be
    http://www.bbc.com/apple/folder/blog/wp-content/favicon.ico
    which is wrong.

    So..in header, put the full url to the favicon and then see what happens.
    Without a url to your site, this is as best as I can do.

  8. whooami
    Member
    Posted 8 years ago #

    ahhh, yes i didnt even to look where he/whe was putting the actual favicon

    for what its worth, browsers look for your favicon at the root of your web site. Basically that means that though you may specify a path to it in your header so that they will see it when they hit your site, its a crap shoot if they bookmark it.

    Safe thing is to put it in your web_root and use that path.

  9. mickej
    Member
    Posted 8 years ago #

    I putted the hole adress there, it hepled. Thx!

    Now counterize doesn't count any of the .ico-hits. Nice!

  10. andemad
    Member
    Posted 8 years ago #

    Mickej - good thing you asked. People have asked me previously why Counterize counted those hits, and I really couldn't tell.
    Being the author of something you can't really explain is kindof crappy :)

    Nice to get clarification...

  11. mickej
    Member
    Posted 8 years ago #

    Np. It's me you are emailing with about the feature I want in counterize. ;)

  12. drumat5280
    Member
    Posted 7 years ago #

    I customized the way my URLs appear using the standard wordpress interface for URL rewrites, however when i use Counterize the only page it lists in the index.php page and no other ones. Is there a way around this?

Topic Closed

This topic has been closed to new replies.

About this Topic