תוסף זה לא נבדק ב-3 הגרסאות הראשיות האחרונות של וורדפרס. ייתכן והתוסף כבר לא מתוחזק או נתמך על ידי יוצריו, וייתכן שיהיו לו בעיות תאימות בגרסות וורדפרס עדכניות יותר.

Relative URL for Img and A Tags

תיאור

This plugin will remove the root of the domain from links and image sources. This means that it will leave the relative URL on your image and links. This is useful if you are installing your wordpress website on a subfolder which you will move on the main domain.

You can move your site to a different subdomain, subfolder, parent folder, etc., without having to edit image sources and link URLs.

So, http://webdev-tuts.com/wp-content/uploads/2016/05/svggraph-pie-graph.jpg would become /wp-content/uploads/2016/05/svggraph-pie-graph.jpg

Note: We haven't tested the plugin on any page builder yet.

Features

  • removes the the domain name on links for internal links
  • removes domain from on image sources for images located in the server

התקנה

This section describes how to install the plugin and get it working.

  1. Back up database before activating and installing the plugin.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. If you have installed a cache plugin, clear it, then view an old post that contains an image and check if the image or link renders properly.

סקירות

3 בספטמבר 2016
I tested on local hosted wordpress installations with big amount of pictures. Part of the pictures integrated in slider and woocommerce shop. All is working fine.
קראו את כל הסקירות

מפתחים

"Relative URL for Img and A Tags" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף הזה.

תורמים

ניתן לתרגם את "Relative URL for Img and A Tags" לשפה שלך.

מעוניינים בפיתוח?

עיינו בקוד, ראו את הקוד ב-SVN repository, או הירשמו ללוג פיתוח באמצעות RSS.

שינויים

1.0.0

  • Initial upload

1.0.1

  • Fixed problem on url in case the site is moved to subfolder to parent folder and vise versa

1.0.2

  • Removed content filter because it's no longer necessary
  • Improved codes

1.0.3

  • Fixed problem when user did not add www and the domain is set to have www
  • Tested on WP 5.5.3