PHPackages                             yasglobal/make-paths-relative - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. yasglobal/make-paths-relative

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

yasglobal/make-paths-relative
=============================

Convert Absolute URLs to be relative in your fingertip.

v2.1.0(1y ago)37[4 issues](https://github.com/yasglobal/make-paths-relative/issues)[1 PRs](https://github.com/yasglobal/make-paths-relative/pulls)GPL-3.0-or-laterPHPPHP &gt;=7.0

Since Jun 28Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/yasglobal/make-paths-relative)[ Packagist](https://packagist.org/packages/yasglobal/make-paths-relative)[ Docs](https://wordpress.org/plugins/make-paths-relative/)[ RSS](/packages/yasglobal-make-paths-relative/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (3)Versions (3)Used By (0)

Make Paths Relative
===================

[](#make-paths-relative)

Description
-----------

[](#description)

This powerful plugin simplifies website maintenance by automatically converting absolute paths (URLs) for resources like links, scripts, stylesheets, and images to relative paths. This ensures your website functions flawlessly regardless of its location on a server or domain.

### Enhanced Efficiency and Flexibility

[](#enhanced-efficiency-and-flexibility)

- **Seamless Relocation:** Move your website with confidence, knowing all paths will adjust accordingly, preventing broken links and preserving a seamless user - experience.
- **Centralized Control:** Update paths once in a central location, eliminating the need for tedious, site-wide modifications.
- **Potential Performance Boost:** Relative paths can, in some cases, improve website loading times.

### Whitelist Your Domains (Optional)

[](#whitelist-your-domains-optional)

For extra control, you can specify a list of domains that will always be converted to relative paths. This ensures internal links are always optimized while allowing external resources to function properly.

### Embrace a Streamlined Approach

[](#embrace-a-streamlined-approach)

This plugin empowers you to focus on creating exceptional content while eliminating the burden of managing absolute paths. Take control, optimize your workflow, and ensure your website's continued success!

### Filters

[](#filters)

If you want to make plugin works and all the paths relative without going to check/visit Settings Page so, just add this line in your theme's `functions.php`.

```
add_filter( 'make_paths_relative_activate_all', '__return_true' );
```

**Note**: Make sure to check the settings Page.

### Bug reports

[](#bug-reports)

Bug reports for **Make Paths Relative** are [welcomed on GitHub](https://github.com/yasglobal/make-paths-relative/issues/). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.

Installation
------------

[](#installation)

This process defines you the steps to follow either you are installing through WordPress or Manually from FTP.

### From within WordPress

[](#from-within-wordpress)

1. Visit 'Plugins &gt; Add New'
2. Search for Make Paths Relative
3. Activate Make Paths Relative from your Plugins page.
4. Go to **"after activation"** below.

### Manually

[](#manually)

1. Upload the `make-paths-relative` folder to the `/wp-content/plugins/` directory
2. Activate Make Paths Relative through the 'Plugins' menu in WordPress
3. Go to "after activation" below.

### After activation

[](#after-activation)

1. Go to the plugin settings page and set up the plugin for your site.
2. You're done!

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance22

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

2

Last Release

722d ago

PHP version history (2 changes)v2.0.0PHP ^5.6 || ^7.0

v2.1.0PHP &gt;=7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16156106?v=4)[Sami Ahmed Siddiqui](/maintainers/samiahmedsiddiqui)[@samiahmedsiddiqui](https://github.com/samiahmedsiddiqui)

---

Top Contributors

[![samiahmedsiddiqui](https://avatars.githubusercontent.com/u/16156106?v=4)](https://github.com/samiahmedsiddiqui "samiahmedsiddiqui (76 commits)")

---

Tags

domain-movelinksmultisite-compatibilityoptimizationportable-urlsrelative-linksrelative-pathseo-friendly-urlssubdomain-migrationurl-migrationwordpress-developmentwordpress-pluginsseo-friendly-urlsPortable URLsRelative LinksMultisite CompatibilitySubdomain MigrationURL MigrationDomain Move

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/yasglobal-make-paths-relative/health.svg)

```
[![Health](https://phpackages.com/badges/yasglobal-make-paths-relative/health.svg)](https://phpackages.com/packages/yasglobal-make-paths-relative)
```

###  Alternatives

[genealabs/laravel-caffeine

Keeping Your Laravel Forms Awake

9422.1M9](/packages/genealabs-laravel-caffeine)[sculpin/sculpin

Static Site Generator

1.5k106.4k12](/packages/sculpin-sculpin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
