can anyone explain me allinurl and allintitle is important for onpage optimization and what purpose we use that ?
Actually allinurl and allintitle is the search operators. Below are the examples, >> When you type [allintitle:tools softwares] as a query. Search engine will look for the keywords software and tools in the title of the pages >> similarly When you type [allinurl:tools softwares] as a query, it will look for the keywords in URL. And it is not related to the on page optimization.
It's as Tessa_86 has mentioned. it's just a Parameterized Google Advanced search to filter your results according to your needs.
it just helps the search engines better understand what your content is about. Remember these are codes that are trying to figure out how important your site is to a particular keyword. Make it easy for them.
As Tessa_86 has mentioned, it's not related to on-page optimization. However, you can use these two search strings (esp 'allintitle') to figure out how many sites are competing in the SEs for your targeted keywords in your niche.
allintitle:If you start your query with allintitle:, Google restricts results to those containing all the query terms you specify in the title.The title of a webpage is usually displayed at the top of the browser window and in the first line of Google’s search results for a page. The author of a website specifies the title of a page with the HTML TITLE element. There’s only one title in a webpage. When using allintitle: in your query, do not include any other search operators. The functionality of allintitle: is also available through the Advanced Web Search page, under Occurrences.In Image Search, the operator allintitle: will return images in files whose names contain the terms that you specify.In Google News, the operator allintitle: will return articles whose titles include the terms you specify. allinurl:If you start your query with allinurl:, Google restricts results to those containing all the query terms you specify in the URL. In URLs, words are often run together. They need not be run together when you’re using allinurl:In Google News, the operator allinurl: will return articles whose titles include the terms you specify.The Uniform Resource Locator, more commonly known as URL, is the address that specifies the location of a file on the Internet. When using allinurl: in your query, do not include any other search operators. The functionality of allinurl: is also available through the Advanced Web Search page, under Occurrences.