PluginProbe ʕ •ᴥ•ʔ
Redirection / 1.0.3
Redirection v1.0.3
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0
redirect-redirection / includes / settings / layouts / redirection-rules / rules-explanation.php
redirect-redirection / includes / settings / layouts / redirection-rules Last commit date
header.php 4 years ago index.html 4 years ago rules-explanation.php 4 years ago
rules-explanation.php
114 lines
1 <?php
2 if (!defined("ABSPATH")) {
3 exit();
4 }
5 ?>
6 <div class="header__popup header__popup--hidden header-popup">
7 <div class="header-popup__heading">
8 <?php _e( "Redirection to-rules explained​", "redirect-redirection" ); ?>
9 </div>
10 <div class="header-popup__body">
11 <div class="header-popup__row">
12 <div class="header-popup__body-col">
13 <span class="header-popup__body-label">
14 <?php _e( "A specific URL:", "redirect-redirection" ); ?>
15 </span>
16 </div>
17 <div class="header-popup__body-col">
18 <p class="header-popup__paragraph">
19 <?php _e( "Redirects all URLs to the stated URL.", "redirect-redirection" ); ?>
20 </p>
21 </div>
22 </div>
23
24 <div class="header-popup__row">
25 <div class="header-popup__body-col">
26 <span class="header-popup__body-label">
27 <?php _e( "URLs with new string:", "redirect-redirection" ); ?>
28 </span>
29 <span class="header-popup__body-label-desc">
30 <?php _e( "(Only shown if “Contain” is selected on the left)", "redirect-redirection" ); ?>
31 </span>
32 </div>
33 <div class="header-popup__body-col">
34 <p class="header-popup__paragraph">
35 <?php _e( "Redirects to URLs which contain the string you entered on the right instead ​of the string you
36 entered on the left", "redirect-redirection" ); ?>
37 (<strong><?php _e( "replace", "redirect-redirection" ); ?></strong>).
38 </p>
39 <p class="header-popup__paragraph">
40 <?php
41 printf(
42
43 __( '%1$sExample:%2$s You selected to redirect all URLs which contain the string “old-blog”. If you enter here “new-blog” then a redirect from %3$s to %4$s will be applied for all your pages/posts on the old URLs.', 'redirect-redirection' ),
44 '<strong><em>',
45 '</em></strong>',
46 '<span class="highlighted">https://your-website.com/old-blog/post1</span>',
47 '<span class="highlighted">https://your-website.com/new-blog/post1</span>'
48 );
49 ?>
50 </p>
51 </div>
52 </div>
53
54 <div class="header-popup__row">
55 <div class="header-popup__body-col">
56 <span class="header-popup__body-label"><?php _e( "URLs with removed string:", "redirect-redirection" ); ?></span>
57 <span class="header-popup__body-label-desc"><?php _e( "(Only shown if “Contain” is selected on the left)", "redirect-redirection" ); ?></span>
58 </div>
59 <div class="header-popup__body-col">
60 <p class="header-popup__paragraph"><?php _e( "Redirects to URLs which are identical except they don’t contain the string you entered on the left at all (“&ZeroWidthSpace;<strong>remove</strong>”).", "redirect-redirection" ); ?></p>
61 <p class="header-popup__paragraph">
62 <?php
63 printf(
64
65 __( '%1$sExample:%2$s You selected to redirect all URLs which contain the string “old-blog”, and the current url structure is %3$s. With this option your entered string will be removed so %4$s will redirect to %5$s', 'redirect-redirection' ),
66 '<strong><em>',
67 '</em></strong>',
68 '<span class="highlighted">https://your-website/old-blog/post1</span>',
69 '<span class="highlighted">https://your-website/old-blog/post1</span>',
70 '<span class="highlighted">https://your-website/post1</span>'
71 );
72 ?>
73 </p>
74 </div>
75 </div>
76
77 <div class="header-popup__row">
78 <div class="header-popup__body-col">
79 <span class="header-popup__body-label">
80 <?php _e( "New permalink structure:", "redirect-redirection" ); ?>
81 </span>
82 <span class="header-popup__body-label-desc">
83 <?php _e( "(Only shown if “Have Permalink Structure” is selected on the left)", "redirect-redirection" ); ?>
84 </span>
85 </div>
86 <div class="header-popup__body-col">
87 <p class="header-popup__paragraph">
88 <?php _e( "Redirects to the new permalink structure of your choice.", "redirect-redirection" ); ?>
89 </p>
90 </div>
91 </div>
92
93 <div class="header-popup__row">
94 <div class="header-popup__body-col">
95 <span class="header-popup__body-label">
96 <?php _e( "Regex matches:", "redirect-redirection" ); ?>
97 </span>
98 <span class="header-popup__body-label-desc">
99 <?php _e( "(Only shown if “Regex matches” is selected on the left)", "redirect-redirection" ); ?>
100 </span>
101 </div>
102 <div class="header-popup__body-col">
103 <p class="header-popup__paragraph">
104 <?php _e( "Redirects to the new Regex pattern you entered on the right.", "redirect-redirection" ); ?>
105 </p>
106 </div>
107 </div>
108 </div>
109 <div class="header-popup__footer">
110 <button class="header-popup__close-btn ir-header-popup-close">
111 <?php _e( "Close", "redirect-redirection" ); ?>
112 </button>
113 </div>
114 </div>