URL Rewriting Tool
How This Tool Works
- User Input: Users can enter one or more URLs (one per line) in the input text area.
- Rewrite Process:
- Converts URLs to lowercase.
- Replaces spaces in paths with hyphens.
- Removes special characters from the paths.
- Cleans up trailing slashes.
- Output: The rewritten, SEO-friendly URLs are displayed in a separate text area.
Features
- Real-Time Rewriting: Processes all URLs instantly after clicking the button.
- User-Friendly Interface: Simple and intuitive layout with clear instructions.
- Error Handling: Marks invalid URLs with a message like "Invalid URL".
- Responsive Design: Adjusts well on desktop and mobile screens.
- Reusable Code: Modular JavaScript function for rewriting can be reused in other projects.