問題描述
起初該網站運行良好,我安裝了WordPress 一體化遷移插件"并將我的電影 wordpress 網站遷移到托管在谷歌云平臺"的域.到這里一切正常,但是當點擊一個帖子時,它重定向到一個空頁面,上面寫著找不到頁面".我開始在 Wordpress 儀表板的WordPress 編輯器"選項中探索不同的東西,但沒有任何效果,一天后網站完全關閉.我遇到的錯誤如下:此頁面無效 watchlatestmovie.com 目前無法處理此請求.HTTP ERROR 500 如何擺脫?
At first the site was working pity fine i installed "WordPress all in one migration Plugin" and migrated my movies wordpress website to the domain am hosting at "Google Cloud Platform". Till here every thing was working fine, but when a post was clicked it redirected to an empety page saying "The page not found". I started exploring different things within "WordPress Edittor" option from Wordpress Dashboard but nothing worked, and after a day site was completely down. The error am having is as follow: This page isn’t working watchlatestmovie.com is currently unable to handle this request. HTTP ERROR 500 How to get out of it?
推薦答案
我得到了解決方案,是apache2.conf中的文件權限錯誤解決方法如下:在命令行中執行以下命令
I got the solution, it was a file permission error in apache2.conf Here is the solution: execute the following command in command line
sudo vi /etc/apache2/apache2.conf
- 按插入"進入編輯模式
- 向下滾動
- 將/var/www/權限從無"更改為全部"
- 按Esc"
- 寫:qw"退出文件.
現在使用以下命令重啟apache2服務器
- Press "insert" to get into editing mode
- Scroll down
- Change /var/www/ Permissions from "None" to "All"
- Press "Esc"
- write ":qw" to exit the file.
Now restart the apache2 server with following command
sudo service apache2 restart
這篇關于如何處理 GCP WordPress 錯誤“此頁面無效" example.com 當前無法處理此請求.HTTP 錯誤 500的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!