Better URL control |
[eluser]DougW[/eluser]
I was having trouble with generated URLS that had + signs in them. Like this... http://www.jesustweeters.com/daily/messa...nks+in+his I was getting 'invalid characters in URL' errors. So I searched this forum and found that this: $config['enable_query_strings'] = TRUE; Would solve it. And it did. But now I get these kinds of URLS... http://www.jesustweeters.com/?/ What causes that? It seems to be related to doing a redirect('/'); Any ideas?
[eluser]DougW[/eluser]
I was able to temporarily solve this by adding + to the valid url characters. Is that the only/best solution?
[eluser]ortwin.van.vessem[/eluser]
Hi DougW, Adding the + symbol to the valid url characters is the correct way to allow them in your URI-string. Keep in mind that the + symbol is not SEO friendly. You'd better use the - symbol. Please find the modification on the following Github page: https://github.com/EllisLab/CodeIgniter/pull/248/files
[eluser]Unknown[/eluser]
Hey...Good question, let me please concern this problem with my seniors for better results. |
Welcome Guest, Not a member yet? Register Sign In |