Results 1 to 4 of 4

Thread: Rewrite URL and Syndication

  1. #1
    New user
    Join Date
    01-15-14.
    Posts
    10

    Default Rewrite URL and Syndication

    Hello Contao users,

    I try to setup the Rewrite URL to avoid having index.php in the middle of the path.
    The rewrite and the syndication (share with twitter, FB, Google+) works perfectly ex : http://mysite.com/news.html
    However if I decide to omit the .html the URL suffix in the settings for having http://mysite.com/news then the syndication does not work any more (it pop up a window with the site and not going to twitter, fb, ...)
    The .htacces has been modified accordingly
    Thanks for the help

    Massimo

  2. #2

    Default

    Hi.

    Just to check if everything has be done :

    You check the RewriteURL checkbox.
    Then, change the suffix to nothing
    Finally, you change the htaccess by uncomment some lines in the htaccess ?

  3. #3
    New user
    Join Date
    01-15-14.
    Posts
    10

    Default

    Quote Originally Posted by Lupus View Post
    Hi.

    Just to check if everything has be done :

    You check the RewriteURL checkbox.
    Then, change the suffix to nothing
    Finally, you change the htaccess by uncomment some lines in the htaccess ?
    Thanks Lupus,
    This is exactly what I have done

  4. #4

    Default

    Try to print the $_SERVER values, or look in index.php for the $objPage->alias Contao try to find.

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
  •