Fork me on GitHub

Error module, incorrect protocol  Bottom

  • I've just downloaded RC2 to check something regarding the SEO issue, and noticed some minor mistakes in the error module.
    .
    The protocols send hard hardcoded, which isn't a good thing, specially on SEO.
    .
    For a 301 PN sends a HTTP/1.1
    For a 403 & 404 PN send a HTTP/1.0
    .
    Since Google crawls on the 1.1 protocol, it's expecting a 1.1 protocol repsonse, on a 301 that's correct, on a 403 & 404 it's not.
    .
    Microsoft's msnbot crawls on the 1.0 protocol. This means that 301's are being send incorrectly.
    .
    The RFC is clean on the issue: Repsond with the protocol that's used in the request.
    If crawler obey the RFC, PN isn't really that SEO'd :P
    .
    Shouldn't be to hard to correct, get the protocol used is easy:

    Code

    $_SERVER['SERVER_PROTOCOL']

    .
    Slidely off-topic: In the SEO article there's something said about the 'autolinks' module. It's not in de Core, not in the Value Addons, and not as a .8 module on the site.. Anyone who can point me too it ?
    .
    Edit: The dots are because whitespace isn't working when posting code-tags.. buggy forum (as in not yet fixed?)



    edited by: ZarToXidE, Feb 06, 2008 - 06:04 AM
  • About Autolinks:
    I guess it's included in the MultiHook module...

    and yes, the bug with the code-tags...
    i use double whitespaces to get the paragraphs Ok...

    --
    - Mateo T. -
    Mis principios... son mis fines
  • I logged the whitespacing issue some time ago - it's with the bbcode module.

    With regard to the protocol selection the header calls are spread and hardcoded. So it's not a trivial change to fix all of these. I'd look to introduce a method into the object library to send a header where the protocol selection can then be obtained from the requestor in a single place.

    Can you log a bug for this fault.

    Thanks.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • nestermateo,

    If that's the MultiHook module people are using with 0.7x, then the article on the frontpage should be corrected. The module is a cloaking module, which means: It show a different page then the user.

    The module checks if the user-agent, if that's a crawler, it doesn't do any addition. So autolinks aren't links. It add 0.0 to SEO for that matter.

    Mark,

    I know I can use the log for bugs, but it's not user-friendly (to me that is). So, I put it in the forums. If you want it in the bugtracker, log it.. Sorry.
  • I'm going out on a limb here, and I may be in the wrong but...

    ZarToXidE

    I know I can use the log for bugs, but it's not user-friendly (to me that is). So, I put it in the forums. If you want it in the bugtracker, log it.. Sorry.


    That's pretty lame. Is it not enough that the devs sacrifice their free time to write and debug the code to give to you? Now you want them to filter through forum posts while they check off the bug tracker list?

    Sorry I don't mean to come off offensivly, but for the 5 minutes it'd take you to properly ask them to spend a couple/few hours more on their free product compared to the value we take away from the product I'd think we could be a little more dev friendly.



    edited by: Topiatic, Feb 08, 2008 - 12:30 PM

    --
    Under Construction!
  • I don't ask people to log bugs in the tracker for no reason. The logic behind me asking you to log it is that you'll recieve responses to the tracker item. These might be a request for more info or a request to test a new daily for a fix to the problem.

    If I log the bug then you don't get these responses meaning that we then have to work through the bug in multiple places (i.e. here and the NOC). Given that we all do this in our spare time I don't think it's much to ask.


    -Mark

    --
    Visit My homepage and Zikula themes.
  • And your time is appreciated, at least by this code enthusiast who is attempting my first few OO PN modules on a revamped PN 8
  • Topiatic,

    I'm not using PN. Neither do I care how much time a devver sacrifice their free time, and besides, they choose to do that themselves.

    They're not giving anything to me for that matter.

    For someone who sees this as a bug, then log it, I personally took my expensive time to even post a thread on it. So much for sacrificing my spare time.

    As mark said, when putting something in the tracker, you'll get updates on the issue, and that's something I really don't want. What's it to me if something is fixed or not in a product I don't use? Why would I put my email-address on a list where i don't want mails from?

    Then, the forum says it's a RC2 feedback, and for that, i gave my feedback, or did I not? I even took the time to download it, and check something based on an faulty article.

    So, basicly... I took the time to check something, and noticed an issue, who are you to bitch about me being lame for not putting it in the tracker? If you want the issue fixed, put it there yourself.

    This is my feedback to RC2. take it of leave it..
  • Zartoxide,

    That's fine, sorry for the offence, but that's not what you said and therefore not what I was responding to.



    edited by: Topiatic, Feb 09, 2008 - 09:49 AM

    --
    Under Construction!
  • The headers in the errors module have now been fixed.

    These aren't the only places headers are sent so a more complete fix is still needed.

    -Mark

    --
    Visit My homepage and Zikula themes.

This list is based on users active over the last 60 minutes.