Simple Relative Urls

Sharraxaad

Simple Relative Urls plugin changes:

  • home and siteurl
  • script src urls
  • style link urls
  • images src urls

It uses wordpress filters.
It doesn’t interact with database.
It is fast, it doesn’t search and replace generated html.
It doesn’t change hardcoded urls (for example in post content).
It is flexible.

Plugin was originally created to enable wordpress to work with a localtunnel npm package

localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.

Example use cases

If Your development tasks don’t involve images, don’t download them from a server. Just install the plugin and add this line of code to your wp-config.php file

define( 'SRU_IMG_SRC_RELATIVE', false );

Your local copy will then display images from their oryginal source.

Dibu-eegisyo

Ma jiraan wax dibu-eegis ah oo ku saabsan kaabahan.

Ka-qaybgalayaasha & Horumariyayaasha

“Simple Relative Urls” waa softiweer il furan. Dadka soo socda ayaa wax ku biiriyay kaabahan.

Ka-qaybgalayaasha

Ku tarjun “Simple Relative Urls” luqaddaada.

Ma xiisaynaysaa horumarinta?

Baadh koodka, fiiri bakhaarka SVN, ama iska qor diiwaanka horumarinta adigoo adeegsanaya RSS.