{"id":19316071,"url":"https://github.com/lahcenezzara/url-redirection-explorer","last_synced_at":"2026-06-13T02:33:04.016Z","repository":{"id":258787655,"uuid":"875707130","full_name":"LahcenEzzara/url-redirection-explorer","owner":"LahcenEzzara","description":"URL Redirection Explorer","archived":false,"fork":false,"pushed_at":"2024-10-20T18:36:45.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-16T12:21:50.969Z","etag":null,"topics":["client-side-redirect","client-side-scripting","frontend-development","html","html-meta-refresh","http-redirection","internet-browsing","javascript","javascript-redirect","page-redirection","redirect-methods","seo-techniques","url-forwarding","url-redirection","user-experience","web-design","web-development","web-navigation","web-standards","web-technologies"],"latest_commit_sha":null,"homepage":"https://lahcenezzara.github.io/url-redirection-explorer/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LahcenEzzara.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-10-20T16:39:25.000Z","updated_at":"2024-10-20T19:37:51.000Z","dependencies_parsed_at":"2024-10-20T22:06:24.300Z","dependency_job_id":null,"html_url":"https://github.com/LahcenEzzara/url-redirection-explorer","commit_stats":null,"previous_names":["lahcenezzara/url-redirection-explorer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LahcenEzzara/url-redirection-explorer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LahcenEzzara%2Furl-redirection-explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LahcenEzzara%2Furl-redirection-explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LahcenEzzara%2Furl-redirection-explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LahcenEzzara%2Furl-redirection-explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LahcenEzzara","download_url":"https://codeload.github.com/LahcenEzzara/url-redirection-explorer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LahcenEzzara%2Furl-redirection-explorer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34270414,"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-13T02:00:06.617Z","response_time":62,"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":["client-side-redirect","client-side-scripting","frontend-development","html","html-meta-refresh","http-redirection","internet-browsing","javascript","javascript-redirect","page-redirection","redirect-methods","seo-techniques","url-forwarding","url-redirection","user-experience","web-design","web-development","web-navigation","web-standards","web-technologies"],"created_at":"2024-11-10T01:09:46.015Z","updated_at":"2026-06-13T02:33:04.001Z","avatar_url":"https://github.com/LahcenEzzara.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Redirection Project\n\n## Overview\nThis project demonstrates two methods of redirecting users from one webpage to another. The first method uses JavaScript for client-side redirection, while the second method employs the HTML meta refresh technique. \n\n## Project Structure\n\n```\nurl-redirection-explorer/\n├── index.html\n└── page/\n   └── index.html\n```\n\n## Files\n\n### 1. `index.html` (Meta Refresh Method)\nThis file uses the HTML meta refresh method to redirect users to a new URL after a specified delay. Here’s a brief code snippet from the file:\n\n```html\n\u003cmeta http-equiv=\"refresh\" content=\"0; URL='https://example.com'\" /\u003e\n```\n- **How it works**: The `meta` tag instructs the browser to redirect to the specified URL after a specified delay (0 seconds in this case for an immediate redirect).\n\n### 2. `page/index.html` (JavaScript Redirect Method)\nThis file implements a JavaScript redirect to send users to a new URL immediately upon loading the page. Here’s a brief code snippet from the file:\n\n```html\n\u003cscript\u003e\n    window.location.href = \"https://example.com\";\n\u003c/script\u003e\n```\n- **How it works**: The JavaScript `window.location.href` command sets the current page’s URL to the specified one, effectively redirecting the user immediately.\n\n## Installation\nTo set up this project on your local machine, follow these steps:\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository-url\u003e\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd URL-REDIRECTION-EXAMPLE\n   ```\n3. Open the `index.html` file in your browser to see the meta refresh in action.\n4. Open the `page/index.html` file in your browser to see the JavaScript redirect.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\nFeel free to submit issues or pull requests if you have suggestions for improvements or additional features.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahcenezzara%2Furl-redirection-explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flahcenezzara%2Furl-redirection-explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flahcenezzara%2Furl-redirection-explorer/lists"}