我在wordpress上有问题(有点新)
我在godaddy中有一个域,并且它具有plesk y玛瑙17.8,它没有apache,它具有IIS,当我使用post的permalinks选项时,我在本地主机上创建了一个wordpress博客示例,并上传到我的域中进行测试名称,而不是普通名称,除home之外的所有其他页面都返回404,但是普通格式没有问题。我尝试更改.htaccess文件,因为我在很多地方都没有运气。正如我之前所说,plesk 17.8不会运行apache。我发现唯一提到IIS选项的其他消息,使我对web.config进行了一些更改,但没有结果。
迄今为止我的web.config文件
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="WordPress: http://www.mauricioalbanese.com" patternSyntax="Wildcard">
<match url="*"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
</conditions>
<action type="Rewrite" url="index.php"/>
</rule></rules>
</rewrite>
</system.webServer>
</configuration>
我迄今为止的.htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
我不知道还有什么可能导致此,请帮助
存储我原始网页的所有内容都在我的根文件夹中。
所以经过一些研究,我弄清楚了...问题不在于wordpress,而在于我的托管管理平台。
我在与Godaddy一起使用plesk时,似乎wordpress在plesk上存在一些问题,并且某些功能无法正常使用。
我更改为cpanel并解决了问题。
因此,我建议您与您的主机提供商进行交谈,并确保在使用前巫婆平台最好地支持wordpress。