Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

how to keep old pages on publisher when move/rename

Avatar

Avatar
Level 1
millionmeme
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
millionmeme
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
View profile
millionmeme
Level 1

23-03-2021

Currently if I move or rename a published page, the old page will be deleted on the publisher side automatically. I even try uncheck the republish option and the old ones still go disappear! This seems to be a default behaviour, is there any way I can keep the old pages on publisher side? Much appreciated!

move ootb rename

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

544 likes

Total Posts

663 posts

Correct Reply

190 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile

Avatar
Give Back 100
Level 10
asutosh_jena
Level 10

Likes

544 likes

Total Posts

663 posts

Correct Reply

190 solutions
Top badges earned
Give Back 100
Boost 500
Affirm 100
Ignite 1
Establish
View profile
asutosh_jena
Level 10

23-03-2021

Hi @millionmeme 

As per Adobe, If the page was already activated, moving the page will automatically deactivate it. By default, it will be reactivated when the move is complete, but this can changed by unchecking the Republish field for the page in the Move window.

1. If a page is already activated, moving or renaming it will deactivate it anyhow which will remove the page reference from publish instance.

2. Now if the Republish checkbox is checked, then the updated (moved or renamed) page will be moved to publish.

3. If it's not checked, the new page will not be moved to publish but at this point #1 is already completed. So we will not be getting the previous page back here.

 

Please refer:

https://experienceleague.adobe.com/docs/experience-manager-64/classic-ui/authoring/classic-page-auth...

 

It is not recommended to modify this feature as it's the OOTB functionality. But if still you want to try out something you can check for Pre-Processor. Pre-processors are invoked just before the activation/deactivation.
This will run for all type of activation and deactivation and is not limited to page move action.

 

Reference:

https://helpx.adobe.com/experience-manager/6-5/sites/developing/using/reference-materials/javadoc/co...

http://wemcode.wemblog.com/replication-preprocessor

https://labs.tadigital.com/index.php/2019/06/25/aem-preprocessor/

 

Thanks!

Thanks!

Answers (2)

Answers (2)

Avatar

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,111 likes

Total Posts

3,145 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile

Avatar
Coach
Employee
Jörg_Hoh
Employee

Likes

1,111 likes

Total Posts

3,145 posts

Correct Reply

1,072 solutions
Top badges earned
Coach
Give back 600
Ignite 5
Ignite 3
Ignite 1
View profile
Jörg_Hoh
Employee

25-03-2021

How do you want to make changes to the old page residing on publish, if you don't have it on author anymore? How do you want to delete it? Are you authors even aware that there is an orphan page on publish which they don't see on author?

Avatar

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

610 likes

Total Posts

588 posts

Correct Reply

230 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile

Avatar
Establish
MVP
BrianKasingli
MVP

Likes

610 likes

Total Posts

588 posts

Correct Reply

230 solutions
Top badges earned
Establish
Ignite 1
Give Back 5
Give Back 3
Give Back 10
View profile
BrianKasingli
MVP

23-03-2021

@millionmeme,

Making things simple and not changing the out-of-the-box AEM behavior, for your requirement, I would manually copy the page (CTRL+C), and then paste (CTRL+V) and rename the page (using the move tool, using the keyboard button "M"). 

Also, check with your SEO team member if having duplicated web pages on your AEM website is good practice or not.