XAMPP Local Redirector by Kazi Firoz
Instantly redirect file:// URLs from your XAMPP htdocs folder to localhost or your custom local domain. Perfect for PHP developers using Notepad++, VS Code, or any editor that opens files directly in the browser.
Extension Metadata
Screenshots
About this extension
If you use XAMPP for local PHP development and open files directly from Notepad++, VS Code, or any editor, your browser opens them as file:///D:/xampp/htdocs/myproject/index.php. This breaks .htaccess rules, mod_rewrite, and anything that needs a real web server.
XAMPP Local Redirector automatically detects these file:// URLs and redirects them to http://localhost/myproject/index.php the moment they load — no clicks needed.
Features:
- Works with any XAMPP path on Windows, Linux, and Mac
- Default domain is localhost (standard XAMPP setup)
- Change the default domain to anything (e.g. mysite.test)
- Custom Rules: map specific htdocs folders to specific virtual host domains
- Enable/disable with one click without losing your settings
- Collects zero data — everything stays in your browser
XAMPP Local Redirector automatically detects these file:// URLs and redirects them to http://localhost/myproject/index.php the moment they load — no clicks needed.
Features:
- Works with any XAMPP path on Windows, Linux, and Mac
- Default domain is localhost (standard XAMPP setup)
- Change the default domain to anything (e.g. mysite.test)
- Custom Rules: map specific htdocs folders to specific virtual host domains
- Enable/disable with one click without losing your settings
- Collects zero data — everything stays in your browser
Rated 0 by 0 reviewers
Permissions and data
Required permissions:
- Access browser tabs
- Access browser activity during navigation
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.0.0
- Size
- 18.97 KB
- Last updated
- 18 days ago (May 6, 2026)
- Related Categories
- License
- Mozilla Public License 2.0
- Version History
- Add to collection