Title: Relative URL ShortCode
Author: mainsufian
Published: <strong>10. 3. 2016</strong>
Last modified: 21. 2. 2023

---

Prohledat pluginy

![](https://ps.w.org/relative-url-shortcode/assets/banner-772x250.png?rev=1368510)

Plugin **nebyl testován na 3 nejnovějších verzích WordPressu.** Nemusí už být tedy
podporován a u novějších verzí WordPressu může mít problémy s kompatibilitou a může
být nestabilní.

![](https://ps.w.org/relative-url-shortcode/assets/icon-256x256.png?rev=1368510)

# Relative URL ShortCode

 Autor: [mainsufian](https://profiles.wordpress.org/mainsufian/)

[Stáhnout](https://downloads.wordpress.org/plugin/relative-url-shortcode.zip)

 * [Podrobnosti](https://cs.wordpress.org/plugins/relative-url-shortcode/#description)
 * [Hodnocení](https://cs.wordpress.org/plugins/relative-url-shortcode/#reviews)
 *  [Instalace](https://cs.wordpress.org/plugins/relative-url-shortcode/#installation)
 * [Vývojáři](https://cs.wordpress.org/plugins/relative-url-shortcode/#developers)

 [Podpora](https://wordpress.org/support/plugin/relative-url-shortcode/)

## Popis

Now its easy to change domains and move your wordpress blog from subdomain to parent
domain like from localhost to live domain you just need to use this shortcode [base_url]
as your base url and images So now all links and images are fine after transfer 
site from localhost to live you don’t need to adjust links after change domain.

ShortCode
 [base_url]

## Snímky obrazovky

[⌊You can see diffrance in normal link and normal image in wordpress and in link
and image with ShorCode.⌉⌊You can see diffrance in normal link and normal image 
in wordpress and in link and image with ShorCode.⌉[

You can see diffrance in normal link and normal image in wordpress and in link and
image with ShorCode.

## Instalace

** From your WordPress dashboard **

Visit ‚Plugins > Add New‘ Search for ‚Relative URL ShortCode‘ Activate ‚Relative
URL ShortCode‘ from your Plugins page.

** From WordPress.org **

Download ‚Relative URL ShortCode‘. Upload the ‚Relative URL ShortCode‘ directory
to your ‚/wp-content/plugins/‘ directory, using your favorite method (ftp, sftp,
scp, etc…) Activate ‚Relative URL ShortCode‘ from your Plugins page.

## Nejčastější dotazy

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

No. we always use your site base url so you do not need any configuration for change
domain.

### I need to change any configuration after activate?

No. we always use your site base url so you do not need any configuration after 
activate.

## Recenze

![](https://secure.gravatar.com/avatar/b2da164eb3471f704639d97eaf5da115061ac54eb985bf54b9a89c1719e9ac3e?
s=60&d=retro&r=g)

### 󠀁[Almost works in 2024](https://wordpress.org/support/topic/almost-works-in-2024/)󠁿

 [dmtalon](https://profiles.wordpress.org/dmtalon/) 26. 2. 2024

was hoping to use this to make a new site I’m spinning up to replace an existing/
old one more ‚move proof‘ however for some reason the colon is missing in the URL
that is generated with the short code. My site is using https, and the urls created
are ‚https//temp.domain.com‘ without the colon so it fails. I looked at the code
a bit (not a developer) and it wasn’t obvious how I might modify it to work.

![](https://secure.gravatar.com/avatar/b07f24325495fdea8b3d734753f0d43ec58011ac6c62c74bd6437dae8131bc45?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-13794/)󠁿

 [Faisal Sarfraz](https://profiles.wordpress.org/faisals999/) 8. 5. 2017

Simple and to-the-point plugin. Exactly what I was looking for

![](https://secure.gravatar.com/avatar/1992b0c95ffe5b9bf532215018d0d99f80c1c0696ad66bff7a23307a1b3d7bea?
s=60&d=retro&r=g)

### 󠀁[Super simple!](https://wordpress.org/support/topic/super-simple-38/)󠁿

 [lennekel](https://profiles.wordpress.org/lennekel/) 27. 3. 2017 1 odpověď

Great little plugin. You need to replace the base url by [base_url]. That’s all.
Works for images and for links in pages. Very small drawback: doesn’t work in text
widgets… Thanks! Lenneke

![](https://secure.gravatar.com/avatar/47299eccdedeedd18270c54e217d1a9a8dfc3f99a448f3f9e358691957ca2ce1?
s=60&d=retro&r=g)

### 󠀁[shift content then very useful](https://wordpress.org/support/topic/shift-content-then-very-useful/)󠁿

 [mainsufian](https://profiles.wordpress.org/mainsufian/) 3. 9. 2016

This Plugin is Best when you need to work on test domain like localhost or on some
sub domain and you need to move data or transfer complete site then it’s best to
keep links fine.

 [ Přečtěte si všechny 4 recenze ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/)

## Autoři

Relative URL ShortCode je otevřený software. Následující lidé přispěli k vývoji 
tohoto pluginu.

Spolupracovníci

 *   [ mainsufian ](https://profiles.wordpress.org/mainsufian/)

[Přeložte “Relative URL ShortCode” do svého jazyka.](https://translate.wordpress.org/projects/wp-plugins/relative-url-shortcode)

### Zajímá vás vývoj?

[Prohledejte kód](https://plugins.trac.wordpress.org/browser/relative-url-shortcode/),
podívejte se do [SVN repozitáře](https://plugins.svn.wordpress.org/relative-url-shortcode/),
nebo se přihlaste k[ odběru protokolu vývoje](https://plugins.trac.wordpress.org/log/relative-url-shortcode/)
pomocí [RSS](https://plugins.trac.wordpress.org/log/relative-url-shortcode/?limit=100&mode=stop_on_copy&format=rss).

## Přehled změn

#### 1.0

 * it is a first version.

## Meta

 *  Verze **1.1.0**
 *  Poslední aktualizace **před 3 roky**
 *  Aktivních instalací **600+**
 *  Verze WordPressu ** 3.0.1 nebo novější **
 *  Testováno až do WordPressu **6.1.10**
 *  Jazyk
 * [English (US)](https://wordpress.org/plugins/relative-url-shortcode/)
 * Štítky
 * [relative](https://cs.wordpress.org/plugins/tags/relative/)[shortcode](https://cs.wordpress.org/plugins/tags/shortcode/)
   [url](https://cs.wordpress.org/plugins/tags/url/)
 *  [Podrobnosti](https://cs.wordpress.org/plugins/relative-url-shortcode/advanced/)

## Hodnocení

 4.5 z 5 hvězdiček.

 *  [  3 5hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/?filter=5)
 *  [  0 4hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/?filter=4)
 *  [  1 3hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/?filter=3)
 *  [  0 2hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/?filter=2)
 *  [  0 1hvězdičkové hodnocení     ](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/?filter=1)

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

[Zobrazit všechny recenze](https://wordpress.org/support/plugin/relative-url-shortcode/reviews/)

## Spolupracovníci

 *   [ mainsufian ](https://profiles.wordpress.org/mainsufian/)

## Podpora

Potřebujete pomoc?

 [Fórum podpory](https://wordpress.org/support/plugin/relative-url-shortcode/)

## Dary

Chtěli byste podpořit vývoj tohoto pluginu?

 [ Přispět na tento plugin ](https://cs.wordpress.org/plugins/relative-url-shortcode/?output_format=md#)