未路由到wordpress中的其他页面
我正在用astra网站创建一个wordpress网站,当我点击about或其他链接时,会出现以下错误未路由到wordpress中的其他页面,wordpress,.htaccess,wordpress-theming,permalinks,Wordpress,.htaccess,Wordpress Theming,Permalinks,我正在用astra网站创建一个wordpress网站,当我点击about或其他链接时,会出现以下错误 Not Found The requested URL was not found on this server. Apache/2.4.29 (Ubuntu) Server at <my ip> Port 80 未找到 在此服务器上找不到请求的URL。 端口80处的Apache/2.4.29(Ubuntu)服务器 我还在index.php文件所在的目录中创建了一个.htacc
Not Found
The requested URL was not found on this server.
Apache/2.4.29 (Ubuntu) Server at <my ip> Port 80
未找到
在此服务器上找不到请求的URL。
端口80处的Apache/2.4.29(Ubuntu)服务器
我还在index.php文件所在的目录中创建了一个.htaccess文件,并授予了权限。但它不起作用。请帮助我,这是我的第一个wordpress站点。
下面是我的curren.htaccess
# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<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
#“BEGIN WordPress”和“END WordPress”之间的指令(行)是
#动态生成,只能通过WordPress过滤器修改。
#这些标记之间对指令的任何更改都将被覆盖。
重新启动发动机
重写基/
重写规则^index\.php$-[L]
重写cond%{REQUEST_FILENAME}-F
重写cond%{REQUEST_FILENAME}-D
重写规则/index.php[L]
#结束WordPress
以下几点之一可以解决您的问题:
- 打开WordPress登录页面
- 使用管理员凭据登录
- 从管理面板的左侧栏转到设置菜单
- 单击永久链接子菜单项
- 保存永久链接
堆栈溢出用于编程特定问题。有关WordPress管理、服务器配置等的问题都是离题的,更适合于。在发布之前,请先查看他们的“帮助”部分,了解如何编写您的问题,以使其符合他们的指导原则。@Sahan Thilakarathna,在完成上述步骤后,如果您还有任何问题,请告诉我。