Login form on 403 Forbidden page
Permalink
I'm looking to set up the login page, 404 and 403 pages to use my theme. I've got the login page and the 404 working as I want, but for whatever reason, the 403 seems to want to point to the login page.
I've set them all up as single pages in my site, edited site_theme_paths accordingly, and yet the pesky 403 seems to get ignored and just spits out a login form where I really don't want one. The odd thing is, is that page handle on this page is returned as "page_forbidden" as expected, yet editing that single page does nothing at all.
What am I missing?
Thanks..
This v 5.4.0.5.
I've set them all up as single pages in my site, edited site_theme_paths accordingly, and yet the pesky 403 seems to get ignored and just spits out a login form where I really don't want one. The odd thing is, is that page handle on this page is returned as "page_forbidden" as expected, yet editing that single page does nothing at all.
What am I missing?
Thanks..
This v 5.4.0.5.
I've tried this, and anything I put in there get's totally ignored in the page_forbidden.php file.
This is turning into a serious show-stopper for me.
This is turning into a serious show-stopper for me.
Did you try it while your /single_pages was empty?
My solotion is ment to be placed in /concrete/single_pages while the other single_pages is empty/doesn't have those specific pages.
My solotion is ment to be placed in /concrete/single_pages while the other single_pages is empty/doesn't have those specific pages.
I can't add things inside the concrete folder - bad practice, and it's a shared install.
in that case my solution indeed doesn't work.
you can try a 301 redirect in your .htaccess instead then.
you can try a 301 redirect in your .htaccess instead then.
Redirect 301 /page_forbidden.php http://www.sitename.com/errorpagename
that is very interesting, ill look into this, ill post a bug aswell, im having the same problem...
To make these defined basics modify the basic concrete pages.
In both the page_not_found.php & page_forbidden.php place the following code: (remove everything else in it since that's of no importance)
that way you make use of the basic pages but they show your errors.