i have a URL where i am dynamically inserting a field to go to a specific page on a site. Problem is that in order to get to a page on the site with multiple words, there needs to be an underscore between them
So
ThisIsAReallyGaySite.com/Keyword_Here (inserted with PHP <?=$kw$> )
My current URL links like this.
Mysite.com?kw=Keyword Here
I don't use the underscore in the URL b/c i also dynamically insert the keyword on the page as well, so underscore would look bad. So any two or more word keyword is not going to the right page b/c there is no underscore
So my question is, is there a way to automatically convert spaces in an outbound URL in underscores?
So
ThisIsAReallyGaySite.com/Keywords Here
would become
ThisIsAReallyGaySite.com/Keywords_Here
thanks!
So
ThisIsAReallyGaySite.com/Keyword_Here (inserted with PHP <?=$kw$> )
My current URL links like this.
Mysite.com?kw=Keyword Here
I don't use the underscore in the URL b/c i also dynamically insert the keyword on the page as well, so underscore would look bad. So any two or more word keyword is not going to the right page b/c there is no underscore
So my question is, is there a way to automatically convert spaces in an outbound URL in underscores?
So
ThisIsAReallyGaySite.com/Keywords Here
would become
ThisIsAReallyGaySite.com/Keywords_Here
thanks!