Sig. Feigen Home PageSig. Feigen NewsfeedSig. Feigen per E-MailSig. Feigen beliebtesten Beiträge
Signifikanten Stellen
Helping you, by helping myself with blogging, browsing, and tech tips Sie helfen, indem sie mich mit Blogging, Browsen, und Tech-Tipps

Converting a Wordpress Blog into a Static Site Converting ein Wordpress Blog in einer statischen Site

July 9th, 2007 · by David Bradley 9. Juli 2007 von David Bradley

WordPress-Logo gestrichen Some time ago, I built a simple little website for Vor einiger Zeit habe ich eine einfache Website zu wenig UK hydroseeding company Großbritannien Anspritzbegrünung Unternehmen CDTS Ltd. Cambridge Direct Tree Seeding convert brownfield and other sites into lush landscaped areas. CDTS Ltd Cambridge Direct Seeding Baum konvertieren Brachflächen und anderen Websites in üppigen Landschaft.

Initially, I suggested to the company that there would be several advantages to running their site as a blog, allowing them to add their own content on an ad hoc basis, and so keep their clients and potential clients up to date with company developments and achievements. Anfangs habe ich vorgeschlagen, das Unternehmen, dass es mehrere Vorteile auf ihrer Seite läuft wie ein Blog, der es ihnen gestattet, ihre eigenen Inhalte in einer Ad-hoc-Basis, und deshalb halten ihre Kunden und potenzielle Kunden auf dem aktuellen Stand der Entwicklungen und Erfolge Werden. As the brief evolved, however, CDTS decided that it wanted a static website, with the option to add new content as and when it was needed, rather than to run the whole site as a blog. Wie entwickelte sich die kurze, aber CDTS beschlossen, dass es wollte eine statische Website, mit der Option zum Hinzufügen neuer Inhalte, wie und wann es nötig war, anstatt zu laufen die ganze Ort wie ein Blog. Trouble was I had built the site as a Wordpress blog with all the attendant plugins, posts, paraphernalia. Schwierigkeiten hatte ich baute der Website wie ein Wordpress Blog mit all den dazugehörigen Plug-ins, Pfosten, Paraphernalia.

So, how to convert a Wordpress blog with half a dozen posts and a couple of Pages into a static site? Ja, wie zum Umwandeln ein Wordpress Blog mit einem halben Dutzend Stellen und ein paar Seiten in eine statische Website? I am sure there are various methods, but the simplest approach was to simply save the whole site to a folder on your hard drive and open it for editing in an old-style html/website editor. Ich bin sicher, es gibt verschiedene Methoden, aber die einfachste Methode bestand darin, speichern Sie einfach die gesamte Site in einen Ordner auf Ihrer Festplatte und öffnen Sie sie für die Bearbeitung in einem alten Stil-html / Website-Editor. Quickest way to do that is simply to browse to the homepage, in this case the Schnellste Weg dies zu tun, ist einfach zu navigieren Sie zu der Homepage, in diesem Fall die hydroseeding site Anspritzbegrünung Website and choose “Save as…” from the File menu, choose a suitable location in My Documents and then open up the site in your html editor. und wählen Sie "Ziel speichern unter…" aus dem Menü "Datei", wählen Sie einen geeigneten Standort in "Eigene Dateien" und öffnen Sie dann die Website in Ihrem HTML-Editor. Multiple file search and replace comes in handy for automatically stripping various chunks of Wordpress code, fixing image locations, and not forgetting to save the CSS file to the site folder too. Mehrere Datei suchen und ersetzen ganz praktisch automatisch Strippen für verschiedene Stücke von WordPress-Code, Befestigen Bild Standorten, und nicht zu vergessen, um die CSS-Datei auf der Website-Ordner zu. Rename the index file as index.html Benennen Sie die Index-Datei als index.html

Next step is to backup the original Wordpress installation, just in case. Nächster Schritt ist die Sicherung der Original-Wordpress-Installation, nur für alle Fälle. Then, fix up the .htaccess file (basically remove the Wordpress section and make .html the default file extension rather than .php for the index file. While you’re there, you might check your canonical domain redirect to make sure you are pointing domain.com with a 301 (permanent) redirect to www.domain.com. Dann, korrigieren Sie die. Htaccess-Datei (im Grunde entfernen, die Wordpress Abschnitt und machen. Html die Standard-Datei-Endung statt. PHP für die Index-Datei. Während schon sind Sie da, Sie können überprüfen Sie die kanonische Domain umleiten, um sicherzustellen, dass Sie sich Zeigegerät domain.com mit einem 301 (dauerhaften) Umleitung zu www.domain.com.

Finally, remove the installed Wordpress files (having remotely backed up) and then upload the “Saved as…” version just edited. Schließlich, entfernen Sie die installierten Wordpress-Dateien (mit Remote-Backup) und dann laden Sie die "Gespeicherte wie…"-Version gerade bearbeitet. A quick scan with Xenu reveals any missing or faulty links. Ein schneller Scan mit Xenu zeigt alle fehlenden oder fehlerhaften Links. So back to the html, couple of quick fixes and another upload of the errant files. Also zurück auf die HTML-, Paar von schnellen Lösungen und ein anderes Upload der fehlerhafte Dateien. Xenu now clean. Xenu jetzt sauber. New site, static-ized. Neue Website, statisch-ten. Done. Getan.

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. Eine Sache möchte ich zu tun mit der Website ist die Verwendung von CSS zu generieren, die grafische Darstellung, so dass ich könnte Schlitz in unterschiedlichen Bilder für die vier-Foto-Galerie an der Spitze jeder Seite, sondern als die Schaffung einer einzigartigen Bild-Header für jede Seite des Standortes. 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. Dies würde erlauben Sie mir zu hacken und ändern Sie die Bilder auf jeder Seite viel einfacher, ohne Feuer bis zu Photoshop und tun eine ganze Reihe von dicing Aufschneiden und. If any SigFig readers can advise on a simple way to do that, I’d love to hear from you. Wenn eine SigFig Leser können beraten über eine vereinfachte Art und Weise zu tun, ich würde gerne von Ihnen hören.

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, Übrigens, Anspritzbegrünung ist die Kunst des Umwandelns eines Brachflächen oder anderen kargen Website in einen üppigen, reichen ökologisch und ästhetisch ansprechendes Umfeld mit einer besonderen Auswahl von Saatgut, fertilizer Dünger and water and spraying the site selectively with appropriate seed mixes. und Wasser und Spritzen der Website selektiv mit den entsprechenden Saatgut-Mischungen. CDTS Ltd were the UK pioneers of the technique and have carried out CDTS Ltd Großbritannien waren die Pioniere der Technik und durchgeführt haben hydroseeding Anspritzbegrünung (or hydraseeding) right across the England and Wales. (oder hydraseeding) quer durch die England und Wales.

10 responses so far ↓ 10 Antworten bisher ↓

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

    For a company website that doesn’t change much that is a good idea. Für eine Unternehmens-Website, die nicht viel ändern, dass es eine gute Idee. 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? Dann natürlich ist es schwieriger zu bekommen bemerkt, auf das Internet und schwieriger zu bauen, eine Gemeinschaft, aber die sind alle Client-Probleme? Gotta give em what they ask for… sigh. Gotta Give em, was sie zu fragen… Seufzer.

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

    A website can still change and evolve without it relying on blogging structure or software. Eine Website kann noch ändern und sich entwickeln, ohne sie unter Berufung auf Blogging-Struktur-oder Software. There is, of course, another alternative to simply making a blog-type site entirely static and that is to Es ist natürlich eine andere Alternative zu einfach, ein Blog-Site völlig statisch und das ist es, use Wordpress as a content management system Verwendung Wordpress als Content-Management-System with a dynamic homepage, but exclude “The Loop” if the client does not wish to have any dynamic posts/comment content. mit einer dynamischen Homepage, aber ausschließen "The Loop", wenn der Client nicht möchten, dass alle dynamischen Stellenzahl / Kommentar Inhalt.

  • David Szpunar David Szpunar // / / Jul 21, 2007 at 4:46 pm 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. Wir sind eigentlich Konvertieren unsere bestehenden Brauch PHP-Website bei der Arbeit in eine "statische" Seite mit WordPress als CMS. Means easier templating, easy to edit pages as needed without special software (Dreamweaver) and without modifying the template. Bedeutet Templating leichter, einfach zu bearbeiten Seiten wie notwendig, ohne spezielle Software (Dreamweaver) und ohne Änderung der Vorlage. 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’sa blog most likely, although we may make the feed available if people want to subscribe to the weekly news that way. Plus, ändern wir die Hauptseite der Woche, und wird wahrscheinlich Nutzung Beiträge für diese Seite, nur die Anzeige der letzten ein-niemand wird jemals wissen, es ist ein Blog wahrscheinlich, auch wenn wir könnten, dass das Futter zur Verfügung, wenn Menschen abonnieren möchten der Wochenschau auf diese Weise.

    The plugins, flexibility, and my familiarity with WordPress already made it a no-brainer as the choice. Die Plugins, Flexibilität, und meine Vertrautheit mit WordPress bereits gemacht, ein no-brainer, wie die Wahl. 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. Es ist schon ein Plugin zu tun fast alles, was wir brauchen, und wenn es nicht schreiben Ich kann einen oder anpassen, und noch eins machen es einfach um die Verbesserung des WordPress-Kern mit neuen Versionen, ohne erneut zu bearbeiten, individuell zugeschnittenen 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. Plus, Sicherheitslücken gefunden und behoben, indem die Gemeinschaft und nicht als benutzerdefinierte Code, den wir haben einige Probleme mit der Sicherheit in der Vergangenheit. Just not enough eyes to cover it all! Einfach nicht genug Augen decken sie alle!

  • David Bradley David Bradley // / / Jul 23, 2007 at 3:24 pm 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. Ja, guten Weg zu gehen, wenn Sie die Verwendung eines CMS und wollen, dass alle der Profis von 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. Wie ich schon sagte, diese spezielle Website ist nun völlig statisch, das heißt keine Sorgen über unsichere plugins, dynamische Seite Generation, oder irgendetwas anderes im Zusammenhang mit WP und CMS kommen. Simple as it is, it does it’s job for the company very well (they tell me) Einfach wie es ist, sie es tut's Angebot für das Unternehmen sehr gut (sie sagen mir)

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

    I suppose it comes down to: update often or not? Ich vermute, es kommt zu: Update häufig oder nicht? 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. Eine statische Website Skala gut und hat weniger Sicherheitslücke, durch die Fläche, aber wenn Ihr Ziel ist es, die Website aktualisiert, mit frischen Informationen ständig (vor allem über mehrere Menschen, die die Webseite pflegen), ein CMS-wert ist der zusätzliche Anstrengungen und Ressourcen.

    I like your post either way; I hadn’t actually thought of converting from WordPress to static before. Ich mag Ihre Post entweder Weg, ich hatte eigentlich nicht gedacht, der Umwandlung von WordPress zu statisch vor. 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. Es ist nicht etwas, was ich werde wahrscheinlich nie tun, aber es ist gut, darüber nachzudenken, was die anderen machen einmal in eine Weile, es stimuliert neue Ideen. Thanks. Danke.

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

    Horses for courses and all that. Pferde für Kurse und so. The guys at CDTS opted not to have the blogging option. Die Jungs im CDTS sich nicht auf die Blog-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. Natürlich, häufig aktualisierten Inhalten und neuen Informationen sind der Lebensnerv der Blogs, aber nicht unbedingt wichtig, dass jeder, will eine Website.

  • David Szpunar David Szpunar // / / Jul 23, 2007 at 4:13 pm 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” Nope… und wenn man sieht wie Sie brauchen neue Informations-und ihn nicht haben, werden Sie schlechter aussehen lassen, als wenn man statische Informationen, die nicht sagen "letzter Beitrag vor drei Jahren" :-) 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! Jetzt können Sie nicht so viel Aufmerksamkeit von Suchmaschinen, usw., da sie kein Zeug wie neu, aber wenn Sie nicht wollen, zu verpflichten, die Mittel, um dem neuesten Stand halten, nicht um eine Website haben Sie aktualisieren! 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. Ich sehe diesen Fehler die ganze Zeit über Standorte, an denen sie nicht wirklich wissen, wie viel Zeit er in Anspruch nehmen würde, um die Website aktualisiert, so dass es ein schlechtes Licht auf sie.

    I think we’re in full agreement. Ich denke, wir sind voll und ganz einverstanden.

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

    I think we most certainly are. Ich denke, dass wir sehr wohl. 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. Aus der Perspektive SEO ist es wert, eine Website, ist frisch, aber wenn die Site # 1 für seine Stichworte auf der Grundlage der geschickten Setup es nicht wirklich wichtig zu viel am Ende.

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

    I am thinking of converting my blog into a website with my own url. Ich denke an das Umwandeln in meinem Blog eine Website mit meinen eigenen url. I have my blog on blogger. Ich habe mein Blog auf Blogger. Is it possible to do the same? Ist es möglich, das Gleiche zu tun?

    Makeda’s last blog post.. Makeda der letzten Blog-Eintrag .. The Single Girls Guide to Valentine’s Day Die Single Girls Guide to Valentineâ € ™ s Day

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

    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. Es ist ganz gewiss - Check out diesem Post und stellen Sie sicher, dass Sie gründlich Forschung Weiterleitungen und andere solche Dinge hier und anderswo gibt es viele Ratschläge und mindestens ein Plugin, um mit dem Prozess. But remember there are no guarantees. Aber nicht vergessen, es gibt keine Garantien.

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

    db

Leave a Comment Schreibe einen Kommentar

Comments are checked for spam before appearing, no need to post it twice. Kommentare werden auf Spam vor Erscheinen, keine Notwendigkeit, ihn zweimal.

Related Posts Verwandte Beiträge