Changing Your Logo URL Redirect
  • 24 May 2024
  • 1 Minute to read
  • Dark
    Light

Changing Your Logo URL Redirect

  • Dark
    Light

Article summary

Clicking on the logo at the top of every page of your Members Portal redirects users to the home page by default. You can easily change where users are redirected when they click on the logo using a simple code snippet.

All you need is the URL of the page users should land on when they click on your logo.

For example, your logo can redirect users to your marketing website or a specific page of your Members Portal.


  1. Log in to dashboard.nexudus.com if you aren't already.

  2. Click on app.js.

  3. Add the following code snippet to the file after all the file's comments, highlighted in green.

var componentDidMount = function(componentName) {
    var url = 'CLIENT_URL_GOES_HERE';
    var anchor = $('a.navbar-brand');
    if(anchor.attr('href') != url) {
        anchor
        .attr('href', url)
        .replaceWith(anchor.clone())
    }
}

image.png

  1. Remove CLIENT_URL_GOES_HERE from the snippet, making sure you don't remove the single quotation mark on either side.

image.png

  1. Add your website's full URL address between the two single quotation marks.

image.png

  1. Click the Save button. 


All set! Your website's logo should now redirect users to the URL you've added to the code snippet.


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence