{"id":22466896,"url":"https://github.com/mavimo/sculpin-redirect-bundle","last_synced_at":"2026-03-06T18:47:02.372Z","repository":{"id":12892022,"uuid":"15568781","full_name":"mavimo/sculpin-redirect-bundle","owner":"mavimo","description":"Sculpin Redirect Bundle","archived":false,"fork":false,"pushed_at":"2015-07-26T16:27:54.000Z","size":162,"stargazers_count":6,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-21T12:23:43.632Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mavimo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-01T19:18:11.000Z","updated_at":"2024-07-15T20:07:45.000Z","dependencies_parsed_at":"2022-08-27T10:24:12.673Z","dependency_job_id":null,"html_url":"https://github.com/mavimo/sculpin-redirect-bundle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mavimo/sculpin-redirect-bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fsculpin-redirect-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fsculpin-redirect-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fsculpin-redirect-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fsculpin-redirect-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mavimo","download_url":"https://codeload.github.com/mavimo/sculpin-redirect-bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mavimo%2Fsculpin-redirect-bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30191563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T18:45:49.703Z","status":"ssl_error","status_checked_at":"2026-03-06T18:45:46.406Z","response_time":250,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-06T10:14:35.159Z","updated_at":"2026-03-06T18:47:02.355Z","avatar_url":"https://github.com/mavimo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sculpin Redirect Bundle\n\n## Setup\n\nAdd this bundle in your ```sculpin.json``` file:\n\n```json\n{\n    // ...\n    \"require\": {\n        // ...\n        \"mavimo/sculpin-redirect-bundle\": \"@dev\"\n    }\n}\n```\n\nand install this bundle running ```sculpin update```.\n\nNow you can register the bundle in ```SculpinKernel``` class available on ```app/SculpinKernel.php``` file:\n\n```php\nclass SculpinKernel extends \\Sculpin\\Bundle\\SculpinBundle\\HttpKernel\\AbstractKernel\n{\n    protected function getAdditionalSculpinBundles()\n    {\n        return array(\n           'Mavimo\\Sculpin\\Bundle\\RedirectBundle\\SculpinRedirectBundle'\n        );\n    }\n}\n```\n\n## How to use\n\nIn content that you import you can setup redirect items using:\n\n```\nredirect:\n    - alias-path.html\n    - old-path.html\n```\n\nThen create a ```redirect.html``` file in your theme with the following content:\n\n```html\n\u003c!DOCTYPE html\u003e\n{% spaceless %}\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cmeta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" /\u003e\n    \u003cmeta http-equiv=\"refresh\" content=\"0;url={{ page.destination.url }}\" /\u003e\n  \u003c/head\u003e\n\u003c/html\u003e\n{% endspaceless %}\n```\n\nNow if a user visit the a ```alias-path.html```will be redirect on original page.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavimo%2Fsculpin-redirect-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmavimo%2Fsculpin-redirect-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmavimo%2Fsculpin-redirect-bundle/lists"}