Remove blank URL parameters

Remove blank URL parameters

28.Oct.2021

One of the simplest ways to improve a site’s accessibility is to remove unnecessary URL parameters. Blank parameters appear in the address bar as a string of question marks (?), yet they serve no useful purpose and cause complications for users, who may end up with an unexpected result.

 

You can test your web pages using the ‘Fetch as Googlebot’ tool found on most search engine testing panels – it allows you to quickly check that your URL parameter code is working correctly and what happens when different types of robots access the page.

 

If done properly, this article shouldn’t make sense – because we shouldn’t have any questions marks anywhere! But here we go anyway: ????/url?param=1

 

URL parameters are usually added to help search engines categorise your content, or to improve how it is presented. However, if you can achieve the same result by using other methods then it makes sense not to rely on them. Some of these parameters have new usage requirements, too – for example, Google will no longer include URL parameter data in its SERPs unless they are being used as filters within AdWords.

 

As well as making sure that any optional URL parameters are removed from the source code, you should also consider whether some additional tuning would be beneficial. For example:

Typographical errors are common when working with parameters so testing your work is essential – some robots ignore missing information so these URL queries still appear in search engine results. You can remove this issue by checking your code and removing any irrelevant parameters that you find – if any are now obsolete, consider redirecting them to a relevant page on your site or a 404 error page.

 

For more information about URL parameters, see our recent post: Configure URL Parameters to Optimise Your Site’s Navigation . If you want creative ideas for implementing creative web design without using URL parameters, see this article from the Google Webmaster Central blog: So I heard you like URLs ...

 

See also: * Improve website accessibility with these 7 tools * Improve website accessibility with these seven simple web design principles * Improving the performance of your content management system

Article background information [to use as knowledge, not to be copied verbatim]: Poor configuration can cause URL parameters to appear in the address bar even when they have no value – this is unnecessary complication and serves no useful purpose.

Remove blank parameters from your page URLs and you keep things simple. You might even find that pages don’t need historic URL parameters anymore at all.

 

URL parameters are usually added to help search engines categorise your content, or to improve how it is presented. However, if you can achieve the same result by using other methods then it makes sense not to rely on them. Some of these parameters have new usage requirements, too – for example, Google will no longer include URL parameter data in its SERPs unless they are being used as filters within AdWords.

As well as making sure that any optional URL parameters are removed from the source code, you should also consider whether some additional tuning would be beneficial. For example:

Typographical errors are common when working with parameters so testing your work is essential – some robots ignore missing information so these URL queries still appear in search engine results. You can remove this issue by checking your code and removing any irrelevant parameters that you find – if any are now obsolete, consider redirecting them to a relevant page on your site or a 404 error page.

For more information about URL parameters, see our recent post: Configure URL Parameters to Optimise Your Site’s Navigation . If you want creative ideas for implementing creative web design without using URL parameters, see this article from the Google Webmaster Central blog: So I heard you like URLs ...

See also: * Improve website accessibility with these 7 tools * Improve website accessibility with these seven simple web design principles * Improving the performance of your content management system

URL parameters are usually added to help search engines categorise your content, or to improve how it is presented. However, if you can achieve the same result by using other methods then it makes sense not to rely on them. Some of these parameters have new usage requirements, too – for example, Google will no longer include URL parameter data in its SERPs unless they are being used as filters within AdWords.

As well as making sure that any optional URL parameters are removed from the source code, you should also consider whether some additional tuning would be beneficial. For example:

Typographical errors are common when working with parameters so testing your work is essential – some robots ignore missing information so these URL queries still appear in search engine results. You can remove this issue by checking your code and removing any irrelevant parameters that you find – if any are now obsolete, consider redirecting them to a relevant page on your site or a 404 error page.

For more information about URL parameters, see our recent post: Configure URL Parameters to Optimise Your Site’s Navigation . If you want creative ideas for implementing creative web design without using URL parameters, see this article from the Google Webmaster Central blog: So I heard you like URLs ...

See also: * Improve website accessibility with these 7 tools * Improve website accessibility with these seven simple web design principles * Improving the performance of your content management system

We are social