[{"data":1,"prerenderedAt":253},["ShallowReactive",2],{"blog:2007:notes-on-the-move-to-wordpress":3,"blogMore-Technology":239,"comments-notes-on-the-move-to-wordpress":252},{"id":4,"title":5,"body":6,"category":221,"commentCount":214,"date":222,"description":12,"excerpt":223,"extension":224,"filenames":225,"hidden":226,"image":225,"meta":227,"minutes":228,"navigation":229,"path":230,"seo":231,"showCategory":225,"stem":232,"tags":233,"updated":225,"url":236,"wordCount":237,"__hash__":238},"content\u002Fblog\u002F2007\u002Fnotes-on-the-move-to-wordpress.md","Notes on the move to WordPress",{"type":7,"value":8,"toc":213},"minimark",[9,13,16,21,24,28,31,103,106,110,129,137,141,148,164,168,177,191,200,203,209],[10,11,12],"p",{},"The change to WordPress from Subtext went without major hitch. This was great considering I was tweaking the design and articles right up to going on holiday. I wouldn’t do this in a professional environment but my blog is a sandpit for such dare-devil risk taking.",[10,14,15],{},"Here are my notes on the experience.",[17,18,20],"h2",{"id":19},"spam","Spam",[10,22,23],{},"Akismet is good but I prefer the invisible captcha that Subtext was using. I’ve gone from dealing with 1 rogue spam a month to 1-2 held for moderation a day.",[17,25,27],{"id":26},"view-counts","View counts",[10,29,30],{},"The WordPress import format doesn’t deal with view counts. I wrote a query against Subtext to list them, a query in MySQL to identify article numbers then manually executed",[32,33,38],"pre",{"className":34,"code":35,"language":36,"meta":37,"style":37},"language-sql shiki shiki-themes everforest-light dracula","UPDATE post_meta SET meta_value = meta_value + 123 WHERE meta_key = 'views' AND article_id = 456\n","sql","",[39,40,41],"code",{"__ignoreMap":37},[42,43,46,50,54,57,60,64,66,69,73,76,79,81,85,89,92,95,98,100],"span",{"class":44,"line":45},"line",1,[42,47,49],{"class":48},"smiwp","UPDATE",[42,51,53],{"class":52},"s6Vpi"," post_meta ",[42,55,56],{"class":48},"SET",[42,58,59],{"class":52}," meta_value ",[42,61,63],{"class":62},"s9HRq","=",[42,65,59],{"class":52},[42,67,68],{"class":62},"+",[42,70,72],{"class":71},"s3Ipq"," 123",[42,74,75],{"class":48}," WHERE",[42,77,78],{"class":52}," meta_key ",[42,80,63],{"class":62},[42,82,84],{"class":83},"sciFF"," '",[42,86,88],{"class":87},"sJQOs","views",[42,90,91],{"class":83},"'",[42,93,94],{"class":48}," AND",[42,96,97],{"class":52}," article_id ",[42,99,63],{"class":62},[42,101,102],{"class":71}," 456\n",[10,104,105],{},"For every article replacing 123 with Subtext’s view count and 456 with the WordPress article id. As my blog was previously on Blogger.com which doesn’t provide view counts they are a year or so lower than reality.",[17,107,109],{"id":108},"preserving-links","Preserving links",[10,111,112,113,116,117,120,121,124,125,128],{},"I chose a custom permalink format of ",[39,114,115],{},"\u002Fblog\u002F%year%\u002F%monthnum%\u002F%day%\u002F%postname%"," which gives ",[39,118,119],{},"https:\u002F\u002Fdamieng.com\u002Fblog\u002F2007\u002Ffirst-of-october"," for posts. This is similar to the old format of ",[39,122,123],{},"https:\u002F\u002Fdamieng.com\u002Fblog\u002F2007\u002Ffirst-of-october.aspx"," but obviously has the file extension and www dropped. Apache’s ",[39,126,127],{},".htaccess"," file made redirecting the old links a breeze which was important to me as my blog suffered big drops in Technorati and Google when I last moved from Blogger.com to Subtext. The required lines to achieve this, redirect \u002Fblog\u002F and keep the RSS going were:",[32,130,135],{"className":131,"code":133,"language":134},[132],"language-text","RedirectMatch permanent ^\u002Fblog\u002Farchive\u002F(.*).aspx$ \u002F\u002Fdamieng.com\u002Fblog\u002F$1\nRedirectMatch permanent ^\u002Fblog\u002F$ \u002F\u002Fdamieng.com\u002F\nRedirectMatch permanent ^\u002Fblog$ \u002F\u002Fdamieng.com\u002F\nRedirectMatch permanent ^\u002Fblog\u002Frss.aspx \u002F\u002Fdamieng.com\u002Ffeed\nRedirectMatch permanent ^\u002Fblog\u002FRss.aspx \u002F\u002Fdamieng.com\u002Ffeed\n","text",[39,136,133],{"__ignoreMap":37},[17,138,140],{"id":139},"editing","Editing",[10,142,143,144,147],{},"The default editor is fast and for the most part okay although it lacks the ability to change from the default paragraph tag to headings, pre-formatted blocks, block-quotes etc. It also very annoyingly tries to be helpful by turning carriage returns into new paragraphs which would be fine if it was clever enough to leave ",[39,145,146],{},"\u003Cpre>"," blocks well alone.",[10,149,150,157,158,163],{},[151,152,156],"a",{"href":153,"rel":154},"https:\u002F\u002Fwww.stevestreeting.com",[155],"nofollow","Steve"," suggested ",[151,159,162],{"href":160,"rel":161},"https:\u002F\u002Fwww.deanlee.cn\u002Fwordpress\u002Ffckeditor-for-wordpress-plugin\u002F",[155],"FCKeditor"," which is very slow at initializing on my machine and also tends to really mess up my HTML :(",[17,165,167],{"id":166},"going-forward","Going forward",[10,169,170,171,176],{},"There are still a number of things I want to do including further deviating from the ",[151,172,175],{"href":173,"rel":174},"https:\u002F\u002Fdeanjrobinson.com\u002Fwordpress\u002Fredoable",[155],"Redoable"," theme. Lightening up the look somewhat perhaps with some soft gradients and alternative typefaces will go a long-way. I’ll also want to do a proper logo at some point as soon as I can decide what it should look like.",[10,178,179,180,157,185,190],{},"Being that WordPress is a higher visibility target ",[151,181,184],{"href":182,"rel":183},"https:\u002F\u002Fwww.phrixus.co.uk",[155],"Phrixus",[151,186,189],{"href":187,"rel":188},"https:\u002F\u002Fwww.michiknows.com\u002F2007\u002F02\u002F12\u002Fwho-else-wants-to-hide-their-wordpress-admin-folder\u002F",[155],"hiding the wp-admin directory"," as an extra level of protection against automated vulnerability\u002Fbrute-force attacks which I shall also try.",[10,192,193,194,199],{},"I need to speak to ",[151,195,198],{"href":196,"rel":197},"https:\u002F\u002Fwww.gringod.com",[155],"GrinGod"," about the download counting mechanism he mentioned too.",[10,201,202],{},"The original Blogger.com content from a year or two ago will be phased out\u002Fremoved as it would appear it dilutes my page rank having almost-identical content elsewhere not to mention messing up traffic stats etc.",[10,204,205],{},[206,207,208],"em",{},"[)amien",[210,211,212],"style",{},"html pre.shiki code .smiwp, html code.shiki .smiwp{--shiki-default:#F85552;--shiki-dark:#FF79C6}html pre.shiki code .s6Vpi, html code.shiki .s6Vpi{--shiki-default:#5C6A72;--shiki-dark:#F8F8F2}html pre.shiki code .s9HRq, html code.shiki .s9HRq{--shiki-default:#F57D26;--shiki-dark:#FF79C6}html pre.shiki code .s3Ipq, html code.shiki .s3Ipq{--shiki-default:#DF69BA;--shiki-dark:#BD93F9}html pre.shiki code .sciFF, html code.shiki .sciFF{--shiki-default:#8DA101;--shiki-dark:#E9F284}html pre.shiki code .sJQOs, html code.shiki .sJQOs{--shiki-default:#8DA101;--shiki-dark:#F1FA8C}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":37,"searchDepth":214,"depth":214,"links":215},2,[216,217,218,219,220],{"id":19,"depth":214,"text":20},{"id":26,"depth":214,"text":27},{"id":108,"depth":214,"text":109},{"id":139,"depth":214,"text":140},{"id":166,"depth":214,"text":167},"Technology","2007-09-04T10:35:34+00:00","[object Object]","md",null,false,{},3,true,"\u002Fblog\u002F2007\u002Fnotes-on-the-move-to-wordpress",{"title":5,"description":12},"blog\u002F2007\u002Fnotes-on-the-move-to-wordpress",[234,235],"Subtext","WordPress","\u002Fblog\u002F2007\u002Fnotes-on-the-move-to-wordpress\u002F",561,"xs9K4CgzNyw76Cw8M9TJukv8jCVDq1Thz7nNQFWPhaI",[240,244,248],{"title":241,"date":242,"url":243},"VTX5000: Part 4 - Communications","2026-05-06T10:19:24.727Z","\u002Fblog\u002F2026\u002Fvtx5000-part-4-comms-routines\u002F",{"title":245,"date":246,"url":247},"VTX5000: Part 3 - Software ROM","2026-04-15T23:00:00.000Z","\u002Fblog\u002F2026\u002Fvtx5000-part-3-software-rom\u002F",{"title":249,"date":250,"url":251},"VTX5000: Part 2 - Hardware","2026-03-30T23:00:00.000Z","\u002Fblog\u002F2026\u002Fprism-vtx5000-part-2\u002F",[],1780900518725]