• hi, i’ve been working on a local version of wordpress with imported moveable type entries. I have an absolute path question. looking at the existing site files on the server the previous web developer is using this absolute path with includes: /home/dailyser/public_html/

    I’m going to install wordpress at the root of the site and would like to know if i need to make any adjustments to the ABSPATH settings in the wp-config file. I changed the absolute paths to images in my posts and template files to this format: /wp-content/uploads/…

    So, would i need to change the wp-config file from

    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/');

    to:

    if ( !defined('ABSPATH') )
    	define('ABSPATH', dirname(__FILE__) . '/home/dailyser/public_html/');

    or should i just leave it alone?

    Also, The client would also like me to install wordpress to temp directory first to review. I figured i could just upload wordpress temporarily folder called wordpress off of the root, but leave a copy of the wp-content folder at the root.

    is this the tutorial that i should follow? http://codex.ww.wp.xz.cn/Moving_WordPress#Moving_WordPress_Within_Your_Site

    Thank you in advance.
    (sorry for the double post, wouldn’t let me edit)

The topic ‘absolute path question, from local to web’ is closed to new replies.