ProBlog

A powerful October CMS Blog plugin. Boost your SEO with robust blogging tools by Radiantweb.

Back to ProBlog Support

that0n3guy
that0n3guy

I just noticed a big bug when I updated and none of my pages worked.

  • My slug is: test-emergency-broadcast-system
  • The slug in the DB is test-emergency-broadcast-system
  • Your code removes the - (line 144 of Page.php) from $slug
  • My $slug no longer has - like it is supposed to so it will never find it in the DB

See screenshot using xdebug (and phpstorm) http://goo.gl/NFGPXn

that0n3guy
that0n3guy

Also, should line 145 of post.php be $slug = str_replace('%20','-',$slug); instead of $slug = str_replace('%20',' ',$slug);

that0n3guy
that0n3guy

My bad... this is for category....

My issue was simple, my page url had :post_slug instead of :slug.

Last updated

1-3 of 3