luyadev / luya

LUYA is a scalable web framework and content management system with the goal to please developers, clients and users alike.
https://luya.io
MIT License
812 stars 207 forks source link

new created page will under default page (homepage) #1842

Closed samuelbbtech closed 6 years ago

samuelbbtech commented 6 years ago

What steps will reproduce the problem?

What is the expected result?

after i creating a new page, i expert i can access via url like http://domain/newpagetitle

What do you get instead? (A Screenshot can help us a lot!)

http://domain/homepage/newpagetitle

LUYA Check ouput (run this script and post the result: luyacheck.php)

Additional infos

Q A
LUYA Version
PHP Version
Platform Apache/XAMPP/MAMPP/etc.
Operating system Windows/Linux Server/OSX/etc.
nadar commented 6 years ago

Hi @samuelbbtech Thanks for the issue. I am not sure to understand your problem.

If you create a page as subpage from another page, the full path will have the previous page included.

= full path: /homepage/newpagetitle

Why not creating newpagetitle on the same (root) level as homepage?

samuelbbtech commented 6 years ago

hi @nadar thanks for the reply. I think that was my own problem. i create the page newpagetitle on the same root as homepage, but i didn‘t set the page as “visible“, so when i try to access the page as http://domain_name/newpagetitle it is 404 not found, but when i try to access the page with http://domain_name/homepage/newpagetitle it showed me the content i created for newpagetitle.

nadar commented 6 years ago

@samuelbbtech so we can close this issue?