New:Socket for Asana Is Now Available.Learn more
Get Started

XAMPP Local Redirector

Package Overview
Versions
1
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

XAMPP Local Redirector

xampp-local-redirector

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.

Firefox Add-ons
Version
1.0.0
Version published
Created

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

Categories

web-development

FAQs

Package last updated on 09 May 2026

Related posts