2009-12-02 108 views
0

基本上我有一个joomla实例和一篇使用URL重写的文章。用Joomla重写Mod

http://example.com/kids-and-family/185-summer-camp.html在输入到网址时转到相应的文章。

我现在想通过使用http://example.com/camp

访问这个URL这似乎是大部分.htaccess文件的:

########## Begin - Joomla! core SEF Section 
# 
RewriteCond %{REQUEST_FILENAME} !-f 
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteCond %{REQUEST_URI} !^/index.php 
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] 
RewriteRule (.*) index.php 
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] 
# 
########## End - Joomla! core SEF Section 

如何使这个使用的.htaccess现实?或者有人能给我一个很好的例子吗?

谢谢

回答

0

您是否试过使用文章/文章布局菜单项直接链接到文章?然后,您应该能够在Alias字段中指定camp以获取您的链接。