你能帮我一下吗?我已经分类网站:99clix.in/最新/,实际上它正在建设中。它创建动态动态urls,我想转换成seo友好的urls。
Eg:
DYnamic网址: http://www.99clix.in/latest/index.php?welcome/category/Mobile-Phones/Mobile-phones
静态网址: http://www.99clix.in/latest/Mobile-Phones/Mobile-phones。
同样,我需要为所有类别和子类别创建与用户搜索相同的方式。
你能帮我个忙吗?
发布于 2015-09-16 07:05:12
在根目录中的.htaccess文件中编写下面的代码,这将允许您在没有index.php的情况下访问url
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L] 请提供关于您的应用程序的更多细节,以便我们可以提供更个性化的解决方案--您是否使用任何框架等。
https://stackoverflow.com/questions/32601642
复制相似问题