Our site remains ad-free thanks to our affiliates. This post's featured affiliate is Robinhood. Robinhood has commission-free investing, and tools to help shape your financial future. Sign up and get your first stock free.
The post is not sponsored by the above affiliate and the content here is not representative of their company.
Cleaning up URL’s to send to friends, tweet about, or share on various networking sites is a great idea. Below I will show you how to clean up some popular website URL’s. Before that though why should you clean up your URL’s? Well they can contain information you don’t want to share with other people. For instance Amazon keeps search terms saved in the URL when you visit product pages.
As you can clearly see the last URL parameter is your search terms. This could potentially be something you don’t want to share with others when linking people to products.
Shortening Amazon Links
In the above URL you will need to grab the ASIN product number. In this
case it is
0000000000. It can also be found on the product page under
the “Product Details” section.
This will go directly to the product page. If you are part of the Amazon Associates Program, you can append “?tag=geekthis-20” at the end of the URL, but of course using your own associates tag so you get the income.
To shorten a link to a category, we start out with the full URL of a category we navigated to using our browser.
We will see the
node parameter. We copy and paste this so the new URL
looks like the following. You may have to change the ampersand to a
question mark if it isn’t already.
Shortening Google Links
After you do a search on Google, the URL will look something similar to this.
All of that is junk if you are linking someone to this search. You need to find the query you performed, in this case it is “I love google”, and it is found right after &q=
The new URL for Google search results will be as follows.
Or if you are linking to a person that has Google Instant you can shorten it even more
And then it is even possible to remove the forward slash before the pound sign if you are on a desktop computer or laptop. Mobile browsers sometimes have issues with this type of URL.
But that’s not the shortest yet, Google has a shorter domain, so all
the above URLs can use
googl.com instead of
Shorter YouTube URL’s
To shorten a YouTube search URL we find the term we want to search for, in this case “I love youtube”. If we don’t shorten the URL we are left with this.
If we do shorten it we get this.
You drop everything after the
?search_query value, and change that
parameter name to
To shorten the video URL, you have a few options, the easiest and
shortest is to go to the “Share” tab on YouTube and copy that URL. It
looks similar to
If you don’t see a “Share” button for some reason, or want to manually
type our the URL starting from the video page you are on you need to
?v= value from the URL.
Then just append that value to
http://youtu.be/ and you have your
For shorter Profile URL’s you just have to remove /user/ from the URL, and all other parameters besides the username.
Those are a few ways to shorten URL’s. This can be done with almost every website. You just need to find out which parameters in the URL are required, and then delete everything else.