Welcome Guest, Not a member yet? Register   Sign In
routes help - adds question mark.
#1

[eluser]dippy[/eluser]
i did a route on the following:

Code:
$route['services/search-engine-optimization'] = "services/seo";

but when i goto the url 'services/seo' it still works and doesn't redirect to services/search-engine-optimization but if i goto 'services/search-engine-optimization' it works great, thats what i need.

so i did a .htaccess redirect to try and fix it..

Code:
Redirect /services/seo http://www.mysite.com/services/search-engine-optimization


and now if someone goes to services/seo it redirects but adds a question mark. like so:
Code:
http://www.mysite.com/services/search-engine-optimization?/services/seo


how can i get 'services/seo' to redirect without it adding that question mark?? is there an option in CI?

please let me know as this is messing SEO up for the site and creating duplicate content.


Messages In This Thread
routes help - adds question mark. - by El Forum - 11-25-2009, 12:28 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 12:30 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 12:45 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 01:46 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 01:53 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 02:17 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 02:27 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 02:32 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 02:40 PM
routes help - adds question mark. - by El Forum - 11-25-2009, 05:41 PM
routes help - adds question mark. - by El Forum - 11-26-2009, 02:53 AM
routes help - adds question mark. - by El Forum - 12-01-2009, 09:17 AM
routes help - adds question mark. - by El Forum - 12-01-2009, 09:51 AM
routes help - adds question mark. - by El Forum - 12-01-2009, 09:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB