Sig de Homepage van Fig. Sig Fig. Newsfeed Sig Fig. per E-mail Sig Fig. de Meeste Populaire Posten
Significante Cijfers
Het helpen van u, door met het blogging, het doorbladeren, en technologieuiteinden te helpen

Het omzetten van een Wordpress Blog in een Statische Plaats

9 juli, 2007 · door David Bradley

wordpress geschrapt embleemEen tijdje geleden, bouwde ik een eenvoudige kleine website voor Brits hydroseeding bedrijf CDTS Ltd. Zet Zaaien van de Boom van Cambridge het Directe brownfield en andere plaatsen in sterke drank gemodelleerde gebieden om.

Aanvankelijk, stelde ik aan het bedrijf voor dat er verscheidene voordelen aan het runnen van hun plaats als blog zou zijn, die hen toestaat om hun eigen inhoud op toe te voegen ad hoc de basis, en houdt zo hun cliënten en potentiële cliënten met bedrijfontwikkelingen en verwezenlijkingen bijgewerkt. Als korte geëvolueerde, echter, besloot CDTS dat het een statische website wilde, met de optie om nieuwe inhoud toe te voegen als en wanneer het, eerder dan werd vereist om de gehele plaats als blog in werking te stellen. Het probleem was ik had gebouwd de plaats als Wordpress blog met al begeleidend plugins, posten, gerei.

Zo hoe te om een Wordpress blog met een half dozijn posten en een paar Pagina's in een statische plaats om te zetten? Ik ben zeker er diverse methodes zijn, maar de eenvoudigste benadering was de gehele plaats eenvoudig te bewaren aan een omslag op uw harde aandrijving en het te openen voor het uitgeven in een ouderwetse HTML/websiteredacteur. Snelste manier te doen die eenvoudig aan de homepage te doorbladeren is, in dit geval hydroseeding plaats en kies „tenzij…“ van het menu van het Dossier, kies een geschikte plaats in Mijn Documenten en stel dan de plaats in uw HTMLredacteur open. Het veelvoudige dossieronderzoek en vervangt komt in handig om van diverse brokken van code automatisch te ontdoen Wordpress, beeldplaatsen te bevestigen, en te vergeten niet om het CSS dossier aan de plaatsomslag ook op te slaan. Noem het indexdossier als index.html anders

De volgende stap is aan steun de originele installatie Wordpress, enkel voor het geval dat. Dan, moeilijke situatie omhoog het.htaccess- dossier (verwijder fundamenteel de sectie Wordpress en maak tot .html de standaarddossieruitbreiding eerder dan .php voor het indexdossier. Terwijl u daar bent, zou u kunnen controleren uw canoniek domein om opnieuw richt ervoor te zorgen u domain.com met 301 (permanent) opnieuw richt aan www.domain.com richt.

Tot slot verwijder de geïnstalleerdeb dossiers Wordpress die (ver hebben gesteund) en upload dan „Gespaard zoals…“ enkel uitgegeven versie. Een snel aftasten met Xenu openbaart om het even welke het missen of defecte verbindingen. Zo terug naar HTML, uploaden het paar van snelle moeilijke situaties en een andere van de dolende dossiers. Nu schone Xenu. De nieuwe plaats, statisch-ized. Gedaan.

One thing I would like to do with the site is to use CSS to generate the graphical display so that I could slot in different photos for the four-photo gallery at the top of each page, rather than creating a unique header image for each page of the site. That would allow me to chop and change images on each page much more easily without having to fire up Photoshop and do a whole lot of slicing and dicing. If any SigFig readers can advise on a simple way to do that, I’d love to hear from you.

By the way, hydroseeding is the art of converting a brownfield or other barren site into a lush, ecologically rich and esthetically pleasing environment using a special selection of seeds, fertilizer and water and spraying the site selectively with appropriate seed mixes. CDTS Ltd were the UK pioneers of the technique and have carried out hydroseeding (or hydraseeding) right across the England and Wales.

10 responses so far ↓

  • jeremy // Jul 11, 2007 at 12:02 am

    For a company website that doesn’t change much that is a good idea. Then of course it’s harder to get noticed on the web, and harder to build a community, but those are all client problems right? Gotta give em what they ask for… sigh.

  • David Bradley // Jul 11, 2007 at 7:14 am

    A website can still change and evolve without it relying on blogging structure or software. There is, of course, another alternative to simply making a blog-type site entirely static and that is to use Wordpress as a content management system with a dynamic homepage, but exclude “The Loop” if the client does not wish to have any dynamic posts/comment content.

  • David Szpunar // Jul 21, 2007 at 4:46 pm

    We’re actually converting our existing custom-PHP website at work into a “static” site with WordPress as the CMS. Means easier templating, easy to edit pages as needed without special software (Dreamweaver) and without modifying the template. Plus, we change the main page weekly, and will likely use Posts for this page, just displaying the most recent one–no one will ever know it’s a blog most likely, although we may make the feed available if people want to subscribe to the weekly news that way.

    The plugins, flexibility, and my familiarity with WordPress already made it a no-brainer as the choice. There’s already a plugin to do almost everything we need, and if there isn’t I can write one or customize one and still make it easy to upgrade the WordPress core with new versions without having to re-edit the customized code.

    Plus, security holes are found and fixed the by community, rather than custom code which we’ve had some security problems with in the past. Just not enough eyes to cover it all!

  • David Bradley // Jul 23, 2007 at 3:24 pm

    Yeah, good way to go if you need to use a CMS and want all the pros of Wordpress. Like I said, this particular site is now entirely static, which means no worries about insecure plugins, dynamic page generation, or anything else related to WP and CMS come to that. Simple as it is, it does it’s job for the company very well (they tell me)

  • David Szpunar // Jul 23, 2007 at 3:30 pm

    I suppose it comes down to: update often or not? A static site will scale well and has less security vulnerability surface area, but if your goal is to keep the site updated with fresh information continually (especially across multiple people maintaining the site), a CMS is worth the extra effort and resources.

    I like your post either way; I hadn’t actually thought of converting from WordPress to static before. It’s not something I’ll likely ever do, but it’s good to think about what others are doing once in a while; it stimulates new ideas. Thanks.

  • David Bradley // Jul 23, 2007 at 4:08 pm

    Horses for courses and all that. The guys at CDTS opted not to have the blogging option. Of course, frequently updated content and new information are the lifeblood of blogs , but are not necessarily that important to everyone who wants a website.

  • David Szpunar // Jul 23, 2007 at 4:13 pm

    Nope…and if you look like you need new information and don’t have it, you’ll look worse than if you put up static information that doesn’t say “last post three years ago” :-) Now, you may not get as much attention from search engines, etc. since they do like new stuff, but if you don’t want to commit the resources to stay updated, don’t make a site you have to update! I see this mistake all the time on sites where they didn’t really know how much time it would take to keep the site updated so it reflects poorly on them.

    I think we’re in full agreement.

  • David Bradley // Jul 23, 2007 at 5:59 pm

    I think we most certainly are. From the SEO perspective it is worth having a site that is fresh, but if the site is #1 for its keywords on the basis of skillful setup it doesn’t really matter too much in the end.

  • Makeda // Feb 6, 2008 at 2:59 pm

    I am thinking of converting my blog into a website with my own url. I have my blog on blogger. Is it possible to do the same?

    Makeda’s last blog post..The Single Girls Guide to Valentine’s Day

  • David Bradley // Feb 6, 2008 at 3:14 pm

    It most certainly is - check out this post and make sure you thoroughly research redirects and other such matters here and elsewhere there is lots of advice and at least one plugin to help with the process. But remember there are no guarantees.

    http://www.sciencetext.com/blogger-custom-domain.html

    db

Leave a Comment

Comments are checked for spam before appearing, no need to post it twice.

Related Posts