WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. rose_marry
    Member
    Posted 12 months 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 12 months 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 12 months ago #

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

Reply

You must log in to post.

About this Topic