Converting a Wordpress Blog into a Static Site 정적 사이트를 블로그로 변환하는 wordpress
July 9th, 2007 · by David Bradley 2007년 7월 9일로 데이비드 브래들리
Some time ago, I built a simple little website for 약간의 시간 전, 나는 단순한 작은 웹 사이트를 구축 UK hydroseeding company 영국 hydroseeding 회사 CDTS Ltd. Cambridge Direct Tree Seeding convert brownfield and other sites into lush landscaped areas. 케임 브리지 cdts 회사와 다른 사이트를 직접 무성한 나무 시드 brownfield 풍경 분야로 변환합니다.
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. 처음에, 전 회사에 제안을 실행하면 몇 가지 장점이 있었다면 자신의 사이트로 블로그를 자신의 콘텐츠를 추가할 수 있도록 그들을 특별한 근거, 그리고 계속 그들의 고객과 잠재 고객과 회사 발전과 업적을 최신 합니다. 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. 간략한으로 발전, 그러나, cdts라는 결정을하게 원하는 웹사이트의 정적으로 새로운 컨텐츠를 추가할 수있는 옵션이 필요로하고 때 아닌 전체 사이트로 블로그를 실행합니다. Trouble was I had built the site as a Wordpress blog with all the attendant plugins, posts, paraphernalia. 문제는이 사이트를 구축 나는 블로그를 wordpress의 모든 수행자 플러그인, 게시물, 도구를합니다.
So, how to convert a Wordpress blog with half a dozen posts and a couple of Pages into a static site? 그래서, wordpress 블로그를 절반으로 변환하는 방법과 몇 페이지를 한 12 명의 게시물의 정적 사이트를? 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. 전 확신에 해당하는 이미 다양한 방법을 동원,하지만 단순한 접근 방식은 간단하게 저장하고 전체 사이트를 방문하여 귀하의 하드 드라이브에있는 폴더를 열어 편집을 위해 오래된 - 스타일 html / 웹사이트에 편집기를합니다. Quickest way to do that is simply to browse to the homepage, in this case the 빠른 방법은 간단하게 홈페이지를 찾아,이 경우에는 hydroseeding site 사이트를 hydroseeding 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. 를 선택하고 "다른 이름으로 저장…"의 파일 메뉴를 선택하고 다음을 적당한 위치에 내 문서를 열 수있는 사이트에 귀하의 에디터합니다. 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. 여러 개의 파일 찾기 및 바꾸기 유용 다양한 덩어리를 자동으로 삭제 wordpress 코드, 고정 이미지의 위치가 아닌 파일을 잊고 전투 근무 지원 사이트 폴더에 저장도합니다. Rename the index file as index.html index.html로 인덱스 파일의 이름을 바꿉니다
Next step is to backup the original Wordpress installation, just in case. 다음 단계는 백업의 원래 wordpress 설치, 만일의 경우를합니다. 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. 그리고, 수정을합니다. htaccess 파일 (기본적으로 wordpress 섹션을 제거하고 예약을합니다. html의 기본 파일 확장자가 아닌. php의 색인 파일을합니다.하면서 당신 거기, 당신이 당신의 정식 도메인에 체크되어 있는지 확인 포인팅로 리디렉션 domain.com로 301 (영구) 리디렉션 www.domain.com합니다.
Finally, remove the installed Wordpress files (having remotely backed up) and then upload the “Saved as…” version just edited. 마지막으로, 설치를 제거합니다 wordpress 파일 (데 원격 백업) 한 후 다시 업로드하고 "로 저장…"버전 단지 편집합니다. A quick scan with Xenu reveals any missing or faulty links. 빠른 스캔을 밝혀 모든 누락되거나 결함이 링크가 xenu합니다. So back to the html, couple of quick fixes and another upload of the errant files. 그래서 위로 html, 커플의 빠른 수정 프로그램과 또 다른 잘못된 파일을 업로드합니다. Xenu now clean. 지금 xenu 청소합니다. New site, static-ized. 새 사이트, 정적 - ized합니다. Done. done.
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. 하나 싶습니다 무슨 상관이있는 사이트는 전투 근무 지원을 생성하는 그래픽 디스플레이를 사용 할 수 있도록 구멍을 서로 다른 4 개의 - 포토 갤러리의 사진을 각 페이지의 상단보다는 이미지를 만들어 각 페이지의 고유 헤더 의 사이트. 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. 절단과 변화를 보여주지가 각 페이지에 이미지를 점화하지 않고도 훨씬 더 쉽게 photoshop하고 아주 많은 슬라이스와 다이싱합니다. If any SigFig readers can advise on a simple way to do that, I’d love to hear from you. sigfig있는 경우를 읽을 수있습니다하는 간단한 방법으로 조언을 할 수있어, 난 여러분의 의견을 환영합니다.
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, 그런데, hydroseeding는 예술 brownfield 또는 기타 불모의 사이트로 변환하는 무성한, 환경 보호를 사용하는 환경을 풍부하고 특별 전형을 기쁘게 esthetically 종자, 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 cdts. LTD는 영국의 개척자의 기술과가 실시 hydroseeding (or hydraseeding) right across the England and Wales. (또는 hydraseeding) 잉글랜드와 웨일즈의 오른쪽 건너합니다.






















10 responses so far ↓ 응답을 지금까지 10 ↓
jeremy 제레미 // / / Jul 11, 2007 at 12:02 am 2007년 7월 11일에서 오전 12시 2분
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 2007년 7월 11일에서 오전 7시 14분
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 콘텐츠 관리 시스템을 사용 wordpress with a dynamic homepage, but exclude “The Loop” if the client does not wish to have any dynamic posts/comment content. 를 동적 홈페이지, 그러나 제외 "루프"만일 고객이 어떤 동적 게시물을하고자하지 않습니다 / 코멘트 콘텐츠를합니다.
David Szpunar 데이비드 szpunar // / / Jul 21, 2007 at 4:46 pm 2007년 7월 21일에서 오후 4시 46분
We’re actually converting our existing custom-PHP website at work into a “static” site with WordPress as the CMS. 우리는 진짜로 변환 기존의 사용자 정의 - php 웹사이트에 직장에서 우리를 "정적"사이트를 cms wordpress로합니다. Means easier templating, easy to edit pages as needed without special software (Dreamweaver) and without modifying the template. 의미 쉽게 템플릿, 천천히 페이지를 수정하지 않고 필요에 따라 특수 소프트웨어 (Dreamweaver의)과 서식 파일을 수정하지 않고있습니다. 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. 또한, 우리가 메인 페이지를 변경 주간, 그리고 전망이 페이지에 대한 게시물을 사용, 그냥 표시하는 가장 최근의 한 - 아무도 모를 이것 블로그 대부분의 경우에, 우리를 제출할 수있습니다 피드를 사용할 수 있지만 서비스를 신청하려면 국민이 원하는 경우 주간 뉴스 그런식으로합니다.
The plugins, flexibility, and my familiarity with WordPress already made it a no-brainer as the choice. 플러그인, 유연성, 그리고 내 지식도없는 - 생각할로 wordpress 이미 그것의 선택합니다. 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. 이 플러그인을 이미 거의 모든 우리가 필요로하고이 없을 경우 중 하나 또는 주문을 받아서 쓸 수있습니다 하나, 나는 아직도 wordpress 코어를 쉽게 새 버전으로 업그레이 드합니다 - 편집하여 사용자 정의 코드를 다시하지 않고도합니다.
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 2007년 7월 23일에서 오후 3시 24분
Yeah, good way to go if you need to use a CMS and want all the pros of Wordpress. 예, 좋은 방법을 사용하는 이동이 필요한 경우, 원하는 cms 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. 말했듯이,이 특정 사이트가 이제 완전히 정적, 즉 불안에 대해 걱정하지 마 플러그인, 동적 페이지 생성, 또는 다른 관련하여 백린 및 cms 그렇게합니다. Simple as it is, it does it’s job for the company very well (they tell me) 간단한 일이 기는하지만, 그것은 그것은 회사를 위해 일을 아주 잘 (그들은 나에게)
David Szpunar 데이비드 szpunar // / / Jul 23, 2007 at 3:30 pm 2007년 7월 23일에서 오후 3시 반
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. 음, 그리고는 적은 규모의 정적 사이트는 보안 취약점을 표면적, 그러나 만약 당신의 목표는 사이트를 업데이 트와 신선한 상태로 유지하려면 정보를 지속적으로 (특히 여러 사람들이이 사이트를 유지), cms 가치가있다는 여분의 노력과 자원합니다.
I like your post either way; I hadn’t actually thought of converting from WordPress to static before. 포스트가 마음에 드는 어느 쪽이든, 난 변환 없었 wordpress를 고정하기 전에 사실은 생각을하게합니다. 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. thanks.
David Bradley 데이비드 브래들리 // / / Jul 23, 2007 at 4:08 pm 2007년 7월 23일에서 오후 4시 8분
Horses for courses and all that. 에 대한 교육 과정과 모든 것을 말합니다. The guys at CDTS opted not to have the blogging option. 을하는 사람이 블로그에 cdts 옵션을 선택합니다. 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 데이비드 szpunar // / / Jul 23, 2007 at 4:13 pm 2007년 7월 23일에서 오후 4시 13분
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” 아니요… 그리고 새로운 정보가 필요하고있는 것처럼 보이게하는 경우이없는 데요, 당신보다 더 나빠 보일 경우 말을하지 않는 정적 정보를 세워놓 "마지막 포스트가 3 년전에"
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 2007년 7월 23일에서 오후 5시 59분
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. 관점에서 가치가있다는 데 서에 해당하는 사이트는 신선하고하지만 만약이 사이트는 # 1의 키워드를 숙련을 기준으로별로 중요하지 않습니다을 너무 많이 설치 프로그램을 종료합니다.
Makeda makeda // / / Feb 6, 2008 at 2:59 pm 2008년 2월 6일에서 오후 2시 59분
I am thinking of converting my blog into a website with my own url. 내 블로그에 내가 생각하는 웹사이트로의 변환 나의 자신의 url합니다. I have my blog on blogger. 내 블로그를 블로그합니다. Is it possible to do the same? 같은 행동을 할 수 있나요?
Makeda’s last blog post.. makeda의 마지막 블로그 게시물 .. The Single Girls Guide to Valentine’s Day 단일 소녀 가이드를 valentineâ € ™의 날
David Bradley 데이비드 브래들리 // / / Feb 6, 2008 at 3:14 pm 2008년 2월 6일에서 오후 3시 14분
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 dB
Leave a Comment 코멘트를 남겨주세요