Welcome Guest, Not a member yet? Register   Sign In
CI 3 input post not working when removed index.php
#8

Make sure your base_url and your rewrite rules agree on what your base URL should be, or you'll have problems with both SEO and your site's proper operation. If you're going to force www, you should never post a URL for your site which does not include the www. The rewrite rule in that case is about handling requests from other sites, not requests generated by your own site.

Also, if you ever plan to allow HTTPS for your site, it is usually best to include
Code:
RewriteCond %{HTTPS} !=on
as the first condition on any rule which includes http:// in the RewriteRule statement.
Reply


Messages In This Thread
RE: CI 3 input post not working when removed index.php - by mwhitney - 05-07-2015, 07:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB