WordPress.org

Forums

[resolved] How to convert absolute path to relative (3 posts)

  1. rose_marry
    Member
    Posted 2 years ago #

    In our website medical animation the whole website template has been made by absolute path bcoz of that i can't run it on local host. Is there any plugin, which can convert all absolute path to relative path?

  2. phillbooth
    Member
    Posted 2 years ago #

    http://codex.wordpress.org/Function_Reference/get_template_directory

    Or hard code my hand just like you would navigate using windows explorer c:\....

    I suggest you use something like notepad++ to do a bulk find and replace

    http://codex.wordpress.org/Function_Reference/_wp_relative_upload_path

  3. rose_marry
    Member
    Posted 2 years ago #

    Dear Phillooth, thanks for the suggestion. Slightly confused over this so I'll try it on my website replica.

Topic Closed

This topic has been closed to new replies.

About this Topic