Page 1 of 1
Chaning link directory
Posted: Wed Mar 14, 2007 3:50 pm
by rj
I havent been around lately because Serendipity has been running too smoothly!
I am going to have change directories. servers or make a sub domain.
Is there anything I can do within Serendipity to have whatever links there are change when I make the change?
Thanx
RJ
PS: Is there a forum or perhaps a link to a website that discusses how blogrolls work and how Google search treats blogs? I guess something like an optimizing search and links of a blog website?
I think of all the information that accumulated in it over time and never a search result from the counter.
Re: Chaning link directory
Posted: Thu Mar 15, 2007 10:03 am
by garvinhicking
Hi!
I am going to have change directories. servers or make a sub domain.
Is there anything I can do within Serendipity to have whatever links there are change when I make the change?
Yes, you'll need to follow the steps here:
http://www.s9y.org/11.html#A21
PS: Is there a forum or perhaps a link to a website that discusses how blogrolls work and how Google search treats blogs? I guess something like an optimizing search and links of a blog website?
Phew, at least I know of no such links. But I'm sure there must be essays about this. Did you already google up for words like "blog seo"?
HTH,
Garvin
Posted: Thu Apr 05, 2007 9:37 am
by rj
Well I decided to just change the name of the directory.
I assume I go to the database at Godaddy and change the path name, then go change the path name on the server?
Or is there more to it.
My server is GoDaddy and they are ******* UP.
Damn, I am an idiot, and I call them and find I know more about things they they do.
RJ
Posted: Thu Apr 05, 2007 11:53 am
by garvinhicking
Hi!
I assume I go to the database at Godaddy and change the path name, then go change the path name on the server?
Yes, you then need to go to the new location of your s9y admin panel, login and there change the paths to the new locations.
You might also need to make an SQL Dump of your database to replace all old directory names with the new directory, because all links to your old directory are still inside the old entries.
Best regards,
Garvin
Posted: Tue Apr 10, 2007 4:13 pm
by rj
When you say SLQ dump do you mean an EXPORT and then when I IMPORT it again the relative links change?
Or is this something to do with the BACKUP plugin?
Hmmm... The backup plugin? Does that backup just the serendipity files or the serendipity files AND the DB?
RJ
Posted: Wed Apr 11, 2007 10:14 am
by garvinhicking
Hi!
Yes, with SQL DUmp I mean an export and re-import via phpMyAdmin or similar tools. This is because any links to old paths are stored in the serendipity_entries DB table. You could also edit each entry manually, but that would be more work.
The backup plugin you should not pay attention to regarding this matter.
It backs up the files AND the DB, but it can easily timeout or run out of memory, so I suggest to not really rely on it. This plugin has been somewhat unmaintained and only really works well for smaller databases/files.
Regards,
Garvin
Posted: Wed Apr 11, 2007 4:37 pm
by rj
Lets see if I have this right.
This seems DANGEROUS!!

My DB commands are rather limited at GODADDY.
I use the export DB command at my server and save it to my HD.
I then use the import DB command to load it back in the DB.
When do I do THIS? I imagine between the two, but this is one of those things I have to make sure of...
Go to my server and change the name of the serendipity directory to the name of my blog.
Posted: Wed Apr 11, 2007 4:41 pm
by garvinhicking
Hi!
Hm, you sound confusing. What's your question?
Best regards,
Garvin
Posted: Wed Apr 11, 2007 7:18 pm
by rj
I am always confused!
The right question!
here it is!
True or false?
I use the export DB command at my server and save it to my HD.
I THEN go change the name of the directory at the server.
I then use the import DB command to load it back in the DB.
Posted: Thu Apr 12, 2007 11:09 am
by garvinhicking
Hi!
False
This is right:
I use the export DB command at my server and save it to my HD.
I THEN go change the name of the directory at the server.
I then edit the exported DB sql file and replace all occurences of the old directory name to the new one.
I then use the import DB command to load it back in the DB.
Then I am happy and can login at the new place
Regards,
Garvin
Posted: Thu Apr 12, 2007 3:22 pm
by rj
Got it.
The question is...
IF I do a FIND AND REPLACE in the DB will this work?
find: /serendipity
replace: /kick
Or will it replace things that should not be replaced?
Should I use a different syntax for the FIND and REPLACE?
thanx
RJ
Posted: Thu Apr 12, 2007 4:23 pm
by garvinhicking
Hi!
Or will it replace things that should not be replaced?
Only results will tell.
You might want to try to replace "/serendipity instead, with the quote on the beginning. Maybe also '/serendipity as well with a single quote.
You could try to check the first occurences of the replacements and see if those make sense.
HTH,
Garvin
Posted: Thu Apr 12, 2007 8:41 pm
by rj
I understand... Thanx...