Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slash URLs #862

edsu opened this issue Jul 9, 2018 · 2 comments


None yet
2 participants
Copy link

commented Jul 9, 2018

I was wondering if it's possible to configure Omeka so that URLs like:

would become:

I'm trying to use wget to create a static version of an older Omeka site, and it is converting URLs like:


Which means a request for the old URL will result in a 404. I guess I could get around this with a .htaccess file, but if it is possible to change the URLs to end with a slash before I created my snapshot that would help matters significantly.


This comment has been minimized.

Copy link

commented Jul 10, 2018

Most of the time, the urls are created via functions url() and record_url() in the file libraries/globals.php, so the simplest is to modify these functions to append a slash when needed. For more change, you'll need more work.


This comment has been minimized.

Copy link

commented Jul 10, 2018

Thanks very much, I'm working with an older version of Omeka where the url function is in application/helpers/Url.php ... but I think I got the fix you suggested working!

@edsu edsu closed this Jul 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.