2014-10-08 3 views
0

나는 wordpress와 함께 작업하며 "permalink"를 "post name"으로 변경하고 싶었습니다. 내가 아파치에서 404 오류가있어 그것을 변경 한 후. 그럼 내가 검색이 얻을 : 여기 내부 서버 오류 아파치

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

내 서버 로그 오류입니다 : Wordpress permalink structure change issue을 나는이 commant "는 sudo a2enmod 또, Userdir"를 작성하고 내 페이지를 새로 고침 할 때, 나는 500 오류가

127.0.0.1:45292] /var/www/tvvarzesh.dev/public_html/.htaccess: Invalid command 'BEGIN', perhaps misspelled or defined by a module not included in the server configuration

무엇 해야합니까? 고맙습니다

+0

웹 루트 디렉토리에있는 ** .htaccess ** 파일의 내용을 볼 수 있습니까? – rnevius

답변

1

따르십시오 아래 단계 : Dashboard>Settings>Permalinks

    1. 이동에 적합한 영구 링크 구조를 선택하고 저장을 클릭합니다.
    2. WordPress는 새로운 .htaccess 파일 코드를 생성하고 코드를 복사합니다.
    3. WordPress 루트 디렉토리에 .htaccess이라는 파일을 만들고 코드를 붙여넣고 저장하십시오.