Welcome Guest, Not a member yet? Register   Sign In
Random ? [question mark] appearing in urls
#1

[eluser]darrenfauth[/eluser]
After upgrading from 1.7.2 to 2.1.2 I am experiencing an issue I don't know how to debug. Clicking on a url (in an email or search results) pointing to an internal page on my site sometimes results in a ? being inserted in the url after the domain and before the url parameters. It is not present in the link clicked but resolves that way and is present in the address bar once arriving at the site.
Code:
http://mydomain.com/parameter/parameter
becomes
Code:
http://mydomain.com/?/parameter/parameter

The result is landing on the home page rather then the intended page.

The relevant (I think) settings in my config.php are:

Code:
$config['index_page'] = '';
$config['uri_protocol'] = 'AUTO';
$config['allow_get_array']  = TRUE;
$config['enable_query_strings'] = TRUE;

My .htaccess file:

Code:
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{HTTP_HOST} ^www\.mydomain\.com
RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]

Anybody have any thoughts?

Thanks!


Messages In This Thread
Random ? [question mark] appearing in urls - by El Forum - 02-27-2013, 07:27 AM
Random ? [question mark] appearing in urls - by El Forum - 02-27-2013, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB