PluginProbe
404 Solution / 4.2.0
404 Solution v4.2.0
4.3.5 4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.2.0 4.1.19 4.1.18 4.1.17 4.1.16 4.1.15 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.1.7 4.1.6 4.1.5 4.1.4 4.1.3 trunk 2.30.0 All 109 releases
404-solution / includes / html / settingsAdvancedContent.html

settingsAdvancedContent.html in 404 Solution 4.2.0, at includes/html/settingsAdvancedContent.html

182 lines 8.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <style>
2 .closeLI {
3 margin-bottom: initial;
4 }
5 .abj404-settings-table {
6 border: 1px solid var(--abj404-border, #c3c4c7);
7 border-collapse: collapse;
8 }
9 .abj404-settings-table td {
10 border: 1px solid var(--abj404-border, #c3c4c7);
11 vertical-align: top;
12 padding: 12px;
13 }
14 </style>
15 <table class="abj404-settings-table">
16 <tr><td>
17 <label for="recognized_post_types">{Recognized Post Types}
18 <BR/><BR/>
19
20 {The plugin will only redirect the post types specified here.}
21 {Default WordPress post types are "post" and "page."}
22 {The "product" type is for WooCommerce users.}
23 <BR/><BR/>
24 {If you've created custom post types and would like to redirect users to them, you'll have to enter them here.}
25 {You can see which post types are recognized by looking at the default 404 destination option, which has a list of pages, posts, products, etc.}
26 <ul>
27 <li class="closeLI">{* Strings are case insensitive.}</li>
28 <li class="closeLI">{* One type per line.}</li>
29 </ul>
30 </label>
31
32 </td><td>
33 <textarea rows="6" cols="60" name="recognized_post_types" id="recognized_post_types" >{recognized_post_types}</textarea>
34 <BR/>
35 {Note: Here is a list of all post types in the database:}{all_post_types}
36 </td></tr>
37
38 <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
39 <tr><td>
40 <label for="recognized_categories">{Custom Taxonomies}
41 <BR/><BR/>
42
43 {The plugin will redirect to normal taxonomies (categories and tags) and the ones listed here.}
44 <BR/><BR/>
45 {If you've created custom taxonomies and would like to redirect users to them, you'll have to enter them here.}
46 {You can see which are recognized by looking at the default 404 destination option.}
47 <ul>
48 <li class="closeLI">{* Strings are case insensitive.}</li>
49 <li class="closeLI">{* One type per line.}</li>
50 </ul>
51 </label>
52
53 </td><td>
54 <textarea rows="6" cols="60" name="recognized_categories" id="recognized_categories" >{recognized_categories}</textarea>
55
56 </td></tr>
57 <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
58 <tr><td>
59 <label for="folders_files_ignore">{Files and Folders Ignore Strings - Do Not Process}
60 <BR/><BR/>
61
62 {Files and folders listed here will be ignored.}
63
64 <ul>
65 <li class="closeLI">{* Do not redirect 404s for the patterns listed here.}</li>
66 <li class="closeLI">{* Do not capture 404 URLs.}</li>
67 <li class="closeLI">{* Strings are case sensitive.}</li>
68 <li class="closeLI">{* One string per line.}</li>
69 <li class="closeLI">{* Use an asterisk (*) to match "any pattern."}</li>
70 </ul>
71 {Examples:}
72 <ul>
73 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;wp-content/cache/* </li>
74 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(ignore everything in the cache directory)}</div>
75 <BR/>
76
77 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;wp-content/media/pdffiles/* </li>
78 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(ignore everything in this directory)}</div>
79 <BR/>
80
81 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*.php </li>
82 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(ignore all .php files)}</div>
83 <BR/>
84
85 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*.js </li>
86 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(ignore all .js files)}</div>
87 <BR/>
88
89 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*.jpg </li>
90 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(ignore all .jpg files)}</div>
91
92 </ul>
93
94 {Note: Do not include the parenthesis or explanations shown in the examples above.}
95 <BR/><BR/>
96 <div style="font-weight: bold; color: red;">{WARNING: When used incorrectly this WILL break your website. Use at your own risk. Please, for the love of your website, leave this empty if you don't know what you're doing.}</div>
97
98 </label>
99
100 </td><td>
101 <textarea rows="6" cols="60" name="folders_files_ignore" id="folders_files_ignore" >{folders_files_ignore}</textarea>
102
103 </td></tr>
104
105
106 <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
107 <tr><td>
108 <label for="suggest_regex_exclusions">{Exclude Suggestion URLs (Regex)}
109 <BR/><BR/>
110
111 {Exclude potential suggestions if their final URL matches one of these patterns.}
112 {This only affects the list of potential matches shown to the user on a custom 404 page.}
113
114 <ul>
115 <li class="closeLI">{* One pattern per line.}</li>
116 <li class="closeLI">{* Use an asterisk (*) to match "any pattern."}</li>
117 <li class="closeLI">{* These patterns match the path of a URL, not a title."}</li>
118 </ul>
119 {Examples:}
120 <ul>
121 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*.pdf </li>
122 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(don't suggest .pdf files)}</div>
123 <BR/>
124
125 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*.jpg </li>
126 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(don't suggest .jpg files)}</div>
127 <BR/>
128
129 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;/members/* </li>
130 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(don't suggest pages within the /members/ directory)}</div>
131
132 <BR/>
133
134 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;*/private/* </li>
135 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(don't suggest pages within any directory named /private/)}</div>
136 <BR/>
137
138 <li style="font-weight: bold; display: inline;" class="closeLI">&nbsp;&nbsp;&nbsp;/old-contact-page </li>
139 <div style="font-weight: lighter; display: inline;">&nbsp;&nbsp;&nbsp;{(don't suggest the specific page with slug 'old-contact-page')}</div>
140 </ul>
141
142 {Note: Do not include the parenthesis or explanations shown in the examples above.}
143 <BR/><BR/>
144 <div style="font-weight: bold; color: red;">{WARNING: When used incorrectly this WILL break your website. Use at your own risk. Please, for the love of your website, leave this empty if you don't know what you're doing.}</div>
145
146 </label>
147
148 </td><td>
149 <textarea rows="6" cols="60" name="suggest_regex_exclusions" id="suggest_regex_exclusions" >{suggest_regex_exclusions}</textarea>
150
151 </td>
152 </tr>
153
154 <!-- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -->
155 <tr><td>
156 <label for="add_exclude_page_field">{Exclude Specific Pages, Posts, Categories, Etc}
157 <BR/><BR/>
158 {Pages listed here will not be redirected to (unless a redirect to the page already exists).}
159 </label>
160
161 <BR/><BR/>
162 <label class="add_exclude_page_field_label" for="add_exclude_page_field"
163 >{Type a page name here and select it to add it to the exclusion list}:</label>
164 <input id="add_exclude_page_field" placeholder="{TOOLTIP_POPUP_EXPLANATION_EMPTY}"
165 style="width: 50%;" type="text" name="add_exclude_page_field"
166 data-url="{add-exclude-page-data-url}"
167 data-lpignore="true"
168 data-tooltip-explanation-empty="{TOOLTIP_POPUP_EXPLANATION_EMPTY}"
169 data-tooltip-explanation-page="{TOOLTIP_POPUP_EXPLANATION_PAGE}"
170 data-tooltip-explanation-custom-string="{TOOLTIP_POPUP_EXPLANATION_CUSTOM_STRING}"
171 data-tooltip-explanation-url="{TOOLTIP_POPUP_EXPLANATION_URL}"
172 class="highlight-text-on-focus"
173 >
174
175 </td><td class="exclude-pages-cell">
176 <ul class="closeable-ul exclude-pages-ul" data-loaded-values="{loaded-excluded-pages}">
177 </ul>
178 </td>
179 </tr>
180
181 </table>
182