Jump to content

Moved my site from test to live. Config.php is not working propperly.


electripunk

Recommended Posts

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.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.