Fork me on GitHub

Module: News  Bottom

Go to page 1 - 2 [+1]:

  • As request by Mark, a new topic reqarding some SEO on this handling of the module using ShortURLs

    When using ShortURLs with this module, you can have the URL to look like:
    index.php/News/1/Display/Woot_my_frist_article/

    Now the title is in the URL, which ads up for SEO. People link to that URL, because of the content that's in the article, and as shown, filed with id 1.

    Since I'm a greatest article writer in the world (and even that's an understatement icon_razz ), people link to it. And the SE's has indexed and I'm given a PR of 4 on that page. Lucky me huh...

    Then I check my inbox: dude, there'a typo in your title of the article..

    Now that's a big bummer, time to fix it. At that time, I break all backlinks, and lose my PR, due to the fact the URL gets invalid. The article is still on the site, but the URL has moved. Therefor the 301 header has been introduced, to give to notice: this URL was here, but moved to another location.

    Bots follow these 301's, and keep the PR intact, because it moved along with it.

    My idea is, always have the article-id in the URL, and check from there.. So the systems sees article-id 1 being requested, and then it checks if the title is correct: 'This_is_my_frist_article' If the title is correct, display the page, if it's incorrect, you know the correct title, and send a 301 moved permanent to the URL holding the correct title.

    It gives a little overhead maybe on the database, but it keeps the PR and backlinks working at all times. Keeping PR intact.


    Another thing that came to my attention was, I'm missing paragraphs in articles...
    Each line should start with a < p > and when an enter is given, instead of a < br /> give a < /p >.

    SE's then know what's part of a complete piece of text, and what isn't. Making text in menu's weight lower then the text in paragraph tags.
  • Edited



    edited by: Bad_Dude, Mar 06, 2007 - 05:02 AM

    --
    -James


    My Work.....

  • The permalink doesn't alter when you change the title unless you alter it yourself...

    So taking the example of a news article with the title 'A test article'. The permalink will be come 'A-test-article'. If you then change the article title to 'Another test article' the permalink will remain as 'A-test-article' and thus this article will aways been found.

    The very point of permalinks is that they are permanent (the perma bit!) and once you publish an article this shouldn't change. PN gives you the OPTION of changing the peramlink if you want but this result in the old link not being valid an will respond as unknown. But by default this isn't the case.

    If you wish to have the article ID in the permalink then this can also be done. For the news module more so than other modules the permalink sysyem is fully customizable. You can include the artice id, URL title, day, month, year and, soon, a category title.

    This feedback suggests to me that you've not looked at .8x for some time as the implementation of permalinks has evolved some what.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • I simply add &title=A-test-article to all the links that call my articles. The links work with and without the title or if you change the title: http://www.kaffeeringe.de


    --
    best regards from Kiel, sailing city

    Steffen Voss

    Member of the Zikula Steering Committee
    Read The Zikulan's Blog "If you want people to RTFM, make a better FM!"
  • The term 'permalink' is nothing but a term. It's not a special tag, it's just a link.

    When adding the title to the URL, as I mentioned in the OP, and somehow there's a typo slipped in when posting. It'd be better to fix it. A typo in the title, thereby in the URL, doesn't look professional.

    Since the article is filed under an ID, and when having the ID always in the URL: /News/1/Display/test.html
    You can do these checks. Broken backlinks sucks.

    For the category that can be put in the URL of an article, sounds good. Adds a few keywords, but...

    So, I'm starting a site, for computer techy stuff.. It's a small community, but it's growing..
    I've got a few categories: Software, Operating Systems, Hardware.
    My urls are looking like: /News/1/Operating-Systems/2/Windows-Vista-is-the-bomb/

    Now my site really runs well, my userbase grows, and then there's the issue, that the category 'Operating Systems' should be split up in 3 sub-categories: Windows, *NIX, Mac.

    The old articles would then become invalid, because the new article will be filed under Windows:
    /News/1/Windows/2-2/Windows/Windows-Vista-is-the-bomb/

    When looking at it, in a long-term, the extra features that are made, aren't their to be used on a site that is subject to change in everything. Categories can expand..

    A site with 500 users with 1 posting a day in a category, like Operating Systems, will do fine. But for a growing community, where people doesn't give a rats-arse about Windows, can use for example, the RSS-feed for the *NIX category. But say these changes are made after 1 year, with 1 article a day, you break 365 backlinks.

    I need a site that works, and a site that keeps working on older/archived stuff after changes that are made.

    So, within .8 there's no room to grow, when making these kind of changes.

    The position in the SERP are based on the PR and the SEO of the site itself. PR stands for PageRank, and 365 pages that would rank say 4, and after a change, an upgrade to the usability, which result in those Pages are invalid, will drop the popularity of the site. The complete site will drop in the results if 365 highly ranked Pages are gone.. Well, they aren't, but they moved permanent, which is a HTTP-header for: 301 Moved Permanent.


    Steffen, your idea I've thought about of doing. In your case, the urls don't break, but you're duplicating content. Since 1 article will be shown whatever the &title= will be (Same as what is happening with each article on pn.com).

    If you search on google for an article on PN.com, you'll see that the normal-urls rank higher then the shorturls-URL. Why? well, that's because of the backlinks. The RSS-feed of pn.com outputs the normal-urls, so the incomming urls, which count for PR, are higher then the internal links using shorturls.

    It basicly comes to this: Running a good site, and looking to all SE's guidelines for webmasters, PN should think about what the results are when a site is subject to change/grow.
    Do NOT duplicate content
    Use 301 redirect if a page changed location, to keep PR

    As for w3c compliancy, or on the issue: 'what specialists say', or on accessibility.. Fine with me, but for my needs, these things are a great miss. Looing at the webmaster guidelines, you basicly say: we don't care.
  • I hope for the thing that can be selected in ID and title. Because Chinese and Japanese use 2byte string. 2byte string cannot be used as appropriate URL. Chinese and Japanese are worrying about this function. icon_frown
  • To re-iterate what I've said already you can have any of the following in your permalink format.

    article id
    article title (formatted for URL and stored separate from the real title)
    day, month and year of post
    and soon the, primary, category.

    You MUST have ONE of either the title or article id.

    RaZ - from reading your posts all you want is the ability to be able to select by the article ID. So, to make sure there is no confusion, YOU CAN DO THIS! Just make sure to include the article ID in your chosen permalink format. You can still have any of the rest of the fields there too but the article ID is the one that will be used to identify the post.

    I really encourage people to actually install the latest daily because, to me anyway, it sounds like we're all talking about the same thing but across each other.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Do I need to download and install the MS3 and then overwrite all files with the daily? Since the last daily build isn't installing here... :-p
  • No - just grab the latest daily build. MS3 is essentially a daily build that reached a given point of functionality.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • Hi! markwest
    I was misunderstanding it. icon_razz
    Sorry!

    It is not proper that the module name defined by lang file is used with ShortURL.
    Example that uses English:
    http://example.com/News/.../.../
    Example that uses Japanese:
    http://example.com/????/.../../
    Please consider ShortURL for multi byte character. icon_wink
  • The module name used in the URL is defined by the 'display name' not the real module name. This can be entered via the admin panel.

    -Mark

    --
    Visit My homepage and Zikula themes.
  • In your method, the display of the module name in the Admin panel is converted. However,I hope to convert only URL without converting the display in the Admin panel. The user who uses multi byte character only uses the menu in the Admin panel in English if it doesn't do so. icon_frown
  • The module name isn't converted, well, not per default, where modules have the authors name.

    Nice example is this forum, which the author(s) choosen it to name it: pnForum. As you can see, in your browser the URL isn't pnForum, but Forum.

    You can choose whatever name you want for each module. pnForum -> Discussions or even: News -> HotStuff

    Thought, the thread I started for some feedback on SEO. On the issue, having the title being added to the URL, so it adds up to keyword-density.

    I'm not sure what this has to do with how one should name a module. Which is done in the Admin.

    Far is i know, URL must be US/ACSII. For other languages like Japanese, Chinese, Russian, Polish, Greek or Arabic (I sure must miss some, but you get the point I hope), some characters aren't allowed in urls/domains.
    Using names with characters that aren't urlencoded (which makes them even non-human-readable) is a waste of time.

    Just use characters 0-9 a-z A-Z in urls, and you'll be fine. Having News-items posted in languages as discribed above, just don't add the title to the URL.

    Hope this clarifies any questions regarding naming modules / adding titles to urls..
  • URLs can contain localised characters - for example some of the URLs on the German site use the umlaute character (this threw up a couple of bugs initially which have since been fixed).

    --
    itbegins.co.uk - Zikula Consulting

    birtwistle.me.uk - Personal Blog


    Please read the Support Guide
  • For some reason i can't run the daily. But I ran into the same issue, weird characters can't be in the URL.

    I'm writing a routine that converts these characters, it's not complete yet, but here you can see a little preview on how a title with those weird characters is converted to be added to the URL for SEO

    Click

Go to page 1 - 2 [+1]:

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