-
Author
-
October 16, 2018 at 13:32 #211666riggerhParticipant
Hi!
I customized my 404.php in the child theme. It all was working fine until I tried to hide some sites (for members, plugin is uam). Now my 404 site links to your demo page (https://seventhqueen.com/themes/kleo/demo-portfolio/?page_id=5), but only when I try to call a “hidden” site or hit the logout button. If I call a “normal” wrong page (like url/123) the correct 404 page is showing…
October 16, 2018 at 21:45 #211707LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
October 17, 2018 at 14:25 #211736RaduModeratorHi,
How did you hidded that titles ?
Not sure if they can be related, you can try to revert those changes and to use this plugin : https://ro.wordpress.org/plugins/404page/
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 18, 2018 at 08:45 #211790riggerhParticipantHi,
I regulate the access to the member-pages with “uam”, user access manager. That is a known plugin. What I was wondering about is that when I try to call a member-only-site when I’m NOT logged in by typing the url like flieger.adminkurs.de/intern, I get the 404 page from https://seventhqueen.com/themes/kleo/demo-portfolio/?page_id=5 ! But when I’m testing to access a non-existing page like flieger.adminkurs.de/123, I get the “right” 404 page I want to appear (modified 404-page from the main theme copied in the child theme)… strange, isn’t it? Can you explain why the 404 from the seventhqueen-demo is shown?
RegardsOctober 19, 2018 at 18:36 #211872RaduModeratorI think i know why, somehow in a case serve the 404 page from child and the other from parent and the parent theme 404.php file has by default right sidebar, try the next snippet
COPY CODEfunction sqr_404_full_layout() { if ( is_404() ) { kleo_switch_layout('full'); } } add_action ('kleo_header', 'sqr_404_full_layout');
Most sure there we have 404 there because it’s a wrong link.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionOctober 21, 2018 at 17:15 #211981riggerhParticipantNice try, but without ANY posotive result. The error behaves still in the same way like I describes before! Please keep on thinking
regardsOctober 22, 2018 at 14:22 #212012RaduModeratorHi,
Not sure if this behaviour it’s a theme specific one, i think it comes from how your plugin handles the redirect for the non-logged in users, did you had tried to ask the same on their support maybe they will come with an idea related to this ?
You can ask them for a snippet that redirect guest user when they access a premium membership specific one, then add the correct, your desired 404 url there.
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Bugs & Issues’ is closed to new topics and replies.