Results 1 to 5 of 5

Thread: Issue ocurring while protecting the page-streetpro.nl/Home.html

  1. #1
    New user
    Join Date
    11-20-14.
    Posts
    4

    Ausrufezeichen Issue ocurring while protecting the page-streetpro.nl/Home.html

    Hi,

    I have a problem in contao site

    Without login this particular site streetpro.nl/ when user directlly access the home page streetpro.nl/Home.html it get directs to http://www.jeugdwerkloosheidsinitiatieven.nl/login.html

    It should direct to the main URL streetpro.nl/ or http://streetpro.nl/login.html ,but its redirect to different domain

    Please suggest the solution and reason for occurring issue

    ASAP!Waiting for your reply!!!!!

    Regards,
    Ram

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

    Default

    Do you have solved the problem in the meantime?
    Contao Community Moderator
    → Support options

  3. #3
    Community-Moderator lucina's Avatar
    Join Date
    10-08-10.
    Location
    Issy-les-moulineaux
    Posts
    93

    Default

    Doesn't seem to be solved yet. @Ram: please check if there is any server-side directive, maybe in an .htaccess file, maybe in a folder above. Contao won't redirect unless you tell the system to do so.

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

    Default

    You're right. The redirect to the other domain still occurs.

    As @lucina already said, check first for an redirect directive in the ".htaccess" server configuration file.

    The redirect could also be set in the page settings of the page "Home". So, check the site structure in the Contao back end for an external redirect to the other domain.
    Contao Community Moderator
    → Support options

  5. #5
    New user
    Join Date
    11-20-14.
    Posts
    4

    Fixed!!!

    Finally, the redirection issue has occurred in contao template files...(be_forbidden.html5, be_no_root.html5).
    Some one copy that two templates from http://www.jeugdwerkloosheidsinitiatieven.nl and used here (http://streetpro.nl)...

    <html>
    <meta http-equiv="refresh" content="0; url=http://www.jeugdwerkloosheidsinitiatieven.nl/login.html" />
    </html>


    so,I have changed the Url - http://www.jeugdwerkloosheidsinitiatieven.nl/login.html to http://streetpro.nl/.
    Now its working fine...
    @xchs and lucina
    Thanks for your comments!!!

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
  •