Is there a way to change the URL name without moving the page

Avatar

Avatar
Boost 1
Level 1
TTayler
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
TTayler
Level 1

Like

1 like

Total Posts

1 post

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
TTayler
Level 1

16-08-2020

Unfortunately, I've made pages with capital letters in the URL and I want to change them. As the question asks there a way to change the URL name without moving the page?

 

Or is there a way to change multiple URLs at once?

 

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile

Avatar
Establish
MVP
Ravi_Pampana
MVP

Likes

197 likes

Total Posts

243 posts

Correct reply

75 solutions
Top badges earned
Establish
Contributor
Shape 1
Ignite 5
Ignite 3
View profile
Ravi_Pampana
MVP

16-08-2020

Hi,


Using vanity url we can request page using different url. Vanity ur l is present under Page properties --> Basic Tab. We can also write custom script or use groovy script to add vanity url property to jcr:content automatically to multiple pages by reading the existing path and converting to small letters. 

 

Screen Shot 2020-08-16 at 5.36.17 PM.png

 

https://helpx.adobe.com/experience-manager/kb/ams-dispatcher-manual/disp-vanity-url.html

 

 

Answers (4)

Answers (4)

Avatar

Avatar
Give Back 3
Level 5
SundeepKatepally
Level 5

Likes

77 likes

Total Posts

76 posts

Correct reply

21 solutions
Top badges earned
Give Back 3
Boost 10
Boost 25
Boost 50
Affirm 10
View profile

Avatar
Give Back 3
Level 5
SundeepKatepally
Level 5

Likes

77 likes

Total Posts

76 posts

Correct reply

21 solutions
Top badges earned
Give Back 3
Boost 10
Boost 25
Boost 50
Affirm 10
View profile
SundeepKatepally
Level 5

16-08-2020

You have 4 options

 

1) update the rewrite rules in the dispatcher

2) vanity url (available in the page properities)

3) Sling alias (available in the page properities)

4) Akamai (if you are looking to implement as 302 or 301) .  This option is only available if CDN is part of your topology , if not available do ignore this option.

Avatar

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile

Avatar
Give Back 5
Employee
vanegi
Employee

Likes

392 likes

Total Posts

378 posts

Correct reply

148 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back 10
Give Back
Boost 50
View profile
vanegi
Employee

16-08-2020

Hello @TTayler,

You can explore the Alias feature in AEM to satisfy your use-case. For instance, if you have a page /content/we-retail/TEST.html to be changed to /content/we-retail/test.html, you can follow below steps to achieve the same.

 

Steps:

1) Go to /editor.html/content/we-retail/TEST.html

2) Open Page properties and go to Advanced Tab

3) Declare an Alias for this page by giving it an value of "test".

Now you'll be able to hit the page /content/we-retail/TEST.html as well as /content/we-retail/test.html.

 

You can check further on this in documentation SEO and URL Management Best Practices https://helpx.adobe.com/experience-manager/6-3/managing/using/seo-and-url-management.html

 

Other way is described here in https://www.bc.edu/offices/its/projects/day/docs/renaming-page.html#:~:text=Click%20the%20MOVE%20men...

 

https://as.nyu.edu/communications/aem-faq/change-url-page.html

 

Thanks!!

 

 

Avatar

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Boost 250
MVP
Nikhil-Kumar
MVP

Likes

251 likes

Total Posts

262 posts

Correct reply

38 solutions
Top badges earned
Boost 250
Validate 1
Ignite 3
Ignite 1
Give Back 5
View profile
Nikhil-Kumar
MVP

17-08-2020

@TTayler 

Never fear when Groovy scripts are here!! 😎

Try running groovy scripts on the AEM project, it's easy to setup and easy to execute. I have implement something similar where I had to update the title of the page.
Let me know if you need any help in creating groovy scripts for the mentioned automation. You can also refer Groovy Scripts on AEM Content   


Happy Coding!! 

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,444 likes

Total Posts

3,327 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

17-08-2020

Hi,

If you will not use move feature then the reference page links will be unchanged and end user still accessing page using old URL(capital).

There are various options are already shared -

1. Using sling alias --> It will allow you to access page using alternative page name. References of this page will be unchanged.

You may need to write rewrite rules at Apache to forward request to new page name url, if end user is accessing pafe with old url.

2. Don't use vanity path, it is more complex than it looks and in your case it is not required.