https://github.com/seadfeng/redirect-checker Skip to content Navigation Menu Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + GitHub Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions By size + Enterprise + Teams + Startups By industry + Healthcare + Financial services + Manufacturing By use case + CI/CD & Automation + DevOps + DevSecOps * Resources Topics + AI + DevOps + Security + Software Development Explore + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Enterprise + Enterprise platform AI-powered developer platform Available add-ons + Advanced Security Enterprise-grade security features + GitHub Copilot Enterprise-grade AI features + Premium Support Enterprise-grade 24/7 support * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up Reseting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} seadfeng / redirect-checker Public * Notifications You must be signed in to change notification settings * Fork 0 * Star 22 www.redirectchecker.org/ License MIT license 22 stars 0 forks Branches Tags Activity Star Notifications You must be signed in to change notification settings * Code * Issues 0 * Pull requests 0 * Actions * Projects 0 * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Projects * Security * Insights seadfeng/redirect-checker This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 30 Commits .github/workflows .github/workflows .vscode .vscode bin bin doc doc public public src src .env .env .eslintrc.json .eslintrc.json .gitignore .gitignore MIT-LICENSE MIT-LICENSE README.md README.md components.json components.json env.d.ts env.d.ts next.config.mjs next.config.mjs package-lock.json package-lock.json package.json package.json postcss.config.mjs postcss.config.mjs tailwind.config.ts tailwind.config.ts tsconfig.json tsconfig.json wrangler.toml wrangler.toml View all files Repository files navigation * README * MIT license Redirect Checker Redirect Checker is an open-source tool designed to analyze and verify URL redirects. It helps webmasters, SEO professionals, and developers understand redirect chains, identify issues, and optimize website performance. Features * Analyze single or multiple URL redirects * Detailed redirect chain visualization * Support for various redirect types (301, 302, meta refresh, JavaScript) * Custom user-agent selection * SEO impact assessment * Redirect loop detection * HTTP header analysis (Status Code, X-Robots-Tag, Rel Canonical) Installation To set up the Redirect Checker project locally, follow these steps: 1. Clone the repository: git clone https://github.com/seadfeng/redirect-checker.git cd redirect-checker 2. Install dependencies: npm install # or yarn install # or pnpm install Usage Guide Running the Development Server To start the development server, run one of the following commands: npm run dev # or # yarn dev or # pnpm dev # or bun dev Open http://localhost:3000 in your browser to see the result. How to Use 1. Enter the URL you want to check in the input field. 2. (Optional) Select a user-agent from the dropdown menu. 3. Click the "Check" button. 4. Review the results, including the redirect chain, status codes, and final destination. Technologies Used * Next.js * TypeScript * Tailwind CSS * ESLint * PostCSS Free Redirect Checker API User-Agent: insomnia/9.2.0 curl --request POST \ --url https://www.redirectchecker.org/api/redirectcheck \ --header 'Content-Type: application/json' \ --header 'User-Agent: insomnia/9.2.0' \ --data '{ "url": "https://proxysites.ai" }' Output JSON [ { "url": "https://proxysites.ai", "host": "proxysites.ai", "status": 301, "statusText": "Moved Permanently", "duration": "0.060 s", "location": "https://www.proxysites.ai/" }, { "url": "https://www.proxysites.ai/", "host": "www.proxysites.ai", "status": 200, "statusText": "OK", "duration": "4.404 s", "location": null } ] User-Agent: iPhone curl --request POST \ --url https://www.redirectchecker.org/api/redirectcheck \ --header 'Content-Type: application/json' \ --header 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 16_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Mobile/15E148 Safari/604.1' \ --data '{ "url": "https://www.facebook.com" }' Output JSON [ { "url": "https://facebook.com/", "host": "facebook.com", "status": 301, "statusText": "Moved Permanently", "duration": "0.215 s", "location": "https://m.facebook.com/?wtsid=rdr_0mIzDi3eNPLm33XQg" }, { "url": "https://m.facebook.com/?wtsid=rdr_0mIzDi3eNPLm33XQg", "host": "m.facebook.com", "status": 200, "statusText": "OK", "duration": "0.250 s", "location": null } ] Deploy to Cloudflare Pages Local Deploy Simple Deployment # install wrangler npm install -g wrangler # Cloudflare Login wrangler login # Deploy to Cloudflare Pages npm run deploy Deploy by GitHub Actions For detailed instructions, see this guide Contributing We welcome contributions to the Redirect Checker project. Please feel free to submit issues, feature requests, or pull requests. License MIT License About Redirect Checker is maintained by seadfeng. For more information, visit the project homepage. Tags * redirect-urls * redirect-page * redirect-checker About www.redirectchecker.org/ Topics redirect-urls redirect-page redirect-checker cloudflare-pages url-redirect-checker Resources Readme License MIT license Activity Stars 22 stars Watchers 1 watching Forks 0 forks Report repository Releases No releases published Packages 0 No packages published Languages * TypeScript 96.1% * CSS 2.6% * JavaScript 1.3% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.