smartdatasoft / smartblog

SmartBlog is one of the most powerful PrestaShop blog module .Prestashop 1.6 & 1.7 Smart Blog Module
https://classydevs.com
Academic Free License v3.0
93 stars 82 forks source link

Problem with URL Rewrite for categories and posts #32

Closed afabri73 closed 3 years ago

afabri73 commented 8 years ago

Hi, I'm a web developer and I use your module in a prestashop website. I have some problems with the url rewrite. I would to remove the {id} before the slug in the url of all blog pages. I configured the blog base url as: /blog/posts The actual url for categories is: /blog/posts/category/3-events The actual url for posts is: /blog/posts/8-test

For test, we tried to change "_" with "-" in your "/modules/smartblog/smartblog.php" file, but the urls are the same.

The friendly url must be:

How can I do to solve the problem? Thank you and I look forward to your reply. Adriano

SharakPL commented 8 years ago

First I'd suggest disabling cache and forcing file compile in preferences. Then go to Preferences -> SEO & URL and save htaccess configuration again (doesn't matter you didn't change anything). Helped with images' url rewriting. Maybe will help on this too...

Enumbin commented 3 years ago

I checked the issue. As @SharakPL said, refreshing the urls in SEO & URL will fix the issue.