Start Exploring Keyword Ideas
Use Serpstat to find the best keywords for your website
How many GET parameters can be in the page URL
What are the GET parameters
This is public data available when you view the link in the story once again. Using such a request is relevant when the address bar data does not change. That is, every time you access a page with the given parameters, its address remains constant.
A GET request consists of a domain, page address, and parameters that follow the "?" sign. The format of one parameter looks like this: "key = description". The whole request looks like this:
http://site.com/index.php?name=Kate&surname=Johnson
<?php
echo ‘Name: ‘ . $_GET[‘name’] . ‘<br />’;
echo ‘Surname: ‘ . $_GET[‘surname’] . ‘<br />’;
?>,
<?php
if(isset($_GET['name'])) {
echo $_GET['surname'];
}
?>,
As a result, the browser will display the following information:
Name: Kate
Surname: Johnson
The use of such a request makes sense if you need to save or send a link. It is better to use the POST request to transfer confidential information. Pages requested by the GET parameter are always static.
How many GET parameters are considered correct
There is no specific maximum value for a GET request. One server can accept a maximum of 8 KB, and the other one – 16 KB. The average request size ranges from 512-1024 Kb.
In fact, there should be no more than 5 parameters in one request, otherwise, each of them will be difficult to control from the server and browser side. If you need to transfer a large amount of information, using the POST method is recommended.
When using friendly URLs, multiple GET parameters are transmitted in a hidden format. To see the complete request, it is necessary to temporarily turn off the friendly URLs.
Conclusion
The HTTP protocol does not limit the size of GET requests, but each browser and server have a data transfer limit. It is recommended to use an average of 512-1024 Kb or a maximum of 5 parameters to create one request.
Run Site Audit |
Speed up your search marketing growth with Serpstat!
Keyword and backlink opportunities, competitors' online strategy, daily rankings and SEO-related issues.
A pack of tools for reducing your time on SEO tasks.
Discover More SEO Tools
Tools for Keywords
Keywords Research Tools – uncover untapped potential in your niche
Serpstat Features
SERP SEO Tool – the ultimate solution for website optimization
Keyword Difficulty Tool
Stay ahead of the competition and dominate your niche with our keywords difficulty tool
Check Page for SEO
On-page SEO checker – identify technical issues, optimize and drive more traffic to your website
Recommended posts
Cases, life hacks, researches, and useful articles
Don’t you have time to follow the news? No worries! Our editor will choose articles that will definitely help you with your work. Join our cozy community :)
By clicking the button, you agree to our privacy policy.