sciencetext 팁 & 트릭
Blogging tips, browsing tricks and computing hacks 블로그 팁, 브라우징 트릭과 컴퓨팅 hacks

Blogger to Hosted Wordpress 블로그를 호스팅하는 wordpress

February 2nd, 2007 · by David Bradley 2007년 2월 2일로 데이비드 브래들리

As readers will hopefully have realised by now, Significant Figures was formerly a Blogspot blog and is now part of the new ScienceText.com site. 독자들은이 경지로 아마 지금까지 중요한 인물이였던 블로그와 블로그는 현재 일부 사이트의 새로운 sciencetext.com합니다. We’ve had a few teething troubles with redirects and missing themes, and broken links and the like that I’ve mashed out in these pages over the last couple of days in the form of hopefully generally useful Tips&Tricks for others in a similar predicament. 우리가 문제를 해결한 몇 리디렉션 및 누락 테마를, 그리고 깨진 링크과 같은 그런 것 으깬 다음 페이지에서 지난 2 ~ 3 일 이상의 형태로 일반적으로 유용한 팁 & 트릭에 대한 희망이 다른 사람과 유사한 처지는합니다. Well, the latest, and hopefully last thing to iron out was the old references in the search engines and elsewhere to specific posts from the archives. 글쎄요, 최신, 그리고 아마 마지막으로 행동을 철에있는 검색 엔진을 참조 아웃은 이전과 다른 기록 보관소를 특정 게시물을합니다.

As the new blog architecture renders URLs with the postname.html in the root of the domain eg www.sciencetext.com/this-post-here.html there were numerous links from the old Blogger archives that were trying to open www.sciencetext.com/2006/11/this-post-here.html. 새 블로그로의 URL을 건축 렌더링 도메인의 루트에 postname.html 예를 들어 www.sciencetext.com /이 - 포스트 - here.html가 다수의 링크를 통해 오래된 블로그 아카이브가 www.sciencetext 열려고합니다. com/2006/11/this-post-here.html합니다. This was producing a preponderance of 404 missing page error messages. 이것은 물질을 만들고 404 누락된 페이지에서 오류 메시지가 우세합니다.

The fix involves opening the root .htaccess file and adding the following code. 개방의 루트하여 수정 프로그램을 포함합니다. htaccess 파일과 다음과 같은 코드를 추가합니다. This does a rewrite on the incoming URL and strips out any sub-folder structures (with numbers), adds the .html to the end and then opens the page as if it were in the root folder as it should url이되지가있는 재작성 및 지구 밖에서 들어오는 모든 서브 - 폴더 구조 (숫자), 추가합니다. html을 종료하고 다음 페이지로를 엽니다로의 루트 폴더에이라면 그것은

<IfModule mod_rewrite.c> mod_rewrite.c> <ifmodule
RewriteEngine On 위에 RewriteEngine에
RewriteBase / rewritebase /
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([^/]+).html$ $3\.html [QSA,R,L] rewriterule ^ ([0-9] (4 })/([ 0-9] (1,2 })/([^/]+). html $ $ 3 \. html [학습, 연구, 난]
</IfModule> </ ifmodule>

I figured this out with the help of the 의 도움으로이 상황을 짐작 Wordpress forum wordpress 공개 토론 , but it required some tweaking of Otto42’s solution on that page to get it work just right. ,하지만 otto42의 솔루션이 필요합니다 꼬집기 페이지에있는 일부를 바로 작동합니다.

If you have a similar problem moving an old blog to new hosting with posts in a different folder then you should be able to adapt this piece of code to work for you. 유사한 문제가있는 경우 기존 블로그를 새로운 호스팅으로 이동하는 게시물을 다른 폴더에 그렇다면이 작품에 적응 할 수 있어야한다 코드를 당신을 위해 일한다. If there are letters in the folder names as well as numbers, then you need to add [AZ][az] to encompass those in the script. 폴더 이름에 글자가있는 경우 숫자뿐만 아니라 다음에 추가해야 [아리조나] [아리조나]을 발산하는 이들의 스크립트합니다.

1 response so far ↓ 지금까지 한 응답 ↓

Leave a Comment 코멘트를 남겨주세요

Comments are checked for spam before appearing, no need to post it twice. 코멘트가 게재되기 전에 스팸 메일을 확인,이 두 차례에 게시 필요가없습니다.

Related Posts 관련 기사