Advanced search  


CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Domain address after logout  (Read 2324 times)

0 Members and 1 Guest are viewing this topic.


  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 22
Domain address after logout
« on: December 31, 2009, 11:22:55 am »


This is address of my site:  But after me or some other user logout from the profile, address is not returned to, but to Of course this is exactly the same, but  I would like to enforce site to return to, without index.php in address after logout.

How to do that?  ???


Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
Re: Domain address after logout
« Reply #1 on: December 31, 2009, 01:55:35 pm »

On logout you're being redirected to the page that you have come from. If that is the index page, you'll be redirected to the index page. If it's another page, you'll be redirected to that page. If you don't like that behaviour, edit logout.php with a plain text editor, find
Code: [Select]
pageheader($lang_logout_php['logout'], "<META http-equiv=\"refresh\" content=\"3;url=$referer\">");and edit as you see fit, removing the variable $referer and replacing it with whatever you like.
This piece of advice only applies if you're using coppermine as a standalone app. If you're using coppermine bridged to another app, the logout process of that other third-party application applies instead of the process defined in coppermine, so you have to edit that third-party software, which is something we can't help you with.
In your case, you don't appear to be bridged, so my initial advice applies. However, please note that I find it silly to edit the redirection process on logout and not very user friendly.

Pages: [1]   Go Up

Page created in 0.026 seconds with 20 queries.