We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Closed entries still display

How Do I?

robmccart's avatar
robmccart
2 posts
9 years ago
robmccart's avatar robmccart

Entries with status closed that are accessed via a bookmark or outdated Google search still display the content by with no styling.

Is there anyway to stop this?

ExpressionEngine ver v2.4.0.

Thanks, Rob

       
Pedro Guimaraes's avatar
Pedro Guimaraes
170 posts
9 years ago
Pedro Guimaraes's avatar Pedro Guimaraes

Rob,

I’d need more information to help you out. When you hit the URL of the closed entry, is it redirecting to your 404 page? If not you may want to add something like this right after your {exp:channel:entries} opening tag:

{if no_results}
{redirect="404"}
{/if}

Depending on the situation, you may also want to add require_entry=”yes” to your {exp:channel:entries} tag.

Hope that helps!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.