Reply To: "No Results Found" message when linking to private forum topic
ok,
What I’d suggest you do is look in the main theme for a 404.php, and edit this to give a login link.
(If it doesn’t have a 404.php, then copy a page.php or index.php file across to your child theme and rename it 404.php. Look for the “loop” part of the code, and put the stuff in there instead)
You could then edit this file to have a link to your login and some different text.
So for instance if the 404.php files says “oops sorry this link appears to be broken”
you could amend this to :
This page cannot display. This maybe because you are not logged in. To login click here
or however your users login on.
They will probably go to the home page once logged in, so having the relevant posts in say the sidebar (eg latest topics widget) will let them quickly navigate to the post.
If any of the above not clear, please do come back.