0
Welcome Guest! Login
0 items Join Now

Logout button redirect error

    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
    • No, just the default SEF. I would be fine if I could just "hard code" the redirect...as long as it worked....
  • Re: Logout button redirect error

    Posted 14 years 4 months ago
    • Hmm, I am not sure why it always add index.php at www.southbay.cc/resources/index.php when logout. However, I might have an idea to trick it.
      How about creating and index.php file and put it under resources folder then in that index.php put a redirection link to www.southbay.cc/resources/ so it will not produce 404 error anymore. How do you think?
    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
    • That would be fine, but I wonder why its is looking for resources/index.php when it should be going to the home page. It almost like it is looking for a relative /index.php. Thats why it works on the home page??? In reality, that's where I want my logout redirect to go, and where it is set now. I dont know why it goes to www.southbay.cc/resouces at all, with or without the index.php

      If we can trick it, that would be fine too.
  • Re: Logout button redirect error

    Posted 14 years 4 months ago
    • Mark0514 wrote:
      That would be fine, but I wonder why its is looking for resources/index.php when it should be going to the home page. It almost like it is looking for a relative /index.php. Thats why it works on the home page??? In reality, that's where I want my logout redirect to go, and where it is set now. I dont know why it goes to www.southbay.cc/resouces at all, with or without the index.php

      If we can trick it, that would be fine too.
      Hmm, I am not too sure about this. Since I see you are not using the default Joomla login module, do you think the issue is related to it? Could you please test with the default login module and see whether we still have the same issue?
    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
    • It is the same with the default module, SignalLogin, YooLogin, etc.
  • Re: Logout button redirect error

    Posted 14 years 4 months ago
    • Oh, that's not so good. Unfortunately, I don't have idea why it redirects to index.php which doesn't exist. Since this is more related to the Joomla core file (SEF feature), how about shooting this question in Joomla forum? In the meantime, you might want to try the workaround I suggested above.
    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
  • Re: Logout button redirect error

    Posted 14 years 4 months ago
    • Sure.
      1) Create index.php file in the folder which give you 404 Error ( www.southbay.cc/resources/index.php )
      2) Put this into the content:
      <?php
      /* Redirect browser */
      header("Location: http://www.southbay.cc/resources/");
      exit;
      ?>
      Please let me know the result
    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
    • That works for the redirect, but it doesnt log me out. I also switch back to the default module to see, but the results are the same.
    • Mark0514's Avatar
    • Mark0514
    • Sr. Rocketeer
    • Posts: 156
    • Thanks: 2

    Re: Logout button redirect error

    Posted 14 years 4 months ago
    • Could I have tha index.php redirect me to

      index.php?option=com_user&task=logout&return=Lw

Time to create page: 0.056 seconds