Having a landing page as a menu item

Gagser K asked on February 28, 2017 15:58

Hi, My most popular page "yyy" on my site is down in the second tier of my menu structure. I would like to move it to the first tier. But when I try to move it I get the message: "The page '/XXX/yyy' of type 'Landing Page' is not allowed in target location." So it is a case of setting Landing page as an Allowed type of Root page type? Is this safe, and is their anything else I should be wary of?

Thanks,

(I have version v8.2.45.)

Correct Answer

Trevor Fayas answered on February 28, 2017 18:57

To answer your second question. By default Kentico will put a new Url Alias when you move, and copy the previous Url as an additional Alias (you can go to Properties -> URLS and add any amount of aliases you want to a page).

SO yes, it will change the alias, but the previous will not break unless you go and delete it from that pages's URL aliases.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Development Support Avastonetech answered on February 28, 2017 16:08 (last edited on February 28, 2017 16:08)

.

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on February 28, 2017 16:09 (last edited on February 28, 2017 16:09)

You are correct, you just need to add the "Allowed Types" of Root to put it there.

No security risk what so ever, only time you need to be wary is if there is security on the section a page is that if you move it out of that section, you either need to make sure to preserve the permissions or realize you will be making a secure page public.

Sorry for the blank post above, forgot to switch into my main account.

0 votesVote for this answer Mark as a Correct answer

Gagser K answered on February 28, 2017 16:12

No worries. Thanks for your reply.

Can I ask you, will the page that I move in then have an address of www.example.com/yyy.aspx ? And if not how can I define that?

Thanks Gagser

0 votesVote for this answer Mark as a Correct answer

Peter Mogilnitski answered on February 28, 2017 16:23 (last edited on February 28, 2017 16:23)

From my understanding these restrictions mostly for document organizations purposes so editors won't create documents wherever the hell they want. The tree structure is purely virtual so there is no difference in terms of security whether you keep your document in the root or 10 levels deeper. So to answer you questions- yes it is safe. The only problem you might arise if you have permissions for some roles configured to access to particular part of the document's tree.

0 votesVote for this answer Mark as a Correct answer

Gagser K answered on February 28, 2017 16:28

Thanks Peter M. I understand.

0 votesVote for this answer Mark as a Correct answer

Gagser K answered on March 1, 2017 10:21

Thanks everyone. I think im confident enough to do it now. Great stuff. Gagser

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.