Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of XAMPP Local Redirector

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.

0 (0 reviews)0 (0 reviews)
Download Firefox and get the extension
Download file

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
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
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.
Learn more
More information
Add-on Links
  • Support site
  • Support Email
  • Copy add-on ID
Version
1.0.0
Size
18.97 KB
Last updated
18 days ago (May 6, 2026)
Related Categories
  • Web Development
License
Mozilla Public License 2.0
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.