Communities and Collections handle URL appears as containing localhost URL yet the items are fine as below

31 views
Skip to first unread message

Walusimbi Herbert Henry (walas)

unread,
Aug 1, 2025, 2:58:16 AM8/1/25
to DSpace Technical Support

Humberto Blanco Castillo

unread,
Aug 1, 2025, 6:35:14 AM8/1/25
to DSpace Technical Support

Based on your description, the issue is likely due to a misconfiguration in your DSpace settings, where the public URL for your instance isn't correctly defined. DSpace is defaulting to localhost for dynamically generated links like those for communities and collections.

  1. Check dspace/config/local.cfg:

  2. Check DSpace 7 Frontend Config:

    • If you're on DSpace 7, verify the rest configuration in dspace-angular/config/config.prod.yml points to your public host.

    • Example:

      YAML
      rest: host: your-dspace-domain.edu nameSpace: /server
  3. Rebuild and Restart:

    • After making changes, you'll need to rebuild and/or restart your backend and frontend to apply them.

The items likely show correct URLs because their handles are stored in the database with the proper persistent URL, which is a separate mechanism from how the community/collection links are generated

Humberto
Reply all
Reply to author
Forward
0 new messages