問(wèn)題描述
起初該網(wǎng)站運(yùn)行良好,我安裝了WordPress 一體化遷移插件"并將我的電影 wordpress 網(wǎng)站遷移到托管在谷歌云平臺(tái)"的域.到這里一切正常,但是當(dāng)點(diǎn)擊一個(gè)帖子時(shí),它重定向到一個(gè)空頁(yè)面,上面寫著找不到頁(yè)面".我開始在 Wordpress 儀表板的WordPress 編輯器"選項(xiàng)中探索不同的東西,但沒有任何效果,一天后網(wǎng)站完全關(guān)閉.我遇到的錯(cuò)誤如下:此頁(yè)面無(wú)效 watchlatestmovie.com 目前無(wú)法處理此請(qǐng)求.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中的文件權(quán)限錯(cuò)誤解決方法如下:在命令行中執(zhí)行以下命令
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
- 按插入"進(jìn)入編輯模式
- 向下滾動(dòng)
- 將/var/www/權(quán)限從無(wú)"更改為全部"
- 按Esc"
- 寫:qw"退出文件.
現(xiàn)在使用以下命令重啟apache2服務(wù)器
- 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
這篇關(guān)于如何處理 GCP WordPress 錯(cuò)誤“此頁(yè)面無(wú)效" example.com 當(dāng)前無(wú)法處理此請(qǐng)求.HTTP 錯(cuò)誤 500的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!