Title: Relative URLs
Author: Guglielmo Pepe
Published: <strong>09.05.2021</strong>
Last modified: 09.05.2021

---

Поиск плагинов

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://s.w.org/plugins/geopattern-icon/wp-relative-url.svg)

# Relative URLs

 Автор: [Guglielmo Pepe](https://profiles.wordpress.org/gpepe/)

[Скачать](https://downloads.wordpress.org/plugin/wp-relative-url.1.0.0.zip)

 * [Детали](https://ru.wordpress.org/plugins/wp-relative-url/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/wp-relative-url/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/wp-relative-url/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/wp-relative-url/#developers)

 [Поддержка](https://wordpress.org/support/plugin/wp-relative-url/)

## Описание

_By default, WordPress saves the content with local domain. If you want develop 
your blog in one domain and go live in another, you need replace all URLs in the
database._

Relative URLs replace all absolute URLs with relative URLs quickly. You can move
from localhost to live domain with minimal effort, but this plugin never change 
links in database, so you can develop in stanging area or in a subdomain o in a 
sub-directory without worrying to replace URLs in the content.

**Notice: This plugin SHOULD be used for local development only.**
 **Notice: This
plugin may conflict with server based cache services (like nginx or Varnish).**

#### Benefits

 * Go live in one domain, develop in another
 * Move from one directory to another with minimal effort
 * Never change links in database
 * Switch between HTTP and HTTPS sites
 * Backup a production site from one domain, restore for testing at another domain

### Features

 * Removes the domain name on links for internal links
 * Removes the domain name from on image sources for images located in the server
 * Dont’t replace URLs in database

## Установка

 1. Upload the plugin files to the `/wp-content/plugins/wp-relative-url` directory,
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

## Часто задаваемые вопросы

### Why do I need this?

With Relative URLs you don’t need to adjust links after change domain. When you 
change domains and you move your WordPress blog from subdomain to parent domain,
you need to change base URL in configuration and you need to replace all URLs in
database.
 If you activate Relative URLs all URLs are fine after transfer site: 
you don’t need to change base URL and you don’t need to replace all URLs in database.

### I need to change something after change domain?

No. The plugin replace URLs before WordPress send output, so you don’t need any 
configuration after activate.

### How it works?

Relative URLs replace the absolute URL with relative URL before WordPress send output.
That’s it.

### Can I request new feature?

Of course! I love to get your ideas! Please, [submit your idea](https://wordpress.org/support/plugin/wp-relative-url/)
here.

## Отзывы

Нет отзывов об этом плагине.

## Участники и разработчики

«Relative URLs» — проект с открытым исходным кодом. В развитие плагина внесли свой
вклад следующие участники:

Участники

 *   [ Guglielmo Pepe ](https://profiles.wordpress.org/gpepe/)

[Перевести «Relative URLs» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/wp-relative-url)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/wp-relative-url/), проверьте
[SVN репозиторий](https://plugins.svn.wordpress.org/wp-relative-url/), или подпишитесь
на [журнал разработки](https://plugins.trac.wordpress.org/log/wp-relative-url/) 
по [RSS](https://plugins.trac.wordpress.org/log/wp-relative-url/?limit=100&mode=stop_on_copy&format=rss).

## Журнал изменений

#### 1.0.0

 * First release of Relative URLs

## Мета

 *  Версия **1.0.0**
 *  Обновление: **5 лет назад**
 *  Активных установок: **10+**
 *  Версия WordPress ** 5.2.3 или выше **
 *  Совместим вплоть до: **5.7.20**
 *  Версия PHP ** 7.2 или выше **
 *  Язык
 * [English (US)](https://wordpress.org/plugins/wp-relative-url/)
 * Метки:
 * [https](https://ru.wordpress.org/plugins/tags/https/)[relative link](https://ru.wordpress.org/plugins/tags/relative-link/)
   [seo](https://ru.wordpress.org/plugins/tags/seo/)[staging](https://ru.wordpress.org/plugins/tags/staging/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/wp-relative-url/advanced/)

## Оценки

Пока что нет ни одного отзыва.

[Ваш отзыв](https://wordpress.org/support/plugin/wp-relative-url/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/wp-relative-url/reviews/)

## Участники

 *   [ Guglielmo Pepe ](https://profiles.wordpress.org/gpepe/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/wp-relative-url/)