Relative path for images/uploads?

  1. joneall

    I know that there has been lots of discussion of relative vs abolute links, but some of us really want/need relative links, regardless of what othere may think of them. Pleaee, please, please include this possibility. It would be so nice if I could manage my WP site like I do my Joomla one -- with a development site on my own home computer!

    Posted: 1 year ago #
  2. Ipstenu (Mika Epstein)
    Half-Elf; Volunteer Forum Mod & Plugin Referee

    Not at this time. You can use plugins for this.

    Posted: 1 year ago #
  3. joneall

    At what time then?

    Also, which plugins? Which ones really work?

    Aside from the theoretical (personal) reasons for not imploementing this, are there practical ones -- e.g., would it be a tremendous job of rewriting code?

    Posted: 1 year ago #
  4. Ipstenu (Mika Epstein)
    Half-Elf; Volunteer Forum Mod & Plugin Referee

    Yes, it would require tremendous effort to recode everything in a way that remains backwards compatible.

    FWIW, this has been suggested a lot, and core devs have always said no. You can search this ideas forums for older discussions, or for "Why does WordPress use absolute URLs?" to get into all the drama.

    As for plugins, see http://wordpress.org/plugins/abt-relative-urls/

    Posted: 1 year ago #
  5. joneall

    I had seen some of the discussion, but not all. So I believe you.

    Thanks for the reply. Will lookat the plugins.

    Posted: 1 year ago #
  6. vajnabotond

    should use get_home_url(), then your links are absolute, but it does not affect if you change the site url

    Posted: 1 year ago #

RSS feed for this topic


You must log in to post.

  • Rating

    223 Votes
  • Status

    Duplicate of another idea