Results 1 to 11 of 11

Thread: Use same news in a multi domain site

  1. #1
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default Use same news in a multi domain site

    How can I use same news archives for muti domain site. In news archive configuration , there is option to select only one detail page . How to configure different detail page for same news in a multi domain site ? Plese help me.

  2. #2
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    331

    Default

    You can use https://github.com/fritzmg/contao-newslist-extended, this allows you to set a custom redirect page for the newslist module. However, this extension will not generate additional sitemap entries. Instead it will use canonical tags.

    Alternatively you can use https://github.com/netzmacht/contao-i18n

  3. #3
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default Thank you

    Thank you for your quick response.

  4. #4
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default return 404

    url is not changing when change the redirect page

  5. #5
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    331

    Default

    You need to explain your problems in more detail.

  6. #6
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default

    Quote Originally Posted by Spooky View Post
    You need to explain your problems in more detail.
    My page structure is like
    News (newslist)
    |____________News Detail

    when I click on a news , the news is redirected to http://mysite.com/News/news-item.html the correct url is http://mysite.com/News/News-Detail/news-item.html . The first url leads to 404.

  7. #7
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    331

    Default

    Which of the extensions are you using now? Post a link to an example.

  8. #8
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default

    I am using news extension in the above mensioned pages. News Module Filtered in the list page and Newsreader module in detail page

  9. #9
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    331

    Default

    So you are not using any of the mentioned additional extensions? Which Contao Version are you using?

  10. #10
    New user
    Join Date
    09-13-17.
    Posts
    26

    Default

    Yes I'am Using newslist extended extension since I am working with multi domain site. Contao version 4.5.8 .Where is $GLOBALS['TL_CONFIG']['disableAlias'] setting?
    Last edited by aswathy; 06/27/2018 at 13:11.

  11. #11
    User Spooky's Avatar
    Join Date
    01-03-13.
    Posts
    331

    Default

    Quote Originally Posted by aswathy View Post
    Contao version 4.5.8 .Where is $GLOBALS['TL_CONFIG']['disableAlias'] setting?
    It has been removed in Contao 4: https://github.com/contao/core-bundl...isable-aliases

    Why do you need it?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •