CMS: Redirecting to specific URL on click of logo

pradeepgupta
Giga Expert

Hi Friends,

This is w.r.t. CMS, When we click on logo it redirect me to home page. My requirement is to redirect it to specific URL (www.abc.com) when user clicks on the logo.

Please let me know the necessary configuration changes required to achieve this.

2 REPLIES 2

Brad Tilton
ServiceNow Employee
ServiceNow Employee

If you're using a cms header block, the logo will always point to the home page, there is no way to configure it to point to a different page. I think your options would be to run some javascript on the page to change the href attribute of the logo link, or to build your own header as a dynamic block so you can control things like the link location.


tltoulson
Kilo Sage

I agree with Brad.   If you check the UI Macro cms_header_logo you will see that the home.do URL is hardcoded into the Macro.   While you could override it, Brad's idea of using a custom dynamic block is the better approach and the one most commonly used by other CMS developers.