Title: Make Paths Relative
Author: Sami Ahmed Siddiqui
Published: <strong>16 ژوئن 2016</strong>
Last modified: 22 جولای 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/make-paths-relative/assets/banner-772x250-rtl.png?rev=1796226)

![](https://ps.w.org/make-paths-relative/assets/icon.svg?rev=1785376)

# Make Paths Relative

 توسط [Sami Ahmed Siddiqui](https://profiles.wordpress.org/sasiddiqui/)

[دانلود](https://downloads.wordpress.org/plugin/make-paths-relative.2.1.0.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/make-paths-relative/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/make-paths-relative/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/make-paths-relative/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/make-paths-relative/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/make-paths-relative/)

## توضیحات

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

 * **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)

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

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

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 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.

## نصب

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

### From within WordPress

 1. Visit ‘Plugins > Add New’
 2. Search for Make Paths Relative
 3. Activate Make Paths Relative from your Plugins page.
 4. Go to **“after activation”** below.

### 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

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

## توسعه دهندگان و همکاران

“Make Paths Relative” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Sami Ahmed Siddiqui ](https://profiles.wordpress.org/sasiddiqui/)

“Make Paths Relative” به 5 زبان ترجمه شده است. با تشکر از [مترجمین](https://translate.wordpress.org/projects/wp-plugins/make-paths-relative/contributors)
برای همکاری و کمک‌هایشان.

[ترجمه “Make Paths Relative” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/make-paths-relative)

### علاقه‌ مند به توسعه هستید؟

[Browse the code](https://plugins.trac.wordpress.org/browser/make-paths-relative/),
check out the [SVN repository](https://plugins.svn.wordpress.org/make-paths-relative/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/make-paths-relative/)
by [RSS](https://plugins.trac.wordpress.org/log/make-paths-relative/?limit=100&mode=stop_on_copy&format=rss).

## گزارش تغییرات

#### 2.1.0 – July 11, 2024

 * Bugs:
    - Fixed an issue where replacements using \n or $n weren’t working correctly.
 * Feature Additions:
    - You can now include slashes in hostnames, giving you more flexibility.
    - For improved security, plugin can no longer be used on the admin dashboard.
    - We’ve enhanced how relative escaped URLs are handled within the body content.
    - Add functionality to relative WordPress stylesheet directory URIs.

#### 2.0.0 – June 28, 2024

 * Security Enhancement:
    - Implemented a nonce mechanism to safeguard page updates, preventing unauthorized
      modifications.
 * Feature Additions:
    - Define multiple domains to be act as relative.
    - Enhanced content control by allowing removal of specific domains from the 
      entire HTML body tag.

#### Earlier versions

 * For the changelog of earlier versions, please refer to the separate changelog.
   txt file.

## اطلاعات

 *  نگارش **2.1.0**
 *  Last updated **9 ماه پیش**
 *  نصب‌های فعال **2,000+**
 *  نگارش وردپرس ** 2.6 یا بالاتر **
 *  Tested up to **6.8.5**
 *  نگارش PHP ** 5.6 یا بالاتر **
 *  زبان‌ها
 * [English (Australia)](https://en-au.wordpress.org/plugins/make-paths-relative/)،
   [English (Canada)](https://en-ca.wordpress.org/plugins/make-paths-relative/)،
   [English (UK)](https://en-gb.wordpress.org/plugins/make-paths-relative/)، [English (US)](https://wordpress.org/plugins/make-paths-relative/)،
   [Spanish (Argentina)](https://es-ar.wordpress.org/plugins/make-paths-relative/)،
   و [Spanish (Spain)](https://es.wordpress.org/plugins/make-paths-relative/).
 *  [به زبان خودتان ترجمه کنید](https://translate.wordpress.org/projects/wp-plugins/make-paths-relative)
 * Tags
 * [migration](https://fa.wordpress.org/plugins/tags/migration/)[relative links](https://fa.wordpress.org/plugins/tags/relative-links/)
   [seo friendly urls](https://fa.wordpress.org/plugins/tags/seo-friendly-urls/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/make-paths-relative/advanced/)

## امتیازها

 4.1 از 5 ستاره.

 *  [  امتیاز 11 5-ستاره     ](https://wordpress.org/support/plugin/make-paths-relative/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/make-paths-relative/reviews/?filter=4)
 *  [  امتیاز 1 3-ستاره     ](https://wordpress.org/support/plugin/make-paths-relative/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/make-paths-relative/reviews/?filter=2)
 *  [  امتیاز 3 1-ستاره     ](https://wordpress.org/support/plugin/make-paths-relative/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/make-paths-relative/reviews/#new-post)

[مشاهده همه بررسی‌ها](https://wordpress.org/support/plugin/make-paths-relative/reviews/)

## مشارکت کنندگان

 *   [ Sami Ahmed Siddiqui ](https://profiles.wordpress.org/sasiddiqui/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/make-paths-relative/)