SHEINLINE Posted March 28, 2010 Share Posted March 28, 2010 1.我在本地测试ps,显示产品的地址都是类似:/product.php?id_product=2. 我想把地址都弄成静态的(.html)在后台的工具栏中有个 Preferences,下面有个 “友好URL”。但我不知道具体要如何用??“如果您启用此功能,您必须 产生一个 htaccess文件”,这个文件要怎么创建,放在哪里??2.sitemap怎么生成??有谁(碰到过,会的 ) 帮忙下。在此谢谢了!!!ps的版本是1.2.5.0的。系统 sp3 ,环境用 WAMP Link to comment Share on other sites More sharing options...
i978 Posted March 28, 2010 Share Posted March 28, 2010 1.我在本地测试ps,显示产品的地址都是类似:/product.php?id_product=2. 我想把地址都弄成静态的(.html)在后台的工具栏中有个 Preferences,下面有个 “友好URL”。但我不知道具体要如何用??“如果您启用此功能,您必须 产生一个 htaccess文件”,这个文件要怎么创建,放在哪里??2.sitemap怎么生成??有谁(碰到过,会的 ) 帮忙下。在此谢谢了!!!ps的版本是1.2.5.0的。系统 sp3 ,环境用 WAMP 1. 。htacess 文件可用txt创建,你是1.2.5.0,选择启用,就会自动创建。放在根目录下;2.sitemap文件可以在后台》》模块,里面有个google sitemap,启用它,然后生成。 Link to comment Share on other sites More sharing options...
SHEINLINE Posted March 28, 2010 Author Share Posted March 28, 2010 TO:i9781.htaccess文件 会自动创建在哪里?? Link to comment Share on other sites More sharing options...
SHEINLINE Posted March 28, 2010 Author Share Posted March 28, 2010 请问,hataccess文件自动生成在哪里?还有,如果生成成功了,我要怎么测试,才知道页面变成了.html。谢谢 Link to comment Share on other sites More sharing options...
i978 Posted March 28, 2010 Share Posted March 28, 2010 TO:i9781.htaccess文件 会自动创建在哪里?? 在根目录 Link to comment Share on other sites More sharing options...
i978 Posted March 28, 2010 Share Posted March 28, 2010 请问,hataccess文件自动生成在哪里?还有,如果生成成功了,我要怎么测试,才知道页面变成了.html。谢谢 点任何一个产品的页面,看浏览器中的url即可。 Link to comment Share on other sites More sharing options...
SHEINLINE Posted March 28, 2010 Author Share Posted March 28, 2010 请问,hataccess文件自动生成在哪里?还有,如果生成成功了,我要怎么测试,才知道页面变成了.html。谢谢 点任何一个产品的页面,看浏览器中的url即可。 可以看到.html。但有个问题,图片的不能显示出来,还有我点击查看图片,提示 不能找到页面。 Link to comment Share on other sites More sharing options...
21846657 Posted March 29, 2010 Share Posted March 29, 2010 http://www.prestashop.com/forums/viewthread/34361/#155050 Link to comment Share on other sites More sharing options...
SHEINLINE Posted March 29, 2010 Author Share Posted March 29, 2010 http://www.prestashop.com/forums/viewthread/34361/#155050 谢谢 21846657 !!问题解决了!但又出现新问题如下图:(为什么会这样?我自己放上去的图片都出现这样的状况) Link to comment Share on other sites More sharing options...
SHEINLINE Posted March 29, 2010 Author Share Posted March 29, 2010 我在后台设置了友好URL。可以生成静态页面。点一级,二级目录进去都很正常。但点了第三级页面,一些图片就显示不出来了。图片放在 prestashop/themes/prestashop/img/online-chat.gif ,地址显示http://localhost/prestashop/dior-handbags/themes/prestashop/img/online-chat.gif也就是中间多出了/dior-handbags/,才把图片显示不出来。版主,会的人,帮帮忙啊?我是查了很久,无果。 Link to comment Share on other sites More sharing options...
21846657 Posted March 29, 2010 Share Posted March 29, 2010 可能是个bug,请file一个bug report并把你的report地址post到这里来吧。也许能帮助官方作出有针对性改进。 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now