Reputation: 419
Here is the problem
I am using a URL shortner (like bit.ly), but self hosted on my own server called YOURLS.
My current snippet is now rendered useless because it does not preserve the query string from..
Recreating the problem
</form method="GET" action="sho.rt/Google" _lpchecked="1"> </input type="text" placeholder="What would you like to find on google?" name="?q="> </button type="submit" id="submit">Search</button> </form>
Can any of you think of a clever solution to this problem?
How do I use query string on a short link...and preserve it on the destination address.
Can this be done in HTML, JavaScript, or PHP? ...Or do I need to adjust something within the self hosted URL shortner "YOURLS"?
You are likely thinking, why even add the addition step of shortening the URL...here is why...
Upvotes: 1
Views: 1239