Sunday, April 24, 2016

How to enable SEO urls in ATG/Endeca Integration?

Endeca provides out of the box configuration for generating SEO specific URL. Below configuration needs to be set properly to enable ATG/En... thumbnail 1 summary
Endeca provides out of the box configuration for generating SEO specific URL. Below configuration needs to be set properly to enable ATG/Endeca SEO integration.

Steps to Configure SEO URL with encoded format

1. Set urlFormatter=/atg/spring/FromSpring/seoUrlFormatter in /atg/endeca/assembler/cartridge/manager/NavigationStateBuilder/ component to enable SEO URL.

2. Configure "seoUrlFormatter" bean object with different properties  in endeca-seo-url-config.xml as per need.
<!-- BEAN: seoUrlFormatter This is the top-level URL formatter. 
It is responsible for transforming UrlState objects into URL strings. -->
<bean id="seoUrlFormatter" 
class="com.endeca.soleng.urlformatter.seo.SeoUrlFormatter">
<property name="useNavStateCanonicalizer">
<value>false</value>
</property>
<property name="defaultEncoding">
<value>UTF-8</value>
</property>
<property name="pathSeparatorToken">
<value>_</value>
</property>
<property name="pathKeyValueSeparator">
<value>-</value>
</property>
<property name="pathParamKeys">
<list>
<value>R</value>
<value>A</value>
<value>N</value>
</list>
</property>
<property name="navStateFormatter">
<ref bean="navStateFormatter" />
</property>
<property name="ERecFormatter">
<ref bean="erecFormatter" />
</property>
<property name="aggrERecFormatter">
<ref bean="aggrERecFormatter" />
</property>
<property name="urlParamEncoders">
<list>
<ref bean="N-paramEncoder" />
<ref bean="Ne-paramEncoder" />
<ref bean="An-paramEncoder" />
</list>
</property>
</bean>


3. Enable URL canonicalization. Click here for more details

4. Enable N-value Encoding as per below screenshot. This setting would convert long format N-value to Encoded Format. 

Example 

Before Encoding
URL - /_/N-4294865570+104910 

After Encoding
URL - /_/N-861Z8q7


Endeca N-value Decode and Encode Settings for SEO Url

5.  Set dimension formatter under dimLocationFormatters. This is a list of dimensions value that can be part of URL. dimLocationFormatters get sets under navStateFormatter. 
Note : User aggrERecFormatter for Aggregate/Rollup Query and erecFormatter for Record Details page.

Example - Suppose BrandFormatters added here and User selects any brand from guided navigation, Brand name would start coming on SEO URL.

/women-clothing/adidas/_/N-8bfZ8m7


Endeca Dimension Formatters for SEO URL


From Author

Was this post resolve the solution you are looking for? Provide your comments


24 comments

  1. I even have been getting a lot of helpful and informative material in your web site.Web Design & development

    ReplyDelete
  2. I would recommend my profile is important to me, I invite you to discuss this topic.
    mason soiza

    ReplyDelete
  3. I am appreciative to the essayist for composing this.
    start a blog for free

    ReplyDelete
  4. Thank you again for all the knowledge you distribute,Good post. I was very interested in the article, it's quite inspiring I should admit. I like visiting you site since I always come across interesting articles like this one.Great Job, I greatly appreciate that.Do Keep sharing! Regards,
    Mason Soiza

    ReplyDelete
  5. SEO Powersuite is a highly talked about SEO software that combines a ton of user-friendly tools for the entire SEO process.seo group buy

    ReplyDelete
  6. here is my great offer i will provide you 80 niche relevant hight quality blog comments with high authorize sites good for your website rank your site on google, bing, yahoo etc. All comments are manually No software use. 80 niche relevant blogcomment

    ReplyDelete
  7. Wow. I am definitely going share this with a few of my friends. Very cool information.
    chrome password manager

    ReplyDelete
  8. Hey what a brilliant post I have come across and believe me I have been searching out for this similar kind of post for past a week and hardly came across this. Thank you very much and will look for more postings from you. web 2.0 links

    ReplyDelete
  9. Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. backlinks service

    ReplyDelete
  10. Even the most successful SEO strategies take time to blossom into a positive outcome. Toronto SEO

    ReplyDelete
  11. I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day! cheap seo services

    ReplyDelete
  12. This comment has been removed by the author.

    ReplyDelete
  13. SEO Service I have perused your online journal it is exceptionally useful for me. I need to express profound gratitude to you. I have bookmark your site for future redesigns. 

    ReplyDelete
  14. Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. Webdesign

    ReplyDelete
  15. You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! SEO optimalisatie

    ReplyDelete
  16. Hey I am Edwin I have Provide SEO Blog Comment Service. & niche relevant blog comment service we provide a quality service with 100% Buyer satisfaction and I Believed in quality work not quantity Contact me Now 24/7. Blog Comment

    ReplyDelete
  17. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do www.seoagencychina.com/

    ReplyDelete
  18. Great tips. It’s a useful tip for me. SEO is not an easy process it’s difficult but I get the right tips about SEO. Nice blog. Thanks! SEO Services Delhi

    ReplyDelete
  19. I must mention thanks for sharing such vital information. SEO have always played a great role in digital marketing, this topic has really influenced me for doing better. seo agency singapore

    ReplyDelete
  20. All the information provided was very useful to me so, I am very thankful to the writer. SEO services have been essential for the promotion of the business nowadays. SEO Company in Delhi

    ReplyDelete
  21. Thanks for the blog loaded with so many information. Stopping by your blog helped me to get what I was looking for. blog

    ReplyDelete
  22. You should keep on doing your job of writing articles about SEO, as you are very good in it. SEO Reseller

    ReplyDelete
  23. This is a great high resolution screen which you have shared for the users. Making a website is not an easy task but managing a good website is really a hard work. As far as this website is concerned, I am very happy. seo local business

    ReplyDelete
  24. Wow, this is really interesting reading. I am glad I found this and got to read it. Great job on this content. I like it. small business seo company

    ReplyDelete

Text Widget