Forum

Thread tagged as: Error, Blog

Blog producing error url on viewing

Hi,

I'm using the lastest version of perch and installed the blog app. However whenever I click to view the blog post from perch I ger the following url produced

/perch/addons/apps/perch_blog/edit/post.php?s=2016-10-25-test-2

However when I manuall remove the extra content in the url the blog post is there and working.

Please note I have my post.php in my root folder as I dont want a sub blog folder...

Any thoughts why this is happening?

Thanks

Michael

Michael Kashioulis

Michael Kashioulis 0 points

  • 4 years ago

Just to add to the above, when i put the post.php into a folder called blog and change the blog post path from post.php?s={postSlug} to blog/post.php?s={postSlug} it works... So not sure why its not working when its in the root folder..

Rachel Andrew

Rachel Andrew 394 points
Perch Support

What have you set for your Blog Post path in Settings?

Hi Rachel

Its post.php?s={postSlug}

Drew McLellan

Drew McLellan 2638 points
Perch Support

Make sure you set this to a root-relative path.

Thanks! that fixed it