2014-12-06 3 views
0

내 호스트에서 내 Wordpress 사이트 중 하나에 문제가 있습니다.한 호스트에서 여러 개의 WordPress 사이트

Today I installed "Traffic Stats Widget" - plugin and I followed their instructions for installation. So , I did this: 

Create a robots.php file on the root directory of your blog: ie public_html/your-blog/ Paste the following code without // in it: 
# # 
Open .htaccess file in the same directory and paste this in it: 
RewriteRule robots.txt robots.php 

Make sure you have the 'RewriteEngine On' clause in place... 

Make sure you have a robots.txt file, even an empty one, on the root directory 

그 후 모든 서브 페이지에 액세스 할 수 없었습니다.

이 내 웹 사이트의 링크입니다 : 내가 복원하기 때문에 404

내가 왜 모르는

http://idealpvc-dev.com/websites/camel/

그리고 당신은 하위 페이지의 일부에 액세스하려고하면 오류 얻을 것이다 내 .htaccess 파일은 여전히 ​​작동하지 않습니다.

다른 WordPress 사이트의 .htaccess 파일과 비교해 보았지만 폴더 이름을 제외하고는 다른 점이 없습니다.

모든 의견을 환영합니다.

이 사이트는 사전에/public_html을/웹 사이트/낙타에

감사 위치한

# BEGIN WordPress 

<IfModule mod_rewrite.c> 

RewriteEngine On 

RewriteBase /websites/camel/ 

RewriteRule ^index\.php$ - [L] 

RewriteCond %{REQUEST_FILENAME} !-f 

RewriteCond %{REQUEST_FILENAME} !-d 

RewriteRule . /websites/camel/index.php [L] 

</IfModule> 



# END WordPress 

답변

1

이 htaccess로의 RewrieBase으로 이것을 확인 :

또한, 위의 제의 .htaccess의 내용입니다 이 파일

,
RewriteBase /websites/camel/ 

그리고 만들 워드 프레스 관리자 패널에서 당신의 wordpress permalink 기본 설정> >> 퍼머 >>> 기본

+0

감사합니다! 그게 다야! – PottaG