Forum
Blog posts not showing - get 404 page
Added 2 blog posts get the url for the post (blog/2017-05-31-title-goes-here) but get 404 page instead of article.
Perch Runway: 3.0.5, PHP: 7.1.5, MySQL: 10.0.30-MariaDB, with PDO
Server OS: Linux, litespeed
Installed apps: content (3.0.5), assets (3.0.5), categories (3.0.5), perch_blog (5.5.1), perch_forms (1.9), perch_gallery (2.8.9), perch_kraken (1.1), chirp_seo (1), perch_mailchimp (3.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', 'perch_gallery', 'perch_mailchimp', 'chirp_seo', );
PERCH_LOGINPATH: /perch
PERCH_PATH: /home/robertsd/public_html/perch
PERCH_CORE: /home/robertsd/public_html/perch/core
PERCH_RESFILEPATH: /home/robertsd/public_html/perch/resources
Image manipulation: GD Imagick
PHP limits: Max upload 256M, Max POST 32M, Memory: 256M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: robertsdesign.biz
DOCUMENT_ROOT: /home/robertsd/public_html
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Hi.
Have you created the post page at blog/post and does it match the blog URL in settings.
Wayne
it maybe a routing issue. There is info in this post;
https://forum.grabaperch.com/forum/03-08-2017-runway-blog-404-on-post-pages
Thanks Wayne. The URL in settings is /blog/{postSlug} and the blog URL is/blog/2017-05-31-title-goes-here.
Using template: /templates/blog/post.html
Is this resolved?
No, this is not working at all. Blog page just gets a 404 page message below.
Blog post debug page
And you route is this?
Or something different?
Blog post page path is
and the route?
On your post.php page in Perch, what is your URL route set to (in page options)? If nothing is there it should be something like;
blog/[slug:s]
and the route
it's not set. The only route set is the domain name (pattern) Home (page). Are these not set automatically by Runway.
Here are the Runway configuration docs for Blog: https://docs.grabaperch.com/addons/blog/runway/config/