Redirect Confirmer is a simple and effective tool for validating redirects on your website. By appending the target link to the base URL, you can quickly and easily test and confirm the behavior of your site's redirects. This is especially useful for debugging and ensuring smooth user navigation.
- Redirect Confirmation: Add the desired path after the base URL to see how your redirects perform.
- Custom 404 Page: Utilizes a custom
404.html
page to make redirect testing pages functional and intuitive. - Dark Mode Toggle: Seamlessly switch between light and dark themes for an improved user experience.
- Validation of Destination URL: Ensures the provided URL is valid before redirecting.
- Responsive Design: Adapts to different screen sizes for accessibility on various devices.
- Visit the website at redirect-confirmer.vercel.app.
- Append the intended redirect path to the URL (e.g.,
https://redirect-confirmer.vercel.app/example-path
). - The website processes and confirms the redirect behavior based on the appended path.
- The displayed card allows users to:
- Confirm and continue to the destination URL.
- Go back to the previous page.
- Frontend:
- Built with HTML, CSS, and JavaScript.
- Utilizes Material Icons and Roboto font for a clean and modern interface.
- Custom Theme Management:
- Light and dark themes are toggleable and persist via
localStorage
.
- Light and dark themes are toggleable and persist via
- Error Handling:
- Displays a friendly message if no URL is provided or if the URL is invalid.
- URL Validation:
- Ensures that the appended path is a valid URL before attempting to redirect.
- Main Card: A central UI element that displays the confirmation prompt.
- Dynamic URL Handling: Extracts and validates the destination URL from the appended path.
- Theme Toggle Button: A fixed-position button that allows users to switch between themes.
- Debugging and testing URL redirects during website development.
- Verifying redirect rules and behavior after deploying updates.
- Ensuring user-friendly navigation across your web pages.
- Hosted on Vercel for high availability and performance.
- Leverages a custom
404.html
page to manage redirect validation.
Ready to test your redirects? Visit the tool here: redirect-confirmer.vercel.app.
Contributions are welcome! If you have ideas for improvements or encounter issues, feel free to submit an issue or a pull request in this repository.
This project is open-source and available under the MIT License.
For questions or support, please reach out through the repository's issue tracker.