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

Relative Image URLs

Описание

When inserting an image into a post, WordPress uses absolute URLs to the files. This plugin overrides that functionality and forces it to use relative URLs.

For example:

WordPress Default:
http://www.example.com/wp-content/uploads/2013/04/example.jpg

Plugin Override:
/wp-content/uploads/2013/04/example.jpg

This is particularly useful if you plan on switching domains ever as well as reducing HTTP requests.

Скриншоты

  • Shows the difference between absolute and relative image URLs in the WordPress post editor.

Установка

  1. Upload the ‘No Image Link’ folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

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

Do I have to set any options?

Nope. It’s ready to go right out of the box.

Why would I want relative image URLs?

A few reasons:

  • Makes it easier to move your site if you ever want to switch domains.
  • If you have an install as a development/testing version of your site that you migrate frequently.
  • Reduces HTTP requests, which will speed up page load time.

Отзывы

Посмотреть все 5 отзывов

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

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

Участники

Перевести «Relative Image URLs» на ваш язык.

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

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

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

2.0

  • Fixed issue with an invalid header and directory issue which caused the plugin to fail install
  • Updated WordPress version compatibility to 3.5.1
  • Added a screenshot
  • Added a FAQ
  • Updated the short description to actually be short
  • Added assets and plugin banner
  • New contributor to update the plugin after it was abandoned 3 years ago

1.0

  • This is the first version.