This didn't seem to be a problem before I upgraded to Drupal 5.1. I have my site (http://www.altbikermice.us/) set up with a splash page for anonymous users and any users not signed in. Once signed in, users are sent to the frontpage I have set up with views (http://www.altbikermice.us/?q=frontpage).

The problem is when you log out, instead of going back to http://www.altbikermice.us/ the page stays at http://www.altbikermice.us/?q=frontpage and the now anonymous user sees the 403 error page. I like my themed 403 page, but I'm really tired of seeing it. And I'm waiting for my users to start complaining that they must be doing something wrong. Is there something I forget to set or a code I need to add?

Comments

Anonymous’s picture

Not sure if this is the best solution but it's one. In your page.tpl.php at the top, something like:

global $user;
if($_GET['q'] == 'frontpage' && !$user->uid) {
  drupal_goto('node');
}
tm’s picture

are you using the frontpage module? it happens to have the same alias when in effect (frontpage).

klcthebookworm’s picture

Yes, I am using the front_page module to make the splash page. I did the same thing when I was on 4.6, and when a user signed out it would go straight to the splash page. Now it's not.

tm’s picture

short of ripping out the front_page module and putting it back, i don't know what to think. you seem to be sufficiently differentiated (frontpage vs front_page), so it should be working.

unfortunately, my experience in this module is limited to "all or nothing"; the anonymous users get a "go away" page where it is being used.

apologies. hope you find a solution. nice site, btw.