electripunk Posted March 20, 2009 Share Posted March 20, 2009 Ok, in my config.php file I have a path_base definition and a dir_base definition. The problem I am having is after reconfiguring the config.php file, all my links are screwy. Maybe I am just overlooking something, but if I edit my path_base at all, my function.php is not found on the site. When I configure the dir_base only my home link works. all other links show up in the address bar as htt p://about.php htt p://contact.php so I reconfigure the dir_base to $sm['dir_base'] = ' '; with this configuration, from home, the home link works (or just refreshes the page). all links work but the home link that goes to {dir_base}. it simply refreshes the page. The directory tree of the path_base is $sm['path_base'] = '/home/content/j/c/a/jcanddava/html/'; can anyone help me with this issue. In short, I can get either the home link to work, or all other links to work. the home link is simply <a href="{dir_base}">home</a> Much appreciation in advance. Link to comment https://forums.phpfreaks.com/topic/150259-moved-my-site-from-test-to-live-configphp-is-not-working-propperly/ Share on other sites More sharing options...
trq Posted March 20, 2009 Share Posted March 20, 2009 Ok, in my config.php file I have a path_base definition and a dir_base definition. Can we see that? You might also be interested in $_SERVER['DOCUMENT_ROOT'] and $_SERVER['SERVER_NAME'] Link to comment https://forums.phpfreaks.com/topic/150259-moved-my-site-from-test-to-live-configphp-is-not-working-propperly/#findComment-789076 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.