Search Posts

Edit

1)
Man kan i SQL-boxen i databasen f.eks. skrive (unwanted_text og wanted_text ændres naturligvis)
UPDATE wordpress_posts
SET post_content = replace(post_content, 'unwanted_text','wanted_text')
;

 

2)
Plain text copy of all content of the database:
In phpMyAdmin, click on the wordpress_posts table and then click on the Export tab at the
top. Choose format and export. Use "Custom" section and set more settings.

 

3)
In FileManager (or FileZilla, FTP) making a textfile of the non-image posts:
Use this command line command in the account to create such a list:
ls -I "*.jpg" -I "*.JPG" -I "*.gif" -I "*.tif" > non_images.txt
The list is here:
http://bionyt.s807.sureserver.com/files/non_images.txt

4)
Deletion of old code such as:
> <% Set asplObj=Server.CreateObject("ASPL.Login")
> asplObj.Protect
> Set asplObj=Nothing
> %>
Use the "sed" command via CLI where the format is:
sed -i 's/oldtext/newtext/g' FileNames
(But complicated in reality with the % character)

999)
Problems to be solved:
Out of memory (allocated 225050624) (tried to allocate 1261568 bytes) in /home/bionyt/www/www/wp-includes/wp-db.php on line 1889

 

Problems:

< br class= " " >

f.eks.:
< br class= " " >

< div > 2 ) < /div >


%C3%A6 = æ

%E2%80%9D = " (gåseøjne)

&amp; = og (tegnet &)

 

Leave a Reply