# 404-solution/4.3.0/includes/html/viewSuggestions.html

404 Solution, version 4.3.0. 57 lines.

- Page: https://pluginprobe.com/plugins/404-solution/4.3.0/code/includes/html/viewSuggestions.html
- Raw: https://pluginprobe.com/plugins/404-solution/4.3.0/raw/includes/html/viewSuggestions.html
- Modified: 2025-12-06T10:05:56+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/404-solution/4.3.0/code/includes/html/viewSuggestions.html#L10-L20`.

```html
    <p>
        {Display the closest matching pages by using the shortcode [abj404_solution_page_suggestions].}
        <BR/><BR/>
        {This shortcode can be used on the 404 page and will display a list of suggested pages. This is for when a user requests a page that doesn't exist and they are not automatically redirected to a matching page.}
        <BR/>
        <BR/>
        {Note: The "scores" that appear in the format of "(75.7576)" after the page links are only displayed for admin users.}
        <HR/>
    <p>
        <label for="update_suggest_url">{Update the URL bar}:</label>
        <input type="checkbox" name="update_suggest_url" id="update_suggest_url" value="1" {SELECTED_SUGGEST_URL}>
        <BR/>&nbsp;&nbsp;&nbsp;
        {When checked the URL will be changed from the custom 404 page URL to the URL originally requested (after the page headers load).}
        {This will not change the URL if the destination 404 page is set to (Default 404 Page) or Home Page.}
    </p>
    <p>
        <label for="suggest_cats">{Allow category suggestions}:</label>
        <input type="checkbox" name="suggest_cats" id="suggest_cats" value="1" {SELECTED_SUGGEST_CATS}>
    </p>
    <p>
        <label for="suggest_tags">{Allow tag suggestions}:</label>
        <input type="checkbox" name="suggest_tags" id="suggest_tags" value="1" {SELECTED_SUGGEST_TAGS}>
    </p>
    <p>
        <label for="suggest_minscore_enabled">{Require minimum match quality}:</label>
        <input type="checkbox" name="suggest_minscore_enabled" id="suggest_minscore_enabled" value="1" {SELECTED_SUGGEST_MINSCORE_ENABLED}>
        <BR/>&nbsp;&nbsp;&nbsp;
        {Only show suggestions that closely match the requested URL. This filters out weak matches that may confuse visitors.}
    </p>
    <p>
        <label for="suggest_max">{Maximum number of suggestions to display}:</label>
        <input type="text" name="suggest_max" id="suggest_max" value="{SUGGEST_MAX_SUGGESTIONS}" style="width: 50px;">
        <BR/>&nbsp;&nbsp;&nbsp;{Even if more pages could be suggested, show at most this many (default: 5)}
    </p>
    <p>
        <label for="suggest_title">{Page suggestions title}:</label>
        <input type="text" name="suggest_title" id="suggest_title" value="{SUGGEST_USER_TITLE}" style="width: 400px; background-image: url(&quot;data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABHklEQVQ4EaVTO26DQBD1ohQWaS2lg9JybZ+AK7hNwx2oIoVf4UPQ0Lj1FdKktevIpel8AKNUkDcWMxpgSaIEaTVv3sx7uztiTdu2s/98DywOw3Dued4Who/M2aIx5lZV1aEsy0+qiwHELyi+Ytl0PQ69SxAxkWIA4RMRTdNsKE59juMcuZd6xIAFeZ6fGCdJ8kY4y7KAuTRNGd7jyEBXsdOPE3a0QGPsniOnnYMO67LgSQN9T41F2QGrQRRFCwyzoIF2qyBuKKbcOgPXdVeY9rMWgNsjf9ccYesJhk3f5dYT1HX9gR0LLQR30TnjkUEcx2uIuS4RnI+aj6sJR0AM8AaumPaM/rRehyWhXqbFAA9kh3/8/NvHxAYGAsZ/il8IalkCLBfNVAAAAABJRU5ErkJggg==&quot;); background-repeat: no-repeat; background-attachment: scroll; background-size: 16px 18px; background-position: 98% 50%;">
        <BR/>&nbsp;&nbsp;&nbsp;{This text will appear before the list of suggestions (default: &lt;h3&gt;Here are some other great pages&lt;/h3&gt;)}
    </p>
    <p>
        <label for="suggest_before">{Display Before/After page suggestions}:</label>
        <input type="text" name="suggest_before" id="suggest_before" value="{SUGGEST_USER_BEFORE}" style="width: 150px;"> /
        <input type="text" name="suggest_after" value="{SUGGEST_USER_AFTER}" style="width: 100px;">
        <BR/>&nbsp;&nbsp;&nbsp;{This creates the list. For example, use &lt;ol style="list-style-type: none;"&gt; to hide the numbers in the list. (defaults: &lt;ol&gt; / &lt;/ol&gt;)}
    </p>
    <p>
        <label for="suggest_entrybefore">{Display Before/After each suggested page}:</label>
        <input type="text" name="suggest_entrybefore" id="suggest_entrybefore" value="{SUGGEST_USER_ENTRY_BEFORE}" style="width: 100px;"> /
        <input type="text" name="suggest_entryafter" value="{SUGGEST_USER_ENTRY_AFTER}" style="width: 100px;">
        <BR/>&nbsp;&nbsp;&nbsp;{This surrounds each item in the list. (defaults: &lt;li&gt; / &lt;/li&gt;)}
    </p>
    <p>
        <label for="suggest_noresults">{Display if no suggestion results}:</label>
        <input type="text" name="suggest_noresults" id="suggest_noresults" value="{SUGGEST_USER_NO_RESULTS}" style="width: 400px;">
        <BR/>&nbsp;&nbsp;&nbsp;{If no suggested pages are found, then this text will be displayed.  (default: &lt;p&gt;No suggestions. :/ &lt;/p&gt;)}
    </p>

```
