I have just spent an incredibly frustrating amount of time trying to figure out why I could not get images to display in WordPress. Use of a local server certainly adds to the challenge and complexity of learning about this stuff.
I ultimately realized that the internal link references needed to be like the local URL addresses in the browser. Localhost needs to be explicity spelled out, and also in the reference position for where the root Web server directory resides. Thus, for my local installation, this becomes:
<img alt="This is My Photo" src="http://localhost/wordpress/wp-content/themes/myTheme/images/myPhoto.jpg" />
This change to the relative addressing now has imaging displaying properly.
Author’s Note: I actually decided to commit to a blog on April 27, 2005, and began recording soon thereafter my steps in doing so. Because of work demands and other delays, the actual site was not released until July 18, 2005. To give my ‘Prepare to Blog …’ postings a more contemporaneous feel, I arbitrarily changed posting dates on this series one month forward, which means some aspects of the actual blog were better developed than some of these earlier posts indicate. However, the sequence and the content remain unchanged. A re-factored complete guide will be posted at the conclusion of the ‘Prepare to Blog …’ series, targeted for release about August 18, 2005. mkb
With a local version of the Web site now running, I am beginning the laborious process of setting the overall design, style and template for my Web site. Some of the preliminary decisions I have made:
I also decided to check on whether mkbergman.com was available as a domain name.
Rats! It’s reserved.
Hooray! I was the one who reserved it a couple of years back and had forgotten all about it. (Duh.)
Sheesh, I am getting old ….
Author’s Note: I actually decided to commit to a blog on April 27, 2005, and began recording soon thereafter my steps in doing so. Because of work demands and other delays, the actual site was not released until July 18, 2005. To give my ‘Prepare to Blog …’ postings a more contemporaneous feel, I arbitrarily changed posting dates on this series one month forward, which means some aspects of the actual blog were better developed than some of these earlier posts indicate. However, the sequence and the content remain unchanged. A re-factored complete guide will be posted at the conclusion of the ‘Prepare to Blog …’ series, targeted for release about August 18, 2005. mkb
I have been working off-an-on for the past couple of days to get my WordPress 1.5 WAMP package installed locally. My installation guide has come from Reza Baharin‘s Tutorial: Running a personal website on Apache HTTP server on WinXP is specifically tailored to WordPress.
First, let me say this guide is excellent and without it I’m sure I would still be pulling my hair out. While i did indeed have some installation difficulties, in truth most were self-inflicted and arose from being too impatient, inattentive or careless. But, these frustrations were real and I try to summarize them so that others may not make my same mistakes:
However, despite all of this, at about 8 pm tonight I had a Web server running on my local machine with a local copy of WordPress. Thanks Reza and thanks to all of the WAMP and WordPress developers!
Author’s Note: I actually decided to commit to a blog on April 27, 2005, and began recording soon thereafter my steps in doing so. Because of work demands and other delays, the actual site was not released until July 18, 2005. To give my ‘Prepare to Blog …’ postings a more contemporaneous feel, I arbitrarily changed posting dates on this series one month forward, which means some aspects of the actual blog were better developed than some of these earlier posts indicate. However, the sequence and the content remain unchanged. A re-factored complete guide will be posted at the conclusion of the ‘Prepare to Blog …’ series, targeted for release about August 18, 2005. mkb
Unfortunately, in order to test design and content for my blog-in-waiting, I needed to set up my local machine as a Web server and, therefore, obtain all of the necessary supporting software. Because my selection of WordPress as blog software was open source, all other software components would be open source as well.
Many open source packages go by the acronym LAMP (Linux-Apache-MySQL-PHP/Perl/Python). WordPress falls into this category, but it also has a WAMP configuration (Windows instead of Linux), which is my local machine’s operating system. As a result, I downloaded the WordPress 1.5 WAMP package and prepared to do battle.
Though my employees have set up these environments for years, I had never done so. I consider myself only marginally competent in such matters, and therefore dangerous when around software and standing water simultaneously.
Again, since my intent was to see how a “standard” individual would go about setting up the whole blog environment, I purposely chose not to ask any of my colleagues for help. If I couldn’t find the guidance and references on the Web, I just wouldn’t be able to proceed and do it.
After some searching, my first breakthough in finding an installation guide came from Reza Baharin. Reza’s Tutorial: Running a personal website on Apache HTTP server on WinXP is specifically tailored to WordPress.
I will get the components installed on my machine and then see in the next day or so if I can indeed get it running!
Author’s Note: I actually decided to commit to a blog on April 27, 2005, and began recording soon thereafter my steps in doing so. Because of work demands and other delays, the actual site was not released until July 18, 2005. To give my ‘Prepare to Blog …’ postings a more contemporaneous feel, I arbitrarily changed posting dates on this series one month forward, which means some aspects of the actual blog were better developed than some of these earlier posts indicate. However, the sequence and the content remain unchanged. A re-factored complete guide will be posted at the conclusion of the ‘Prepare to Blog …’ series, targeted for release about August 18, 2005. mkb
I have been doing alot of investigating of various blog software packages, which more generally go under the heading of content management systems (CMS) software. The first criterion I had for choosing an implementation package is that it must be open source, since I am not sure what my longstanding commitment will be to maintaining a blog site and I do not want to make a big financial outlay.
According to a Gilbane report and information on opensourceCMS, there are on the order of 80 open source CMS packages today, out of perhaps a total of 500 CMS packages including those for sale.
I looked at online demos for a number of the packages. (The opensourceCMS has nice online demos for about 40 systems.) The buzz around WordPress, however, was particularly strong. I was very much impressed with a rolling set of WordPress templates from a recent competition and really thought the ease of adding plugins and the number available would meet my near-term needs.
Though I could have done a more detailed comparison, which is my normal style, my approach in this instance was to act more like a “standard” new blogger and only do as much investigation as necessary to make a defensible choice. Thus, WordPress, here we come!
Author’s Note: I actually decided to commit to a blog on April 27, 2005, and began recording soon thereafter my steps in doing so. Because of work demands and other delays, the actual site was not released until July 18, 2005. To give my ‘Prepare to Blog …’ postings a more contemporaneous feel, I arbitrarily changed posting dates on this series one month forward, which means some aspects of the actual blog were better developed than some of these earlier posts indicate. However, the sequence and the content remain unchanged. A re-factored complete guide will be posted at the conclusion of the ‘Prepare to Blog …’ series, targeted for release about August 18, 2005. mkb