目前我的 joomla 网址显示为http://www.website.com/index.php/gallery
而不是http://www.website.com/gallery.php
所以我进入了全局配置部分......在右侧有一个面板 - 我已经打开了搜索引擎友好的 URL......
下面是使用 URL 重写的选项 - 警告使用此功能 htaccess.txt 必须重命名为 .htaccess --- 所以目前它是关闭的 - 这应该打开吗?如果是这样,问题是我的服务器上已经有一个 .htaccess 文件
内容是:
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName prestige-car-valeting.com
AuthUserFile /home/prestig1/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/prestig1/public_html/_vti_pvt/service.grp
然后是 htaccess.txt 文件,其中包含很多
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##
##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##
所以很明显,当我尝试将 htaccess.txt 重命名为 .htaccess 时,它会弹出这样的文件已经存在......
任何的想法