部署到本地后,配置好数据库后,可以访问首页,但是首页上面的链接点击之后,都会出现这样的错误。如下:
Object not found!The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.If you think this is a server error, please contact the webmaster.Error 404localhost
2013-1-4 10:10:05
Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1网上找了好久解决办法,还是没有解决!wordpressurlserver

解决方案 »

  1.   

    url 开启重写了?
    在httpd.conf中开启 rewrite 模块后再试试。
      

  2.   

    1.新建 htaccess.txt 文件  
    2.将下面代码 写入 htaccess.txt 文件  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>3.上传到服务器4.将htaccess.txt 文件  改名 为 .htaccess注意 不是改后缀名