Posts & Pages with same URL filters

Post Reply
roie
Jr. Bludit
Posts: 1
Joined: Thu Dec 01, 2016 1:48 am

Hello, I'm trying to achieve a clean URL for my website. That all my Posts & Pages have the same URL filters.

Image

I did change this on site.php from the database

Code: Select all

    "uriPost": "\/",
    "uriPage": "\/",
but I'm getting error on the website. Showing "The page has not been found."

Any help would be appreciated. Thanks! :)
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

You can try it with .htaccess.

The filters are used to select the template either for a post or a page. You can choose the name of the filters, but they cannot have the same name.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
diego
Site Admin
Posts: 773
Joined: Sat May 16, 2015 2:53 pm
Been thanked: 1 time
Contact:

You need to check the source code, because there is an order of priority, first check the post then the pages.. if in the post there is not a post with the slug, then returns error 404, and not check the pages..
Post Reply