{"id":21001445,"url":"https://github.com/divio/aldryn-redirects","last_synced_at":"2025-09-11T00:34:08.658Z","repository":{"id":15170438,"uuid":"17898204","full_name":"divio/aldryn-redirects","owner":"divio","description":"A modified version of django's django.contrib.redirects app that supports language dependant target URLs, using django-hvad","archived":false,"fork":false,"pushed_at":"2022-02-15T14:23:51.000Z","size":81,"stargazers_count":2,"open_issues_count":12,"forks_count":15,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-19T19:37:12.272Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.aldryn.com/en/marketplace/aldryn-redirects/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divio.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-19T09:20:14.000Z","updated_at":"2022-02-15T13:01:08.000Z","dependencies_parsed_at":"2022-08-25T06:50:28.550Z","dependency_job_id":null,"html_url":"https://github.com/divio/aldryn-redirects","commit_stats":null,"previous_names":["aldryn/aldryn-redirects"],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-redirects","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-redirects/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-redirects/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Faldryn-redirects/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divio","download_url":"https://codeload.github.com/divio/aldryn-redirects/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254248440,"owners_count":22039008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T08:15:20.199Z","updated_at":"2025-05-14T23:32:33.431Z","avatar_url":"https://github.com/divio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Deprecated**\n\nThis project is no longer supported.\n\nDivio will undertake no further development or maintenance of this project. If you are interested in continuing to develop it, use the fork functionality from GitHub. We are not able to transfer ownership of the repository to another party.\n\nPlease have a look at alternatives such as Djangos `redirects app \u003chttps://docs.djangoproject.com/en/dev/ref/contrib/redirects/\u003e`_.\n\n################\nAldryn Redirects\n################\n\nThis is a modified version of Django's ``django.contrib.redirects`` app that\nsupports language-dependent target URLs, using ``django-parler``.\n\nThis is useful for cases in which another middleware strips the language\nprefix from the URL, like django CMS. It allows to define different urls to\nredirect to, depending on the user's language.\n\n************\nInstallation\n************\n\nAldryn Platform Users\n#####################\n\nTo install the addon on Aldryn, all you need to do is follow this\n`installation link \u003chttps://control.aldryn.com/control/?select_project_for_addon=aldryn-redirects\u003e`_\non the Aldryn Marketplace and follow the instructions.\n\nManually you can:\n\n#. Choose a site you want to install the Addon to from the dashboard.\n#. Go to Apps \u003e Install App\n#. Click Install next to the Aldryn Redirects app.\n#. Redeploy the site.\n\n\nManual Installation\n###################\n\n\n```bash\npip install aldryn-redirects\n```\n\nFollow the `setup instructions for django-parler \u003chttp://django-parler.readthedocs.org/\u003e`_.\n\n```python\n\n# settings.py\n\nINSTALLED_APPS += [\n    'parler',\n    'aldryn_redirects'\n]\n\n# add the middleware somewhere near the top of MIDDLEWARE_CLASSES\n\nMIDDLEWARE_CLASSES.insert(\n    0, 'aldryn_redirects.middleware.RedirectFallbackMiddleware')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-redirects","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivio%2Faldryn-redirects","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Faldryn-redirects/lists"}