Changing Joomla Site Directory (1 viewing) (1) Guest
Favoured: 0
|
|
|
TOPIC: Changing Joomla Site Directory
|
airman (User)
Junior Boarder
Posts: 35
|
|
Changing Joomla Site Directory 4 Months, 1 Week ago
|
Karma: 0
|
|
I ran into a problem with moving Joomla directory and need help. All my pictures in articles are pointing to wrong path (old path)...
My home directory was /usr/home/pcshare with apache server pointing to /usr/home/pcshare, and had joomla installed onto /jo, and had /index.html redirect to /jo. All worked ok. Now I wanted to move the site from /jo to /.
I updated the configuration.php:
$mosConfig_absolute_path = '/usr/home/pcshare/jo';
$mosConfig_cachepath = '/usr/home/pcshare/jo/cache';
$mosConfig_live_site = 'http://pcshare.com';
And then, updated Apache config from /usr/home/pcshare to /usr/home/pcshare/jo
Basically, instead of moving the entire Joomla site to different folder, I left it alone and changed the Apache to point at different folder. And this works fine. But problem I ran into are all my articles. All the picture links are still pointing to /jo/images/filename.jpg, and they need to be /images/filename.jpg.
I can fix by editing each articles and remove /jo off of it's links and works fine. However, it takes too much time to do thousand articles. Is there a way to remove /jo off of all the articles at once from the MySQL database? If so, which table is it???
Another problem I ran into is that some articles, even though they get displayed, when trying to edit to correct the links, the article does not show up in the editor, just a blank with <br> in it. I'm using JCK editor and MamBlog. Any suggestion???
|
|
|
|
|
|
|
Last Edit: 2008/07/26 11:46 By airman.
|
|
|
The administrator has disabled public write access.
|
|
|
|
|