{"id":51099512,"url":"https://github.com/santoshtmp/moodle-local_customcleanurl","last_synced_at":"2026-06-24T09:35:16.055Z","repository":{"id":269204884,"uuid":"830953709","full_name":"santoshtmp/moodle-local_customcleanurl","owner":"santoshtmp","description":"Moodle local plugin customcleanurl purpose to make the moodle url in more user readable format and SEO friendly url that makes moodle clean url.","archived":false,"fork":false,"pushed_at":"2026-04-21T10:15:51.000Z","size":1577,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-24T09:34:51.491Z","etag":null,"topics":["clean-url","moodle","moodle-clean-url","moodle-urls"],"latest_commit_sha":null,"homepage":"https://moodle.org/plugins/local_customcleanurl","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/santoshtmp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-19T10:34:53.000Z","updated_at":"2026-04-21T09:50:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"f33a9737-2d88-43b1-9d1c-d2e496015e22","html_url":"https://github.com/santoshtmp/moodle-local_customcleanurl","commit_stats":null,"previous_names":["santoshtmp/moodle-local_customcleanurl"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/santoshtmp/moodle-local_customcleanurl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fmoodle-local_customcleanurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fmoodle-local_customcleanurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fmoodle-local_customcleanurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fmoodle-local_customcleanurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/santoshtmp","download_url":"https://codeload.github.com/santoshtmp/moodle-local_customcleanurl/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/santoshtmp%2Fmoodle-local_customcleanurl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34724746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-24T02:00:07.484Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["clean-url","moodle","moodle-clean-url","moodle-urls"],"created_at":"2026-06-24T09:35:12.979Z","updated_at":"2026-06-24T09:35:16.048Z","avatar_url":"https://github.com/santoshtmp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# customcleanurl\nCustomcleanurl main idea is to convert the moodle url in more user readable format and SEO friendly url. Also provide custom url define for existing moodle url and 404 page template. It also provide the old url redirect to new/next url.\n\n## For Example:\n1. Course View Page URL\n    your_domain/course/view.php?id=ID =\u003e your_domain/course/course_short_name\n2. Course Category Page URL\n    your_domain/course/index.php?categoryid=ID =\u003e your_domain/course/category/ID/category_name\n3. Course Edit Page URL\n    your_domain/course/edit.php?id=ID =\u003e your_domain/course/edit/course_short_name\n4. User Profile URL\n    your_domain/user/profile.php?id=ID =\u003e your_domain/user/profile/username\n5. Other as defined like: \n    your_domain/mod/page/view.php?id=11 =\u003e your_domain/about-us\n\n## Installation\nYou can download as a zip from github then extract into your_moodle/local/customcleanurl/\n\n## Modify .htaccess file\nPlugin require modifcation of the .htaccess file for redirect, For this we need to add the following rules:\n```\n# BEGIN_MOODLE_LOCAL_CUSTOMCLEANURL\n# DO NOT EDIT LOCAL_CUSTOMCLEANURL ROUTE\n\nRewriteEngine On\nRewriteBase /\nRewriteCond %{REQUEST_FILENAME} !-f\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteRule ^(.*)$ /local/customcleanurl/route.php [L]\nErrorDocument 403 /local/customcleanurl/404.php\nErrorDocument 404 /local/customcleanurl/404.php\n\n# DO NOT EDIT LOCAL_CUSTOMCLEANURL ROUTE\n# END_MOODLE_LOCAL_CUSTOMCLEANURL\n```\n\n## Screenshot\n![Clean custom url setting](./pix/screenshot/general_settings.png)\n![Define custom url](./pix/screenshot/define_custom_url.png)\n![Define redirect url](./pix/screenshot/define_urlredirect.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshtmp%2Fmoodle-local_customcleanurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsantoshtmp%2Fmoodle-local_customcleanurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsantoshtmp%2Fmoodle-local_customcleanurl/lists"}