简体   繁体   English

wordpress 页面链接不起作用它说找不到页面

[英]wordpress page links not working it says page not found

Ive uploaded my wordperss website from one to another host everything workds perfectly.我已经将我的 wordperss 网站从一个主机上传到另一个主机,一切正常。 onky thing that doesnt work is page links.行不通的事情是页面链接。

this is my .htaccess file.这是我的 .htaccess 文件。

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?coolkid.ge$
RewriteCond %{REQUEST_URI} !^/gf/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /gf/$1
RewriteCond %{HTTP_HOST} ^(www.)?coolkid.ge$
RewriteRule ^(/)?$ gf/index.php [L] 
</IfModule>

home page is working admin is working but other pages not working what do i need to do?主页正在工作 管理员正在工作但其他页面不工作 我需要做什么?

You can follow these steps您可以按照以下步骤操作

  1. Try flushing your mod_rewrite rules:尝试刷新你的 mod_rewrite 规则:
  2. Dashboard -> Settings -> Permalinks仪表板 -> 设置 -> 固定链接
  3. Save settings (no need to make any changes)保存设置(无需进行任何更改)

Go to the Dashboard -> Settings -> Permalinks and click save after that remove cache and check.转到仪表板 -> 设置 -> 永久链接,然后单击保存,然后删除缓存并检查。 site pages网站页面

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM