Results 1 to 5 of 5

Thread: Page links

  1. #1
    User
    Join Date
    05-21-18.
    Posts
    122

    Default Page links

    Can i somehow remove .html so when i create page there will only be site.com / page instead of site.com / page.html?


    //Moderation: Since the question has nothing to do with "Protected areas" I have moved the thread to this subforum.
    Last edited by xchs; 07/19/2018 at 16:21.

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

    Default

    Yes, put the following in your app/config/config.yml
    Code:
    contao:
        url_suffix: ''

  3. #3
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,098

    Default

    And don't forget to clear the Symfony cache afterwards if you change something in the configuration files.
    Contao Community Moderator
    → Support options

  4. #4
    User
    Join Date
    05-21-18.
    Posts
    122

    Default

    Quote Originally Posted by xchs View Post
    And don't forget to clear the Symfony cache afterwards if you change something in the configuration files.

    That cache is in folder var ?

  5. #5
    Community-Moderator xchs's Avatar
    Join Date
    06-19-09.
    Posts
    1,098

    Default

    Yep. Just delete the folder var/cache/prod/.
    Contao Community Moderator
    → Support options

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
  •