Fork me on GitHub

short URL not working for news  Bottom

  • I enabled the short URL's (directory)without any .htaccess as this seems not to be needed.
    It works nicely for content type items but does not work properly for news items. Short URL's for news items look like 'http://192.168.16.11/index.php/News' but without the actual news item.
    Installation zikula 1.0.1 on ubuntu 7.10 serveur.
    sorry if this thing has been discussed before - I am on a very slow connection and cannot afford the time to read more than a few pages of the forums a time.
    Thanks for your help
  • Admin Panel -> News -> Settings -> Permalinks
    don't use the custom structure

    --
    Zikula Italia
    SimpleGallery
  • Thanks - that did it. For whatever reason I did not check the settings in the news module but verified only the creation of the permalink URL title.
    that was quick.
  • You are welcome icon_smile

    --
    Zikula Italia
    SimpleGallery
  • hello, i have set also this option as Arthens say (using the shorturls.directory.htaccess) but nothing to do, the result as you can see is here:
    http://www.smeego.it/
    Main Menu links are ok while the news/pages links are not properly processed, any help to solve this problem? Thank!



    edited by: axew3, Sep 02, 2008 - 11:48 AM

    --
    axew3 temp home
  • I have read all what i have found all over internet from two days, but nothing to do: please, any help will be really appreciated boys. Thank you

    --
    axew3 temp home
  • If I remember correctly the file shorturls.directory.htaccess (renamed to .htaccess) it's needed only with the option Strip entry point from directory-based URLs: Yes

    This link:
    http://www.smeego.it/index.php/News/1/
    doesn't work

    whilst this
    http://www.smeego.it/News/1/
    works fine.

    Try to set Strip entry point from directory-based URLs to Yes (in settings, where you enabled short urls) or just remove the .htaccess file.



    edited by: Arthens, Sep 02, 2008 - 01:54 PM

    --
    Zikula Italia
    SimpleGallery
  • That's pretty weird
    should work even if the Entry point is not stripped...

    do you have a theme called News?
    that can be a conflict with the News module
    because directory type URLs can work as /ThemeName/ModName/func/

    Also check the News shortURL configuration
    and try to customize the article link...

    --
    - Mateo T. -
    Mis principios... son mis fines
  • The strip entry have solve the thing, it work fine now and i was sure that i had try out also this option:
    a big thank boys!

    p.s i don't know if also the option

    Quote

    RewriteBase /

    have change something in the way.



    edited by: axew3, Sep 02, 2008 - 07:37 PM

    --
    axew3 temp home
  • the print links are threated as others templates links from short_url, so i need to put in the template .html file a direct link to print and make it work without problems pointing correctly to the proper print/template page.
    There is a command line of code that can exclude for example print links to be threated from the short URL feature?
    It is possible to be solved ?

    I only Hope it was clear my question ... my english (i imagine) result like a brutal strange slang!



    edited by: axew3, Sep 03, 2008 - 11:21 AM

    --
    axew3 temp home
  • not work, sorry... i had put an answer but it do not work properly now instead




    edited by: axew3, Sep 03, 2008 - 11:38 AM

    --
    axew3 temp home
  • the aboveis my error:
    problem was, i had delete in the templates folder, the print theme: so the error was coming up!
    I have re-upload the theme and regenerate the list in admin: all work as need now!



    edited by: axew3, Sep 03, 2008 - 12:32 PM

    --
    axew3 temp home

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