VPS侦探论坛

 找回密码
 注册
查看: 6576|回复: 1

安装了wordpress没伪静态怎么办?

[复制链接]
发表于 2011-7-30 17:36:24 | 显示全部楼层 |阅读模式

我装wordpress的时候没指向伪静态。
   装好后无法使用固定链接。
  我用的固定链接 是/%postname%.html
        但是前台 显示 404页面  无法找到。

我通过FTP上传了个 .htaccess 文件   但是这个文件在FTP里面没显示

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>





请教一下怎么解决啊?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2011-7-30 20:18:36 | 显示全部楼层


lnmp不支持.htaccess ,按http://lnmp.org/install.html 添加伪静态
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-21 01:38 , Processed in 0.025838 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表