Welcome Guest, Not a member yet? Register   Sign In
changing querystring for soe
#1

[eluser]learnq[/eluser]
Hi,
I want to change query string like
?c_cont_m_func_var_abc
instead of
?c=cont&m=func&var=abc

How to do that ..mean .. which files I need to change ?
Any idea ? BTW, as I am using payment gw, I have to use query string.

Thanks.
#2

[eluser]Phil Sturgeon[/eluser]
That is not really the best SEO. In fact, that's terrible!

Standard URI segments would be much better for your SEO, then in your payment gateway just use some extra get parameters by reading How to use URI Segments and Query Strings in the same project.
#3

[eluser]learnq[/eluser]
Hi,
Thanks for the link .Can you explain why its a bad idea ? I saw one site did it like that .
#4

[eluser]Phil Sturgeon[/eluser]
Well it is just terrible SEO. You want to break your URL's down into human readable strings not crazy lowercase underscored rubbish.

Underscores are read as one word, so your page would only be found if they searched that whole URI, while - and / are seen as separators which break it up into multiple words. You would also have extra characters in your URL which you don't need.

Sadly CI does not help with SEO entirely as URI segments equate to class or function names, meaning you are limited to using _ and not -.

Still, use the default clean URI segments for better results.
#5

[eluser]otherjohn[/eluser]
if anything you want to convert it to a url, not a query string.




Theme © iAndrew 2016 - Forum software by © MyBB