• Whenever a record is entered into my url that doesn’t exist. It doesn’t redirect back to a 404 but rather just displays my template with the message that Airtable data can’t be found, etc. Did I mess up somewhere? Or is this just what it does?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chester McLaughlin

    (@chetmac)

    Try changing the title/slug of your template. I typically prefix all my Airpress page template titles and slugs with “AIRPRESS TEMPLATE:” (or airpress-template) because these pages should never be accessed directly. Plus this will keep the URL from “resolving” when no records are found and should result in a 404.

    Let me know.

    Thread Starter moochie

    (@moochie)

    Thanks so much for the quick response. I tried both your suggestions to no success. When a virtual post is accessed that doesn’t exist, it DOES change the title of the page to my 404 page, however does not change the url and still renders the template.

    The other problem I’m having with naming it ‘Airpress Template: Profile Page’ or something similar is if the page is shared via social media or SMS it brings back the name of that template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Virtual Post: Returns template not 404 page’ is closed to new replies.