WordPress plugin intelligence profile

Vantorix – Subfolder Link Fixer

Makes root-relative links like "/" and "/about-us/" work when WordPress is installed in a subfolder. No database changes.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.1.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update12 Oct 202621d ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Vantorix – Subfolder Link Fixer version 1.1.0 as active, updated 21d ago and tested up to WordPress 7.1.

Overview

About this plugin

Links such as /, /about-us/ or /contact/ are handy because they work on any domain. com/demo/ — those links jump to the domain root and visitors land on the wrong page or a 404.

Subfolder Link Fixer detects your site’s subfolder from the Home URL and quietly fixes those links in the page sent to the browser:

  • href="/" becomes href="/demo/"
  • href="/about-us/" becomes href="/demo/about-us/"
  • Form actions like action="/contact/" are fixed too.

Nothing is written to your content. Your posts, menus and page-builder data stay exactly as they were, so you can move the site back to a root domain, export it, or switch the plugin off at any time.

Features

  • Automatic subfolder detection from the Home URL — nothing to configure.
  • Choose what to fix: links ( href ), form actions ( action ), images and scripts ( src ) and responsive images ( srcset ).
  • Excluded paths: keep links that should really leave the site, such as /shop/ on the same domain, untouched.
  • Manual subfolder for sites served from a folder by a reverse proxy.
  • Live link tester on the settings screen shows exactly what visitors get.
  • Automatic page-cache clearing when settings change, for LiteSpeed Cache, WP Rocket, W3 Total Cache, WP Super Cache and SiteGround Optimizer.
  • Debug comment for administrators with the number of links fixed on a page.
  • Site Health section under Tools → Site Health → Info.
  • WP-CLI: wp subfolder-links status and wp subfolder-links test / /about-us/.

Good for

  • Theme and template-kit demo sites hosted side by side, e.g. example.com/kit-one/, example.com/kit-two/.
  • Staging copies that live in a subfolder of the live domain.
  • Subdirectory Multisite networks — every subsite gets its own folder automatically.
  • Imported content or page-builder layouts that contain hard-coded / links.

What it leaves alone

  • Protocol-relative links ( //cdn.example.com/... ) and full URLs.
  • Links that already include the subfolder, and paths you exclude.
  • data-* attributes.
  • Admin screens, AJAX, REST API, feeds and the Elementor editor preview.
  • Sites installed at the domain root — the plugin simply stays idle.

For developers

  • vantorix_slf_attributes — array of attributes to rewrite.
  • vantorix_slf_excluded_paths — array of path prefixes to skip.
  • vantorix_slf_should_run — return false to skip the current request.
  • vantorix_slf_purge_caches — action fired after settings change; purge your own cache here.

Example: skip rewriting on one page.

add_filter( 'vantorix_slf_should_run', function ( $run ) { return is_page( 'landing' )? false: $run; } );

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • relative links
  • multisite
  • staging
  • subdirectory
  • subfolder
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity12 Oct 202621d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

Version1.0.01.1.0
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.