[英]How to remove index.php in codeigniter with https://www. in the url?
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]
RewriteRule ^(.*)\.[\d]{10}\.(css|js)$ $1.$2 [L]
RewriteRule ^search$ webapp/search/
</IfModule>
This code is not working in with https can any help or any solution. 这段代码不适用于https可以提供任何帮助或任何解决方案。
" https://www.royez.com/category/ethnic-wear/kurtas-and-kurtis-97.html " is not working “ https://www.royez.com/category/ethnic-wear/kurtas-and-kurtis-97.html ”无法正常工作
https://www.royez.com/index.php/category/ethnic-wear/kurtas-and-kurtis-97.html working. https://www.royez.com/zh-CN/index.php/category/ethnic-wear/kurtas-and-kurtis-97.html工作。
I found the solution of this question. 我找到了这个问题的解决方案。 The problem was that when I was redirecting the website to https the curl function stopped working.Now I rewrite the curl post function and problem is solved now.
问题是当我将网站重定向到https时,curl函数停止工作。现在,我重写了curl发布函数,现在问题已解决。 Thank you all
谢谢你们
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.