How do I limit Mojeek results to a website or URL pattern?

The Citead team, updated

In short. Mojeek uses site: for a website restriction, inurl: for a URL word and allinurl: for multiple URL words at the start of a query.

Definition: As of 17 October 2026, Mojeek documents site: to restrict results to a website and inurl: to require a word in the result URL, the page's web address. Its allinurl: operator applies URL matching to all following query words.

Key facts

How does a website restriction work?

Mojeek's Search Operators documentation gives this example:

site:mojeek.com mojeek

The website restriction is site:mojeek.com; the search word is mojeek. The documentation describes the result as a search for that word on that website only. It also permits combining site: with the documented in operators, including inurl:.

How does URL word matching work?

Mojeek's Search Operators documentation uses this query to find results whose URLs contain the word mojeek:

inurl:mojeek

Combining the documented filters gives a website restriction plus a required URL word:

site:mojeek.com inurl:mojeek

This combined query is constructed from the documented syntax. The support page describes URL word matching without specifying wildcard, regular expression or exact path-prefix syntax.

How are several URL words specified?

Mojeek's A Guide to Mojeek Operators explains that adding all before an in operator extends its function to multiple words. Applied to URLs, the documented rule gives this example query:

allinurl:mojeek uk

Both mojeek and uk are URL search words in this constructed example. The operator goes at the beginning, followed by a colon. Mojeek permits one such operator per search; its guide names allinanchor, allintext, allintitle and allinurl as the available forms. They target link text, page body text, page titles and URLs respectively.

How is a website selected in the API?

An application programming interface, or API, accepts requests from software. Mojeek's API request parameters define q as the URL-encoded search query and site as the website restriction, with mojeek.com as an example value.

The same documentation permits supplying the website restriction as a URL parameter or directly within the search query as an operator. A request can therefore express the restriction separately from the query text through site, or include site: within that text.

FAQ

Which operator should I use for several URL words?

Use allinurl: at the beginning of your query. Mojeek's operator guide says the all form applies the operator's function to multiple words.

Can I use two different allin operators together?

Mojeek's operator guide permits one allin operator per search. Choose the field to search, such as URLs with allinurl: or titles with allintitle:.

Can I pass a website restriction separately in an API request?

Yes. Mojeek's API documentation accepts a site URL parameter and also accepts the restriction as an operator in the query.

Sources

  1. Mojeek, "Search Operators", undated
  2. Mojeek, "A Guide to Mojeek Operators", 3 August 2023
  3. Mojeek, "API Documentation - Search Request Parameters", undated

Check how a page reads to answer engines. Open the GEO score analyzer

Test a page and see what to fix first

The analysis usually takes less than 10 seconds and needs no account.

400,000+ pages scored in the public benchmark