[Reviewed: not errors] I discovered three errors

Welcome to the WonderCMS community. Anything goes, except for support requests.
Post Reply
setinter
Posts: 1
Joined: Tue Mar 06, 2018 11:12 pm

[Reviewed: not errors] I discovered three errors

Post by setinter »

Hello everyone and sorry for my poor English (i use Google translator).

I discovered three errors.

1) Create a new page, add content to it and then change its title. The URL will change and the content will be deleted.

2) Hide the page in the menu, the page is still active for search engines at your address.

3) One more thing, when you delete a page instead of a 404 error (not found) is exist header 200 OK.

Regards
User avatar
turboblack
Posts: 205
Joined: Fri Sep 19, 2014 1:53 pm

Re: I discovered three errors

Post by turboblack »

I will answer on the first question. if you change the name of the page, it's not quite so, you create a page with a different name, so the content disappears, you do not rename the existing one, but create another one. so you will not have the previous one in the menu, but you can see it by the link. it's not a mistake, it's a flaw in the interface, which simply includes the human understanding of how the engine works


in the second case, look at my example http://torba.tk/

in the top I pointed out the hidden pages "main" "blog" and "contacts" which are not in the side menu. they are indexed, and hiding the pages in this example is purely cosmetic

the engine is as simple as possible, and it was created as a priority for business cards and satellite sites, which in turn makes this mistake ridiculous, since on the page you will have 1-2-3-4 pages in most cases.

and my personal experience and experiments are just experiments of additional opportunities that will not likely be expanded in the future (I mean sections and stuff)

It should not be taken as an error, it is rather an opportunity


and with the last question, I would turn to the creator of the engine, since the essence of the issue is important, and measures should be taken to not delete this page
http://old.net.eu.org/ Get ready to hamsterization! 8-)
https://github.com/turboblack/HamsterCMS new version with new templates
User avatar
wiz
Posts: 754
Joined: Sat Oct 30, 2010 12:23 am

Re: I discovered three errors

Post by wiz »

Hi setinter, have a warm welcome to this community.
I replied to your reports below, in short, none of them are actually errors.

1) Create a new page, add content to it and then change its title. The URL will change and the content will be deleted.
- Changing a page name deletes the previous one (functionality by design), maybe we should implement a slug changing function?


2) Hide the page in the menu, the page is still active for search engines at your address.
- as turbo already pointed out, hiding pages from the menu does only that, it simply hides the page from the menu
- the page will still be visible to anyone with a link or by search engines


3) One more thing, when you delete a page instead of a 404 error (not found) is exist header 200 OK.
- this is true ONLY FOR ADMINS. Even if the page doesn't exist, you will get a 200 OK status.
- if you log out and test the deleted page, it will return a 404 status as it should


Turbo, thanks for helping out! P.S. Updated your website to torba.tk on https://wondercms.com/special-contributors :)
Post Reply