{"id":545,"date":"2008-09-27T01:44:50","date_gmt":"2008-09-26T17:44:50","guid":{"rendered":"http:\/\/www.janleow.com\/life\/?p=545"},"modified":"2008-09-27T01:44:50","modified_gmt":"2008-09-26T17:44:50","slug":"planning-to-tweak-my-website-again","status":"publish","type":"post","link":"https:\/\/www.janleow.com\/life\/planning-to-tweak-my-website-again.html","title":{"rendered":"Planning to tweak my website again"},"content":{"rendered":"<p>I have been thinking about it awhile. With so many disparate SQL database and sub web site scattered around this personal domain of mine, I thought of cleaning it up a bit. After all, most of the incoming web site traffic is to this blog anyway. This might also meant breaking some incoming links. <!--more--><\/p>\n<p>Well that&#8217;s the price to pay for cleaning up the web site. I probably won&#8217;t lose much incoming web site traffic. Those web pages weren&#8217;t bringing much page views anyway. So probably it might be best to merge it into this wordpress blog.<\/p>\n<p>On the one hand I was thinking of shifting those web pages in the root part of the domain to another sub-domain to make the topic stick together. Then again may be not. Still mulling around and trying to figure out what would be the best way.<\/p>\n<p>It&#8217;s quite fun and interesting to make your own web site, but the hacking and tweaking part really takes up a fair amount of time. I guess as a hobby it&#8217;s what I do. I use to dismantle and reassemble my old Pentium III PC, re-partitioning the hard disk to install the various O\/S like Linux, MS-DOS, BEoS, Windows 98SE, etc. and multi-boot them. And when I mentioned it to a friend, he said he would &#8220;pengsan&#8221; (faint) at the way I&#8217;m making the PC so complicated! LOL!<\/p>\n<p>Well, looks like I&#8217;m doing it again with my own personal web site. I have installed, uninstalled and reinstalled the various MySQL software provided by Fantastico De-Luxe and Simple Scripts. If I dismantle my root installation, I&#8217;m sure some of the internal links would break. It might take me awhile to find out where the broken links are and fix them too.<\/p>\n<p>Having used WordPress for so long, I think the Drupal installation was not as good as I thought it would. The upgrade was rather unstable, and any modification to the templates would be lost with every update. Not to mention some features would disappear as well.<\/p>\n<p>So I just need to think about how I should go about it. I think I&#8217;ll sleep it over for the next few days and decide when to do it. As the process would be quite tedious I&#8217;m kind of apprehensive to kill the drupal installation and manually move the content. Oh well\u2026<\/p>\n<p><center><script type=\"text\/javascript\"><!--\ngoogle_ad_client = \"pub-5685769204706262\";\ngoogle_alternate_color = \"eeeecc\";\ngoogle_ad_width = 336;\ngoogle_ad_height = 280;\ngoogle_ad_format = \"336x280_as\";\ngoogle_ad_type = \"text\";\n\/\/2007-08-06: JanLeow.com Blogs (Content)\ngoogle_ad_channel = \"5832813811\";\ngoogle_color_border = \"FFFFFF\";\ngoogle_color_bg = \"FFFFFF\";\ngoogle_color_link = \"CC0000\";\ngoogle_color_text = \"000000\";\ngoogle_color_url = \"808080\";\ngoogle_ui_features = \"rc:0\";\n\/\/--><\/script><br \/>\n<script type=\"text\/javascript\"\n  src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\n<\/script><br \/>\n<\/center><br clear=\"all\"><\/p>\n<hr>\n<p>update: 29-Sep-2008<\/p>\n<p>Finally, it&#8217;s done! It&#8217;s quite an arduous task shifting the post one by one to this wordpress websites. I had to make sure the redirect points to the correct url and have to make sure the internal links are correct as well. No doubt I might have one or two broken links within the site which I may never discover. Hopefully it won&#8217;t be too serious.<\/p>\n<p>I tested two types of redirection, one using PHP and another using JavaScript provided by Ryan. PHP was fast when it made its redirection but it tended to make more cpu load on the hosting server. In addition the web page must be in PHP code. Fortunately Drupal could handle PHP code within its posting.<\/p>\n<p>As for JavaScript, it was a bit slow, with the page loading halfway before being redirected. JavaScript processing is done on the user side rather than at the server side, thus the delay in its redirection. It has the advantage of working on most cms software page posting that allowed HTML coding.<\/p>\n<p>Now I just need to wait perhaps for a month or so to get the new pages listed in google before I delete my drupal installation and set up a new front web page which I would probably just use basic HTML to construct.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have been thinking about it awhile. With so many disparate SQL database and sub web site scattered around this personal domain of mine, I thought of cleaning it up a bit. After all, most of the incoming web site traffic is to this blog anyway. This might also meant breaking some incoming links.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[14],"tags":[160,162],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p1bS5F-8N","jetpack-related-posts":[{"id":1107,"url":"https:\/\/www.janleow.com\/life\/are-you-wasting-time-blogging.html","url_meta":{"origin":545,"position":0},"title":"Are you wasting time blogging?","author":"Jan","date":"5 June 2009","format":false,"excerpt":"Do you make your own web site or make a blogging web site? What is the purpose of blogging anyway? There is a difference between blogging and building a web site. Blogging is linear, it has no structure while a web site has a pyramid form where people can navigate\u2026","rel":"","context":"In &quot;Biz&quot;","block_context":{"text":"Biz","link":"https:\/\/www.janleow.com\/life\/category\/biz"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":654,"url":"https:\/\/www.janleow.com\/life\/make-your-own-web-site-initial.html","url_meta":{"origin":545,"position":1},"title":"Getting started to make your own web site","author":"Jan","date":"2 January 2007","format":false,"excerpt":"So what do you need to make your own web site? To start your own website you will need: Web Hosting company A domain name That's it! It sounds simple, but there are various considerations when deciding on each item. It all depends on what you want to do. Before\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1348,"url":"https:\/\/www.janleow.com\/life\/make-your-own-web-site-getting-started.html","url_meta":{"origin":545,"position":2},"title":"Make Your Own Web Site &#8211; Getting Started","author":"Jan","date":"31 March 2009","format":false,"excerpt":"When you make your own web site, they consist of two things: A domain name A web hosting company The above two need to work together to create your web site, they are both separate though it may look as though it is one single entity but actually they are\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3118,"url":"https:\/\/www.janleow.com\/life\/has-panda-update-caused-your-website-traffic-to-reduce.html","url_meta":{"origin":545,"position":3},"title":"Has Panda update caused your website traffic to reduce?","author":"Jan","date":"8 September 2011","format":false,"excerpt":"When Panda update announcement first came about early this year 2011, it has cause a number of websites traffic to reduce. The update was meant to weed out questionable web sites that are spewing out useless fluff in the internet as well as weed out web spammers. However the algorithm\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3103,"url":"https:\/\/www.janleow.com\/life\/domain-name-with-without-www-prefix.html","url_meta":{"origin":545,"position":4},"title":"To use or not to use WWW before your domain name","author":"Jan","date":"18 August 2011","format":false,"excerpt":"It seems the www. prefix to your domain name is actually a subdomain. When internet first started, and website were being created, www prefix would refer to a website as being a World Wide Web, probably trying to differentiate from the intranet website I suppose. However, due to frequent usage,\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1230,"url":"https:\/\/www.janleow.com\/life\/remove-and-get-rid-of-feedproxy-in-feedburner.html","url_meta":{"origin":545,"position":5},"title":"Remove and Get Rid of Feedproxy in Feedburner","author":"Jan","date":"28 January 2010","format":false,"excerpt":"I noticed that some of my RSS feeds from Feedburner have the feedproxy.google.com domain and a long squiggly URL. I would like to remove and get rid of the feedproxy in my feedburner feeds and would much prefer to have the URL with my own domain and the webpage URL\u2026","rel":"","context":"In &quot;Website&quot;","block_context":{"text":"Website","link":"https:\/\/www.janleow.com\/life\/category\/website"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.janleow.com\/imgs\/wp\/feedproxy-getrid.png?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/545"}],"collection":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/comments?post=545"}],"version-history":[{"count":0,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/posts\/545\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/media?parent=545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/categories?post=545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.janleow.com\/life\/wp-json\/wp\/v2\/tags?post=545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}