Expand my Community achievements bar.

SOLVED

Relative Path VS Absolute Path in SEO

Avatar

Level 1

Which link path is better for SEO for my website.
Example: /notting-hill-escorts.html or full url https://www.parklaneandmayfair.com/notting-hill-escorts.html

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@parklaneandmayfair,

While building AEM content pages and components, as a developer, it's best practice to use relative paths (for local AEM JCR paths) than absolute paths for benefits listed in this blog: https://moz.com/blog/relative-vs-absolute-urls-whiteboard-friday

Use: /notting-hill-escorts.html

Don't use unless needed (external paths): https://www.adobe.com/notting-hill-escorts.html

 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

@parklaneandmayfair,

While building AEM content pages and components, as a developer, it's best practice to use relative paths (for local AEM JCR paths) than absolute paths for benefits listed in this blog: https://moz.com/blog/relative-vs-absolute-urls-whiteboard-friday

Use: /notting-hill-escorts.html

Don't use unless needed (external paths): https://www.adobe.com/notting-hill-escorts.html

 

Avatar

Level 2
As Brian mentioned, always use relative paths.. If external paths, it makes sense to use a absolute, but if internal, relative is your best bet.