<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[KBoard 댓글이 안써집니다.]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/23334</link>
		<description><![CDATA[<p><strong>Warning</strong>: require(/home/kjhsygh/html/wordpress/wordpress/wp-blog-header.php): failed to open stream: No such file or directory in <strong>/home/kjhsygh/html/wordpress/index.php</strong> on line <strong>17</strong><br />
<br />
<strong>Warning</strong>: require(/home/kjhsygh/html/wordpress/wordpress/wp-blog-header.php): failed to open stream: No such file or directory in <strong>/home/kjhsygh/html/wordpress/index.php</strong> on line <strong>17</strong><br />
<br />
<strong>Fatal error</strong>: require(): Failed opening required '/home/kjhsygh/html/wordpress/wordpress/wp-blog-header.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in <strong>/home/kjhsygh/html/wordpress/index.php</strong> on line <strong>17</strong></p>

<p>게시판에 있는 글에 댓글을 쓰는 창에 댓글을 쓰고 입력을 누르면 위와 같은 오류가 납니다..</p>

<p>워드프레스 주소: <a href="http://www.community7.co.kr/wordpress" target="_blank">www.community7.co.kr/wordpress</a></p>

<p>사이트 주소: <a href="http://www.community7.co.kr/" target="_blank">www.community7.co.kr</a></p>

<p>이렇게 설정되어 있고</p>

<p>filezilla에서 /html/wordpress 가 실제 wordpress가 설치되어있는 장소입니다.</p>

<p>index.php와 .htaccess 파일은  /html , /html/wordpress 두 곳에 각각 존재하고</p>

<p>index.php파일 내용은 두 곳 동일하고 맨 아래 부분만</p>

<p>/** Loads the WordPress Environment and Template */<br />
require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' ); 이렇게 변경했습니다.</p>

<p>.htaccess 파일은 /html/wordpress 에 있는 파일은</p>

<p># BEGIN WordPress</p>

<p># END WordPress   이게 다 입니다.</p>

<p>/html에 있는 파일은</p>

<p><br />
# BEGIN WordPress<br />
&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine On<br />
RewriteBase /<br />
RewriteRule ^index\.php$ - [L]<br />
RewriteCond %{REQUEST_FILENAME} !-f<br />
RewriteCond %{REQUEST_FILENAME} !-d<br />
RewriteRule . /index.php [L]<br />
&lt;/IfModule&gt;</p>

<p># END WordPress</p>

<p>이렇게 되있습니다.</p>

<p>전에 질문을 드렸지만 해결방법도 알려주셨는데 제가 .htaccess와 index.php 수정 방법을 검색해도 잘 모르겠어서</p>

<p>다시 질문드립니다. ㅠ</p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[감사합니다! 덕분에 해결됐습니다! ( _ _ ) 꾸벅]]></title>
			<link>https://www.cosmosfarm.com/threads/document/23388</link>
			<description><![CDATA[<p>감사합니다! 덕분에 해결됐습니다! ( _ _ ) 꾸벅</p>]]></description>
			<author>kjhsygh</author>
			<pubDate>Tue, 12 Jun 2018 14:10:37 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

정확히는 저희도 서버 접속해서 테스트를 해봐야만 알 수 있습니다.

그럴 경우 유료 기...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/23338</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>정확히는 저희도 서버 접속해서 테스트를 해봐야만 알 수 있습니다.</p>

<p>그럴 경우 유료 기술지원을 요청해주셔야 합니다.</p>

<p> </p>

<p>우선 /html/index.php 파일은 아래 처럼</p>

<pre>
<code class="language-php">require( dirname( __FILE__ ) . '/wordpress/wp-blog-header.php' );</code></pre>

<p> </p>

<p>그리고 /html/wordpress/index.php 파일은 아래 처럼 수정을 해보시겠어요?</p>

<pre>
<code class="language-php">require( dirname( __FILE__ ) . '/wp-blog-header.php' );</code></pre>

<p> </p>

<p>그리고 .htaccess 와 index.php 수정 방법이라는 것은 딱 정해진 것은 없습니다.</p>

<p>상황에 맞게 이런저런 시도를 해봐서 정상 동작되면 그것이 방법이 되는 것입니다.</p>

<p>우선 위 내용대로 해보시겠어요?</p>

<p> </p>

<p>가장 깔끔한 방법은 워드프레스를 다시 설치하는 것입니다.</p>

<p>wordpress 폴더를 제거하고 /html/index.php 이런 형식으로 다시 설치하는 거죠.</p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Mon, 11 Jun 2018 14:34:22 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>