.htaccess url to post by slug

.htaccess url to post by slug

Would the PLUS sign in the last line be causing the problem?

So instead of:

RewriteRule ^blog/blog-post/(.+) blog/blog-post.php?slug=$1

try

RewriteRule ^blog/blog-post/(.*) blog/blog-post.php?slug=$1



Share on Pinterest
Share on LinkedIn
Share on WhatsApp
Share on Telegram