Quick Page/Post Redirect Plugin - Version 5.1.3

Version Description

  • Update: Updated English Translations.
  • Bug Fix: Fixed Meta redirect functions so browsers that no longer allow refresh redirects can still use Meta redirects (i.e., Firefox, Edge, some IE).
  • Bug Fix: Fixed Function for Individual Redirects for New Window functionality. Was not working unless both No Follow and New Window were selected.
  • TODO: Add New Window and No Follow to links where the URL has been rewritten. Currently if you rewrite the URL neither will work as they are referenced with the original URL, not the rewrite.
  • TODO (Still): Add Canonical Redirect filter to fix potential www/non-www redirect match problems.
Download this release

Release Info

Developer prophecy2040
Plugin Icon 128x128 Quick Page/Post Redirect Plugin
Version 5.1.3
Comparing to
See all releases

Code changes from version 5.1.2 to 5.1.3

css/qppr_admin_style.css CHANGED
@@ -1,6 +1,6 @@
1
- /* version 5.1.2 */
2
#toplevel_page_redirect-updates .dashicons-external, #toplevel_page_redirect-options .dashicons-external { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); }
3
- span.qppr_meta_help { display: none; font-size: .95em; font-style: italic; background-color: #FCFFD1; }
4
.qppr_meta_help_icon { background: transparent; color: #4F8CBE; }
5
.qppr_meta_help_icon:hover { color: #BEBFC5; cursor: help; }
6
.qppr_meta_help_wrap { }
1
+ /* version 5.1.3 */
2
#toplevel_page_redirect-updates .dashicons-external, #toplevel_page_redirect-options .dashicons-external { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); }
3
+ span.qppr_meta_help { display: none; font-size: .95em; font-style: italic; background-color: #FCFFD1; line-height: 1em;}
4
.qppr_meta_help_icon { background: transparent; color: #4F8CBE; }
5
.qppr_meta_help_icon:hover { color: #BEBFC5; cursor: help; }
6
.qppr_meta_help_wrap { }
filters-hooks-helper_funcitons.txt CHANGED
@@ -14,8 +14,8 @@ You can use the following helper functions:
14
* $attrs = array(
15
* 'request_url' => '/some-url/',
16
* 'destination_url' => '/new-url/',
17
- * 'newwindow' => 1,
18
- * 'nofollow' => 0,
19
* );
20
* $mytest_add = qppr_create_quick_redirect( $attrs );
21
*
14
* $attrs = array(
15
* 'request_url' => '/some-url/',
16
* 'destination_url' => '/new-url/',
17
+ * 'newwindow' => 1,
18
+ * 'nofollow' => 0,
19
* );
20
* $mytest_add = qppr_create_quick_redirect( $attrs );
21
*
js/qppr_frontend_script.js CHANGED
@@ -14,6 +14,7 @@
14
var doNF = false;
15
var rURL = '';
16
var hChk = href;
17
if( linkFound == '1' ){
18
doNW = newWindowArr[ href ][0];
19
doNF = newWindowArr[ href ][1];
14
var doNF = false;
15
var rURL = '';
16
var hChk = href;
17
+
18
if( linkFound == '1' ){
19
doNW = newWindowArr[ href ][0];
20
doNF = newWindowArr[ href ][1];
js/qppr_meta_redirect.js CHANGED
@@ -1,8 +1,11 @@
1
;(function($){
2
$(document).ready(function(){
3
$( qpprMetaData.appendTo ).append( qpprMetaData.injectMsg );
4
- var ctval = qpprMetaData.secs;
5
- var metaText = '';
6
function timerFunc(){
7
if($('#qppr_meta_counter').length >= 1){
8
metaText = $('#qppr_meta_counter').data('meta-counter-text')
@@ -20,20 +23,40 @@
20
}
21
}
22
$.timerFuncNew = function(){ timerFunc(); }
23
- if(!$("meta[http-equiv=refresh]").is('*')){
24
var redirectTrigger = $( qpprMetaData.class ).length > 0 ? qpprMetaData.class : 'body';
25
if( $(redirectTrigger ).length > 0 ){
26
var tagtype = $( redirectTrigger ).prop('tagName').toLowerCase();
27
- if( tagtype == 'img' || tagtype == 'script' || tagtype == 'frame' || tagtype == 'iframe'){
28
- $( redirectTrigger ).load(function() {
29
- $.timerFuncNew();
30
- $('head').append('<meta http-equiv="refresh" content="'+qpprMetaData.secs+';url='+qpprMetaData.refreshURL+'" />');
31
- });
32
- }else{
33
- $( window ).load(function() {
34
- $.timerFuncNew();
35
- $('head').append('<meta http-equiv="refresh" content="'+qpprMetaData.secs+';url='+qpprMetaData.refreshURL+'" />');
36
- });
37
}
38
}
39
}
1
;(function($){
2
$(document).ready(function(){
3
$( qpprMetaData.appendTo ).append( qpprMetaData.injectMsg );
4
+ var ctval = qpprMetaData.secs,
5
+ metaText = '',
6
+ bFamily = qpprMetaData.browserFamily,
7
+ rSecs = qpprMetaData.secs,
8
+ rURL = qpprMetaData.refreshURL;
9
function timerFunc(){
10
if($('#qppr_meta_counter').length >= 1){
11
metaText = $('#qppr_meta_counter').data('meta-counter-text')
23
}
24
}
25
$.timerFuncNew = function(){ timerFunc(); }
26
+ if( !$("meta[http-equiv=refresh]").is('*') ){
27
var redirectTrigger = $( qpprMetaData.class ).length > 0 ? qpprMetaData.class : 'body';
28
if( $(redirectTrigger ).length > 0 ){
29
var tagtype = $( redirectTrigger ).prop('tagName').toLowerCase();
30
+ switch( bFamily ) {
31
+ case 'safari':
32
+ case 'google-chrome':
33
+ if( tagtype == 'img' || tagtype == 'script' || tagtype == 'frame' || tagtype == 'iframe'){
34
+ $( redirectTrigger ).load(function() {
35
+ $.timerFuncNew();
36
+ $('head').append('<meta http-equiv="refresh" content="'+rSecs+';url='+rURL+'" />');
37
+ });
38
+ }else{
39
+ $( window ).load(function() {
40
+ $.timerFuncNew();
41
+ $('head').append('<meta http-equiv="refresh" content="'+rSecs+';url='+rURL+'" />');
42
+ });
43
+ }
44
+ break;
45
+ default:
46
+ if( tagtype == 'img' || tagtype == 'script' || tagtype == 'frame' || tagtype == 'iframe'){
47
+ $( redirectTrigger ).load(function() {
48
+ $.timerFuncNew();
49
+ $('head').append('<meta http-equiv="refresh" content="'+rSecs+';url='+rURL+'" />');
50
+ window.setTimeout(function() {window.location.href = rURL;}, (rSecs * 1000));
51
+ });
52
+ }else{
53
+ $( window ).load(function() {
54
+ $.timerFuncNew();
55
+ $('head').append('<meta http-equiv="refresh" content="'+rSecs+';url='+rURL+'" />');
56
+ window.setTimeout(function() {window.location.href = rURL;}, (rSecs * 1000));
57
+ });
58
+ }
59
+ break;
60
}
61
}
62
}
js/qppr_meta_redirect.min.js CHANGED
@@ -1 +1 @@
1
- !function(e){e(document).ready(function(){function t(){e("#qppr_meta_counter").length>=1&&(r=e("#qppr_meta_counter").data("meta-counter-text"),"undefined"==typeof r&&(r="Page will redirect in %1$ seconds"),1>a?(clearTimeout(t),e("#qppr_meta_counter").text(r.replace("%1quot;,a)),a--):a>=1&&(e("#qppr_meta_counter").text(r.replace("%1quot;,a)),a--,setTimeout(t,1e3)))}e(qpprMetaData.appendTo).append(qpprMetaData.injectMsg);var a=qpprMetaData.secs,r="";if(e.timerFuncNew=function(){t()},!e("meta[http-equiv=refresh]").is("*")){var p=e(qpprMetaData["class"]).length>0?qpprMetaData["class"]:"body";if(e(p).length>0){var n=e(p).prop("tagName").toLowerCase();"img"==n||"script"==n||"frame"==n||"iframe"==n?e(p).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+qpprMetaData.secs+";url="+qpprMetaData.refreshURL+'" />')}):e(window).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+qpprMetaData.secs+";url="+qpprMetaData.refreshURL+'" />')})}}})}(jQuery);
1
+ !function(e){e(document).ready(function(){function t(){e("#qppr_meta_counter").length>=1&&(r=e("#qppr_meta_counter").data("meta-counter-text"),"undefined"==typeof r&&(r="Page will redirect in %1$ seconds"),1>a?(clearTimeout(t),e("#qppr_meta_counter").text(r.replace("%1quot;,a)),a--):a>=1&&(e("#qppr_meta_counter").text(r.replace("%1quot;,a)),a--,setTimeout(t,1e3)))}e(qpprMetaData.appendTo).append(qpprMetaData.injectMsg);var a=qpprMetaData.secs,r="",n=qpprMetaData.browserFamily,i=qpprMetaData.secs,o=qpprMetaData.refreshURL;if(e.timerFuncNew=function(){t()},!e("meta[http-equiv=refresh]").is("*")){var p=e(qpprMetaData["class"]).length>0?qpprMetaData["class"]:"body";if(e(p).length>0){var c=e(p).prop("tagName").toLowerCase();switch(n){case"safari":case"google-chrome":"img"==c||"script"==c||"frame"==c||"iframe"==c?e(p).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+i+";url="+o+'" />')}):e(window).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+i+";url="+o+'" />')});break;default:"img"==c||"script"==c||"frame"==c||"iframe"==c?e(p).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+i+";url="+o+'" />'),window.setTimeout(function(){window.location.href=o},1e3*i)}):e(window).load(function(){e.timerFuncNew(),e("head").append('<meta http-equiv="refresh" content="'+i+";url="+o+'" />'),window.setTimeout(function(){window.location.href=o},1e3*i)})}}}})}(jQuery);
lang/quick-pagepost-redirect-plugin-en_US.mo CHANGED
Binary file
lang/quick-pagepost-redirect-plugin-en_US.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
6
- "PO-Revision-Date: Tue Aug 18 2015 15:54:28 GMT-0400 (Eastern Daylight Time)\n"
7
"Last-Translator: Tester <admin@fischercreativemedia.com>\n"
8
"Language-Team: \n"
9
"Language: English\n"
@@ -22,6 +22,52 @@ msgstr ""
22
"X-Loco-Target-Locale: en_US\n"
23
"X-Generator: Loco - https://localise.biz/"
24
25
#: ../page_post_redirect_plugin.php:272
26
msgid "New Meta Redirect options."
27
msgstr "New Meta Redirect options."
@@ -563,7 +609,7 @@ msgstr ""
563
"All Redirects and Settings will be removed from the database. This can NOT "
564
"be undone!"
565
566
- #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2278
567
msgid "Save Changes"
568
msgstr "Save Changes"
569
@@ -691,7 +737,7 @@ msgstr ""
691
"setting the <strong>Redirect Seconds</strong> - if set too low, the page "
692
"will not compeletely load. "
693
694
- #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2256
695
msgid "Redirect Seconds"
696
msgstr "Redirect Seconds"
697
@@ -715,7 +761,7 @@ msgstr ""
715
"longer than instant, depending on how much content needs to load before the "
716
"trigger happens."
717
718
- #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2260
719
msgid "Redirect Trigger"
720
msgstr "Redirect Trigger"
721
@@ -763,7 +809,7 @@ msgstr ""
763
"Do not use a tag name that is common, like \"a\" or \"div\" as it will trigger "
764
"on all events."
765
766
- #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2264
767
msgid "Append Content To"
768
msgstr "Append Content To"
769
@@ -793,7 +839,7 @@ msgstr ""
793
"When no class, id or tag name is used, the <strong>body</strong> tag will be "
794
"used."
795
796
- #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2268
797
msgid "Page Content"
798
msgstr "Page Content"
799
@@ -1128,15 +1174,15 @@ msgstr ""
1128
msgid "method."
1129
msgstr "method."
1130
1131
- #: ../page_post_redirect_plugin.php:2244
1132
msgid "Meta Redirect Settings"
1133
msgstr "Meta Redirect Settings"
1134
1135
- #: ../page_post_redirect_plugin.php:2245
1136
msgid "Settings Updated"
1137
msgstr "Settings Updated"
1138
1139
- #: ../page_post_redirect_plugin.php:2246
1140
msgid ""
1141
"This section is for updating options for redirects that use the \"meta "
1142
"refresh\" funcitonality for redirecting."
@@ -1144,7 +1190,7 @@ msgstr ""
1144
"This section is for updating options for redirects that use the \"meta "
1145
"refresh\" funcitonality for redirecting."
1146
1147
- #: ../page_post_redirect_plugin.php:2247
1148
msgid ""
1149
"Using the setting below, you can add elements or a message to the page that "
1150
"is loaded before tht redirect, or just allow the page to load as normal "
@@ -1154,11 +1200,11 @@ msgstr ""
1154
"is loaded before tht redirect, or just allow the page to load as normal "
1155
"until the redirect reaches the number of seconds you have set below."
1156
1157
- #: ../page_post_redirect_plugin.php:2252
1158
msgid "Load Page Content?"
1159
msgstr "Load Page Content?"
1160
1161
- #: ../page_post_redirect_plugin.php:2253
1162
msgid ""
1163
"Check if you want the normal page to load before redirect happens (if "
1164
"redirect is 0 seconds, it may not load fully)."
@@ -1166,21 +1212,11 @@ msgstr ""
1166
"Check if you want the normal page to load before redirect happens (if "
1167
"redirect is 0 seconds, it may not load fully)."
1168
1169
- #: ../page_post_redirect_plugin.php:2257
1170
msgid "instant"
1171
msgstr "instant"
1172
1173
- #: ../page_post_redirect_plugin.php:2257
1174
- msgid ""
1175
- "would redirect 10 seconds after the required element is loaded (i.e., body "
1176
- "or an element with a specific class). *Intsant will still have a 'slight' "
1177
- "delay, as some content needs to load before the redirect occurs."
1178
- msgstr ""
1179
- "would redirect 10 seconds after the required element is loaded (i.e., body "
1180
- "or an element with a specific class). *Intsant will still have a 'slight' "
1181
- "delay, as some content needs to load before the redirect occurs."
1182
-
1183
- #: ../page_post_redirect_plugin.php:2261
1184
#, php-format
1185
msgid ""
1186
"The %1$s, %2$s or tag name of the element you want to load before triggering "
@@ -1195,7 +1231,7 @@ msgstr ""
1195
"you would type %5$s above. To redirect after an element with a class or ID, "
1196
"use %6$s or %7$s."
1197
1198
- #: ../page_post_redirect_plugin.php:2265
1199
#, php-format
1200
msgid ""
1201
"The %1$s, %2$s or tag name of the element you want the content to load into "
@@ -1204,7 +1240,7 @@ msgstr ""
1204
"The %1$s, %2$s or tag name of the element you want the content to load into "
1205
"when the page loads."
1206
1207
- #: ../page_post_redirect_plugin.php:2269
1208
#, php-format
1209
msgid ""
1210
"Be sure to include a tag with your class or ID or tag name (entered above) "
@@ -1219,31 +1255,31 @@ msgstr ""
1219
"the page right after the %1$s tag. Otherwise, it will be the only content "
1220
"shown."
1221
1222
- #: ../page_post_redirect_plugin.php:2269
1223
msgid "Add your content below"
1224
msgstr "Add your content below"
1225
1226
- #: ../page_post_redirect_plugin.php:2271
1227
msgid "To use a counter, add the following:"
1228
msgstr "To use a counter, add the following:"
1229
1230
- #: ../page_post_redirect_plugin.php:2273
1231
msgid "The \"%1$\" will be replaced with the actual seconds."
1232
msgstr "The \"%1$\" will be replaced with the actual seconds."
1233
1234
- #: ../page_post_redirect_plugin.php:2296
1235
msgid "You have the Addon Plugin"
1236
msgstr "You have the Addon Plugin"
1237
1238
- #: ../page_post_redirect_plugin.php:2296
1239
msgid "activated. This plugin's functionality is now built into the parent"
1240
msgstr "activated. This plugin's functionality is now built into the parent"
1241
1242
- #: ../page_post_redirect_plugin.php:2296
1243
msgid "so you no longer need to have the addon plugin installed."
1244
msgstr "so you no longer need to have the addon plugin installed."
1245
1246
- #: ../page_post_redirect_plugin.php:2297
1247
msgid ""
1248
"The plugin will be deactivated now to prevent conflicts. You may delete it "
1249
"if you desire."
3
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
6
+ "PO-Revision-Date: Fri Sep 18 2015 12:48:37 GMT-0400 (Eastern Daylight Time)\n"
7
"Last-Translator: Tester <admin@fischercreativemedia.com>\n"
8
"Language-Team: \n"
9
"Language: English\n"
22
"X-Loco-Target-Locale: en_US\n"
23
"X-Generator: Loco - https://localise.biz/"
24
25
+ #. Name of the plugin
26
+ msgid "Quick Page/Post Redirect Plugin"
27
+ msgstr "Quick Page/Post Redirect Plugin"
28
+
29
+ #. URI of the plugin
30
+ msgid ""
31
+ "http://www.fischercreativemedia.com/wordpress-plugins/quick-pagepost-"
32
+ "redirect-plugin"
33
+ msgstr ""
34
+ "http://www.fischercreativemedia.com/wordpress-plugins/quick-pagepost-"
35
+ "redirect-plugin"
36
+
37
+ #. Description of the plugin
38
+ msgid ""
39
+ "Redirect Pages, Posts or Custom Post Types to another location quickly (for "
40
+ "internal or external URLs). Includes individual post/page options, redirects "
41
+ "for Custom Post types, non-existant 301 Quick Redirects (helpful for sites "
42
+ "converted to WordPress), New Window functionality, and rel=nofollow "
43
+ "functionality."
44
+ msgstr ""
45
+ "Redirect Pages, Posts or Custom Post Types to another location quickly (for "
46
+ "internal or external URLs). Includes individual post/page options, redirects "
47
+ "for Custom Post types, non-existant 301 Quick Redirects (helpful for sites "
48
+ "converted to WordPress), New Window functionality, and rel=nofollow "
49
+ "functionality."
50
+
51
+ #. Author of the plugin
52
+ msgid "Don Fischer"
53
+ msgstr "Don Fischer"
54
+
55
+ #. Author URI of the plugin
56
+ msgid "http://www.fischercreativemedia.com"
57
+ msgstr "http://www.fischercreativemedia.com"
58
+
59
+ #: ../page_post_redirect_plugin.php:2254
60
+ msgid ""
61
+ "would redirect 10 seconds after the required element is loaded (i.e., body "
62
+ "or an element with a specific class). *Intsant will still have a 'slight' "
63
+ "delay, as some content needs to load before the redirect occurs. Settings on "
64
+ "individual pages will override this setting."
65
+ msgstr ""
66
+ "would redirect 10 seconds after the required element is loaded (i.e., body "
67
+ "or an element with a specific class). *Intsant will still have a 'slight' "
68
+ "delay, as some content needs to load before the redirect occurs. Settings on "
69
+ "individual pages will override this setting."
70
+
71
#: ../page_post_redirect_plugin.php:272
72
msgid "New Meta Redirect options."
73
msgstr "New Meta Redirect options."
609
"All Redirects and Settings will be removed from the database. This can NOT "
610
"be undone!"
611
612
+ #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2275
613
msgid "Save Changes"
614
msgstr "Save Changes"
615
737
"setting the <strong>Redirect Seconds</strong> - if set too low, the page "
738
"will not compeletely load. "
739
740
+ #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2253
741
msgid "Redirect Seconds"
742
msgstr "Redirect Seconds"
743
761
"longer than instant, depending on how much content needs to load before the "
762
"trigger happens."
763
764
+ #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2257
765
msgid "Redirect Trigger"
766
msgstr "Redirect Trigger"
767
809
"Do not use a tag name that is common, like \"a\" or \"div\" as it will trigger "
810
"on all events."
811
812
+ #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2261
813
msgid "Append Content To"
814
msgstr "Append Content To"
815
839
"When no class, id or tag name is used, the <strong>body</strong> tag will be "
840
"used."
841
842
+ #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2265
843
msgid "Page Content"
844
msgstr "Page Content"
845
1174
msgid "method."
1175
msgstr "method."
1176
1177
+ #: ../page_post_redirect_plugin.php:2241
1178
msgid "Meta Redirect Settings"
1179
msgstr "Meta Redirect Settings"
1180
1181
+ #: ../page_post_redirect_plugin.php:2242
1182
msgid "Settings Updated"
1183
msgstr "Settings Updated"
1184
1185
+ #: ../page_post_redirect_plugin.php:2243
1186
msgid ""
1187
"This section is for updating options for redirects that use the \"meta "
1188
"refresh\" funcitonality for redirecting."
1190
"This section is for updating options for redirects that use the \"meta "
1191
"refresh\" funcitonality for redirecting."
1192
1193
+ #: ../page_post_redirect_plugin.php:2244
1194
msgid ""
1195
"Using the setting below, you can add elements or a message to the page that "
1196
"is loaded before tht redirect, or just allow the page to load as normal "
1200
"is loaded before tht redirect, or just allow the page to load as normal "
1201
"until the redirect reaches the number of seconds you have set below."
1202
1203
+ #: ../page_post_redirect_plugin.php:2249
1204
msgid "Load Page Content?"
1205
msgstr "Load Page Content?"
1206
1207
+ #: ../page_post_redirect_plugin.php:2250
1208
msgid ""
1209
"Check if you want the normal page to load before redirect happens (if "
1210
"redirect is 0 seconds, it may not load fully)."
1212
"Check if you want the normal page to load before redirect happens (if "
1213
"redirect is 0 seconds, it may not load fully)."
1214
1215
+ #: ../page_post_redirect_plugin.php:2254
1216
msgid "instant"
1217
msgstr "instant"
1218
1219
+ #: ../page_post_redirect_plugin.php:2258
1220
#, php-format
1221
msgid ""
1222
"The %1$s, %2$s or tag name of the element you want to load before triggering "
1231
"you would type %5$s above. To redirect after an element with a class or ID, "
1232
"use %6$s or %7$s."
1233
1234
+ #: ../page_post_redirect_plugin.php:2262
1235
#, php-format
1236
msgid ""
1237
"The %1$s, %2$s or tag name of the element you want the content to load into "
1240
"The %1$s, %2$s or tag name of the element you want the content to load into "
1241
"when the page loads."
1242
1243
+ #: ../page_post_redirect_plugin.php:2266
1244
#, php-format
1245
msgid ""
1246
"Be sure to include a tag with your class or ID or tag name (entered above) "
1255
"the page right after the %1$s tag. Otherwise, it will be the only content "
1256
"shown."
1257
1258
+ #: ../page_post_redirect_plugin.php:2266
1259
msgid "Add your content below"
1260
msgstr "Add your content below"
1261
1262
+ #: ../page_post_redirect_plugin.php:2268
1263
msgid "To use a counter, add the following:"
1264
msgstr "To use a counter, add the following:"
1265
1266
+ #: ../page_post_redirect_plugin.php:2270
1267
msgid "The \"%1$\" will be replaced with the actual seconds."
1268
msgstr "The \"%1$\" will be replaced with the actual seconds."
1269
1270
+ #: ../page_post_redirect_plugin.php:2293
1271
msgid "You have the Addon Plugin"
1272
msgstr "You have the Addon Plugin"
1273
1274
+ #: ../page_post_redirect_plugin.php:2293
1275
msgid "activated. This plugin's functionality is now built into the parent"
1276
msgstr "activated. This plugin's functionality is now built into the parent"
1277
1278
+ #: ../page_post_redirect_plugin.php:2293
1279
msgid "so you no longer need to have the addon plugin installed."
1280
msgstr "so you no longer need to have the addon plugin installed."
1281
1282
+ #: ../page_post_redirect_plugin.php:2294
1283
msgid ""
1284
"The plugin will be deactivated now to prevent conflicts. You may delete it "
1285
"if you desire."
lang/quick-pagepost-redirect-plugin-es_ES.mo CHANGED
Binary file
lang/quick-pagepost-redirect-plugin-es_ES.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
6
- "PO-Revision-Date: Tue Aug 18 2015 15:54:40 GMT-0400 (Eastern Daylight Time)\n"
7
"Last-Translator: Tester <admin@fischercreativemedia.com>\n"
8
"Language-Team: \n"
9
"Language: Spanish (Spain)\n"
@@ -22,6 +22,33 @@ msgstr ""
22
"X-Loco-Target-Locale: es_ES\n"
23
"X-Generator: Loco - https://localise.biz/"
24
25
#: ../page_post_redirect_plugin.php:272
26
msgid "New Meta Redirect options."
27
msgstr ""
@@ -76,14 +103,6 @@ msgstr ""
76
msgid "If you experience JavaScript/jQuery conflicts, try turning this option off."
77
msgstr ""
78
79
- #: ../page_post_redirect_plugin.php:415
80
- msgid "Quick Redirects Updated."
81
- msgstr "Redirecciones Quick Actualización.\n"
82
-
83
- #: ../page_post_redirect_plugin.php:520
84
- msgid "Redirect"
85
- msgstr "Redirigir"
86
-
87
# Plugin Name
88
#: ../page_post_redirect_plugin.php:584
89
msgid "Quick Page/Post Redirect"
@@ -127,12 +146,6 @@ msgstr ""
127
msgid "Please add at least one redirect before submitting form"
128
msgstr ""
129
130
- #: ../page_post_redirect_plugin.php:683
131
- msgid "Quick Page/Post Redirect FAQs/Help"
132
- msgstr ""
133
- "Quick Page/Post Redirect \n"
134
- "Preguntas Frecuentes/Ayuda"
135
-
136
#: ../page_post_redirect_plugin.php:684
137
msgid ""
138
"The FAQS are now on a feed that can be updated on the fly. If you have a "
@@ -514,69 +527,16 @@ msgid ""
514
"be undone!"
515
msgstr ""
516
517
- #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2278
518
- msgid "Save Changes"
519
- msgstr "Guardar Cambios"
520
-
521
#: ../page_post_redirect_plugin.php:1139
522
msgid "Examples"
523
msgstr ""
524
525
- #: ../page_post_redirect_plugin.php:1144
526
- msgid "Troubleshooting"
527
- msgstr "Solución De Problemas"
528
-
529
- #: ../page_post_redirect_plugin.php:1147
530
- msgid "IMPORTANT TROUBLESHOOTING NOTES:"
531
- msgstr "NOTAS IMPORTANTES PROBLEMAS:"
532
-
533
#: ../page_post_redirect_plugin.php:1149
534
msgid ""
535
"At this time the New Window (NW) and No Follow (NF) features will not work "
536
"for Quick Redirects unless \"Use jQuery\" is enabled in the options."
537
msgstr ""
538
539
- #: ../page_post_redirect_plugin.php:1150
540
- msgid ""
541
- "It is recommended that the <b>Request URL</b> be relative to the ROOT "
542
- "directory and contain the <code>/</code> at the beginning."
543
- msgstr ""
544
- "Se recomienda que el <b> Solicitud URL </ b> ser relativa al directorio raíz "
545
- "y contendrá el <code> / </ code> al principio."
546
-
547
- #: ../page_post_redirect_plugin.php:1151
548
- msgid ""
549
- "If you do use the domain name in the Request URL field, make sure it matches "
550
- "your site's domain style and protocol. For example, if your site uses \"www\" "
551
- "in front of your domain name, be sure to include it. if your site uses "
552
- "<code>https://</code>, use it as the protocol. Our best guess is that your "
553
- "domain and protocol are"
554
- msgstr ""
555
- "Si utiliza el nombre de dominio en el campo URL de solicitud, asegúrese de "
556
- "que coincide con el estilo de dominio de su sitio y el protocolo. Por "
557
- "ejemplo, si su sitio utiliza \"www\" delante de su nombre de dominio, "
558
- "asegúrese de incluirlo. si su sitio utiliza <code>https: //</ code>, lo "
559
- "utilizan como protocolo. Nuestra mejor estimación es que su dominio y "
560
- "protocolo son"
561
-
562
- #: ../page_post_redirect_plugin.php:1152
563
- msgid ""
564
- "If you are having issues with the link not redirecting on a SSL site with "
565
- "mixed SSL (meaning links can be either SSL or non SSL), try adding two "
566
- "redirects, one with and one without the SSL protocol."
567
- msgstr ""
568
- "If you are having issues with the link not redirecting on a SSL site with "
569
- "mixed SSL (meaning links can be either SSL or non SSL), try adding two "
570
- "redirects, one with and one without the SSL protocol."
571
-
572
- #: ../page_post_redirect_plugin.php:1153
573
- msgid ""
574
- "The <b>Destination</b> field can be any valid URL or relative path (from "
575
- "root), for example"
576
- msgstr ""
577
- "El <b> Destino </ b> puede ser cualquier URL válida o ruta relativa (de "
578
- "raíz), por ejemplo"
579
-
580
#: ../page_post_redirect_plugin.php:1154
581
msgid ""
582
"In order for NW (open in a new window) or NF (rel=\"nofollow\") options to "
@@ -625,7 +585,7 @@ msgid ""
625
"will not compeletely load. "
626
msgstr ""
627
628
- #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2256
629
msgid "Redirect Seconds"
630
msgstr ""
631
@@ -643,7 +603,7 @@ msgid ""
643
"trigger happens."
644
msgstr ""
645
646
- #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2260
647
msgid "Redirect Trigger"
648
msgstr ""
649
@@ -679,7 +639,7 @@ msgid ""
679
"on all events."
680
msgstr ""
681
682
- #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2264
683
msgid "Append Content To"
684
msgstr ""
685
@@ -702,7 +662,7 @@ msgid ""
702
"used."
703
msgstr ""
704
705
- #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2268
706
msgid "Page Content"
707
msgstr ""
708
@@ -728,10 +688,6 @@ msgid ""
728
"code sample under the <strong>Page Content</strong> box."
729
msgstr ""
730
731
- #: ../page_post_redirect_plugin.php:1217
732
- msgid "Quick Redirects (301 Redirects)"
733
- msgstr "Redirecciones Rápida (301 redirecciones)"
734
-
735
#: ../page_post_redirect_plugin.php:1228
736
msgid ""
737
"The <code>Use jQuery?</code> option is turned off in the settings.<br/>In "
@@ -753,103 +709,12 @@ msgid ""
753
"enabled in the plugin settings."
754
msgstr ""
755
756
- #: ../page_post_redirect_plugin.php:1237
757
- msgid ""
758
- "Quick Redirects are useful when you have links from an old site that now "
759
- "come up 404 Not Found, and you need to have them redirect to a new location "
760
- "on the current site - as long as the old site and the current site have the "
761
- "same domain name. They are also helpful if you have an existing URL that you "
762
- "need to send some place else and you don't want to create a Page or Post "
763
- "just to use the individual Page/Post Redirect option."
764
- msgstr ""
765
- "Redirecciones rápidos son útiles cuando se tiene enlaces de un sitio antiguo "
766
- "que ahora se presentan 404 Not Found, y hay que tenerlos redirigen a una "
767
- "nueva ubicación en el sitio actual - siempre y cuando el antiguo sitio y el "
768
- "sitio actual tiene el mismo dominio nombre. También son útiles si usted "
769
- "tiene una URL existente que usted necesita enviar a otro lugar y no desea "
770
- "crear una página o post sólo para utilizar la página de opción individual / "
771
- "Publicar Remitir."
772
-
773
- #: ../page_post_redirect_plugin.php:1238
774
- msgid ""
775
- "To add Quick Redirects, put the URL for the redirect in the <strong>Request "
776
- "URL</strong> field, and the URL it should be redirected to in the "
777
- "<strong>Destination URL</strong> field. To delete a redirect, click the "
778
- "trash can at the end of that row. To edit a redirect, click the pencil edit "
779
- "icon."
780
- msgstr ""
781
- "Para agregar redirecciones rápidos, poner la dirección URL de la redirección "
782
- "en el <strong> Solicitud URL </ strong> y la dirección URL debe redirigido a "
783
- "la <strong> URL de destino </ strong>. Para borrar una redirección, haga "
784
- "clic en el bote de basura al final de la fila. Para editar una redirección, "
785
- "haga clic en el icono del lápiz de edición."
786
-
787
- #: ../page_post_redirect_plugin.php:1239
788
- msgid ""
789
- "See 'HELP' in the upper right corner, for troubleshooting problems and "
790
- "example redirects."
791
- msgstr ""
792
- "Ver 'HELP' en la esquina superior derecha, para la resolución de problemas y "
793
- "el ejemplo redirecciones."
794
-
795
- #: ../page_post_redirect_plugin.php:1245 ../page_post_redirect_plugin.php:1288
796
- msgid "Add New Redirects"
797
- msgstr "Añadir nuevas redirecciones"
798
-
799
- #: ../page_post_redirect_plugin.php:1248 ../page_post_redirect_plugin.php:1297
800
- msgid "Request URL"
801
- msgstr "Solicitud URL"
802
-
803
- #: ../page_post_redirect_plugin.php:1250 ../page_post_redirect_plugin.php:1299
804
- msgid "Destination URL"
805
- msgstr "Destination URL"
806
-
807
- # Stands for 'New Window'
808
- #: ../page_post_redirect_plugin.php:1251 ../page_post_redirect_plugin.php:1300
809
- msgid "NW"
810
- msgstr "NW"
811
-
812
- # Stands for 'No Follow'
813
- #: ../page_post_redirect_plugin.php:1252 ../page_post_redirect_plugin.php:1301
814
- msgid "NF"
815
- msgstr "NF"
816
-
817
- #: ../page_post_redirect_plugin.php:1260 ../page_post_redirect_plugin.php:1269 ..
818
- #: page_post_redirect_plugin.php:1278 ../page_post_redirect_plugin.php:1310
819
- msgid "open in a New Window"
820
- msgstr "se abre en una nueva ventana"
821
-
822
- #: ../page_post_redirect_plugin.php:1261 ../page_post_redirect_plugin.php:1270 ..
823
- #: page_post_redirect_plugin.php:1279 ../page_post_redirect_plugin.php:1311
824
- msgid "add No Follow"
825
- msgstr "Sin añadir Siga"
826
-
827
#: ../page_post_redirect_plugin.php:1284
828
msgid ""
829
"New Window(NW) and NoFollow(NF) functionality not available unless \"Use with "
830
"jQuery\" is set in the options."
831
msgstr ""
832
833
- #: ../page_post_redirect_plugin.php:1294
834
- msgid "Existing Redirects"
835
- msgstr "Redirecciones existentes"
836
-
837
- #: ../page_post_redirect_plugin.php:1312
838
- msgid "Save"
839
- msgstr "Guardar"
840
-
841
- #: ../page_post_redirect_plugin.php:1313
842
- msgid "Cancel"
843
- msgstr "Cancelar"
844
-
845
- #: ../page_post_redirect_plugin.php:1354
846
- msgid "Edit"
847
- msgstr "Editar"
848
-
849
- #: ../page_post_redirect_plugin.php:1355
850
- msgid "Delete"
851
- msgstr "Dorrar"
852
-
853
#: ../page_post_redirect_plugin.php:1363
854
msgid "No Quick Redirects."
855
msgstr ""
@@ -996,49 +861,50 @@ msgstr ""
996
msgid "method."
997
msgstr ""
998
999
- #: ../page_post_redirect_plugin.php:2244
1000
msgid "Meta Redirect Settings"
1001
msgstr ""
1002
1003
- #: ../page_post_redirect_plugin.php:2245
1004
msgid "Settings Updated"
1005
msgstr ""
1006
1007
- #: ../page_post_redirect_plugin.php:2246
1008
msgid ""
1009
"This section is for updating options for redirects that use the \"meta "
1010
"refresh\" funcitonality for redirecting."
1011
msgstr ""
1012
1013
- #: ../page_post_redirect_plugin.php:2247
1014
msgid ""
1015
"Using the setting below, you can add elements or a message to the page that "
1016
"is loaded before tht redirect, or just allow the page to load as normal "
1017
"until the redirect reaches the number of seconds you have set below."
1018
msgstr ""
1019
1020
- #: ../page_post_redirect_plugin.php:2252
1021
msgid "Load Page Content?"
1022
msgstr ""
1023
1024
- #: ../page_post_redirect_plugin.php:2253
1025
msgid ""
1026
"Check if you want the normal page to load before redirect happens (if "
1027
"redirect is 0 seconds, it may not load fully)."
1028
msgstr ""
1029
1030
- #: ../page_post_redirect_plugin.php:2257
1031
msgid "instant"
1032
msgstr ""
1033
1034
- #: ../page_post_redirect_plugin.php:2257
1035
msgid ""
1036
"would redirect 10 seconds after the required element is loaded (i.e., body "
1037
"or an element with a specific class). *Intsant will still have a 'slight' "
1038
- "delay, as some content needs to load before the redirect occurs."
1039
msgstr ""
1040
1041
- #: ../page_post_redirect_plugin.php:2261
1042
#, php-format
1043
msgid ""
1044
"The %1$s, %2$s or tag name of the element you want to load before triggering "
@@ -1048,14 +914,14 @@ msgid ""
1048
"use %6$s or %7$s."
1049
msgstr ""
1050
1051
- #: ../page_post_redirect_plugin.php:2265
1052
#, php-format
1053
msgid ""
1054
"The %1$s, %2$s or tag name of the element you want the content to load into "
1055
"when the page loads."
1056
msgstr ""
1057
1058
- #: ../page_post_redirect_plugin.php:2269
1059
#, php-format
1060
msgid ""
1061
"Be sure to include a tag with your class or ID or tag name (entered above) "
@@ -1065,32 +931,194 @@ msgid ""
1065
"shown."
1066
msgstr ""
1067
1068
- #: ../page_post_redirect_plugin.php:2269
1069
msgid "Add your content below"
1070
msgstr ""
1071
1072
- #: ../page_post_redirect_plugin.php:2271
1073
msgid "To use a counter, add the following:"
1074
msgstr ""
1075
1076
- #: ../page_post_redirect_plugin.php:2273
1077
msgid "The \"%1$\" will be replaced with the actual seconds."
1078
msgstr ""
1079
1080
- #: ../page_post_redirect_plugin.php:2296
1081
msgid "You have the Addon Plugin"
1082
msgstr ""
1083
1084
- #: ../page_post_redirect_plugin.php:2296
1085
msgid "activated. This plugin's functionality is now built into the parent"
1086
msgstr ""
1087
1088
- #: ../page_post_redirect_plugin.php:2296
1089
msgid "so you no longer need to have the addon plugin installed."
1090
msgstr ""
1091
1092
- #: ../page_post_redirect_plugin.php:2297
1093
msgid ""
1094
"The plugin will be deactivated now to prevent conflicts. You may delete it "
1095
"if you desire."
1096
msgstr ""
3
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
4
"Report-Msgid-Bugs-To: \n"
5
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
6
+ "PO-Revision-Date: Fri Sep 18 2015 12:48:49 GMT-0400 (Eastern Daylight Time)\n"
7
"Last-Translator: Tester <admin@fischercreativemedia.com>\n"
8
"Language-Team: \n"
9
"Language: Spanish (Spain)\n"
22
"X-Loco-Target-Locale: es_ES\n"
23
"X-Generator: Loco - https://localise.biz/"
24
25
+ #. Name of the plugin
26
+ msgid "Quick Page/Post Redirect Plugin"
27
+ msgstr ""
28
+
29
+ #. URI of the plugin
30
+ msgid ""
31
+ "http://www.fischercreativemedia.com/wordpress-plugins/quick-pagepost-"
32
+ "redirect-plugin"
33
+ msgstr ""
34
+
35
+ #. Description of the plugin
36
+ msgid ""
37
+ "Redirect Pages, Posts or Custom Post Types to another location quickly (for "
38
+ "internal or external URLs). Includes individual post/page options, redirects "
39
+ "for Custom Post types, non-existant 301 Quick Redirects (helpful for sites "
40
+ "converted to WordPress), New Window functionality, and rel=nofollow "
41
+ "functionality."
42
+ msgstr ""
43
+
44
+ #. Author of the plugin
45
+ msgid "Don Fischer"
46
+ msgstr ""
47
+
48
+ #. Author URI of the plugin
49
+ msgid "http://www.fischercreativemedia.com"
50
+ msgstr ""
51
+
52
#: ../page_post_redirect_plugin.php:272
53
msgid "New Meta Redirect options."
54
msgstr ""
103
msgid "If you experience JavaScript/jQuery conflicts, try turning this option off."
104
msgstr ""
105
106
# Plugin Name
107
#: ../page_post_redirect_plugin.php:584
108
msgid "Quick Page/Post Redirect"
146
msgid "Please add at least one redirect before submitting form"
147
msgstr ""
148
149
#: ../page_post_redirect_plugin.php:684
150
msgid ""
151
"The FAQS are now on a feed that can be updated on the fly. If you have a "
527
"be undone!"
528
msgstr ""
529
530
#: ../page_post_redirect_plugin.php:1139
531
msgid "Examples"
532
msgstr ""
533
534
#: ../page_post_redirect_plugin.php:1149
535
msgid ""
536
"At this time the New Window (NW) and No Follow (NF) features will not work "
537
"for Quick Redirects unless \"Use jQuery\" is enabled in the options."
538
msgstr ""
539
540
#: ../page_post_redirect_plugin.php:1154
541
msgid ""
542
"In order for NW (open in a new window) or NF (rel=\"nofollow\") options to "
585
"will not compeletely load. "
586
msgstr ""
587
588
+ #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2253
589
msgid "Redirect Seconds"
590
msgstr ""
591
603
"trigger happens."
604
msgstr ""
605
606
+ #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2257
607
msgid "Redirect Trigger"
608
msgstr ""
609
639
"on all events."
640
msgstr ""
641
642
+ #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2261
643
msgid "Append Content To"
644
msgstr ""
645
662
"used."
663
msgstr ""
664
665
+ #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2265
666
msgid "Page Content"
667
msgstr ""
668
688
"code sample under the <strong>Page Content</strong> box."
689
msgstr ""
690
691
#: ../page_post_redirect_plugin.php:1228
692
msgid ""
693
"The <code>Use jQuery?</code> option is turned off in the settings.<br/>In "
709
"enabled in the plugin settings."
710
msgstr ""
711
712
#: ../page_post_redirect_plugin.php:1284
713
msgid ""
714
"New Window(NW) and NoFollow(NF) functionality not available unless \"Use with "
715
"jQuery\" is set in the options."
716
msgstr ""
717
718
#: ../page_post_redirect_plugin.php:1363
719
msgid "No Quick Redirects."
720
msgstr ""
861
msgid "method."
862
msgstr ""
863
864
+ #: ../page_post_redirect_plugin.php:2241
865
msgid "Meta Redirect Settings"
866
msgstr ""
867
868
+ #: ../page_post_redirect_plugin.php:2242
869
msgid "Settings Updated"
870
msgstr ""
871
872
+ #: ../page_post_redirect_plugin.php:2243
873
msgid ""
874
"This section is for updating options for redirects that use the \"meta "
875
"refresh\" funcitonality for redirecting."
876
msgstr ""
877
878
+ #: ../page_post_redirect_plugin.php:2244
879
msgid ""
880
"Using the setting below, you can add elements or a message to the page that "
881
"is loaded before tht redirect, or just allow the page to load as normal "
882
"until the redirect reaches the number of seconds you have set below."
883
msgstr ""
884
885
+ #: ../page_post_redirect_plugin.php:2249
886
msgid "Load Page Content?"
887
msgstr ""
888
889
+ #: ../page_post_redirect_plugin.php:2250
890
msgid ""
891
"Check if you want the normal page to load before redirect happens (if "
892
"redirect is 0 seconds, it may not load fully)."
893
msgstr ""
894
895
+ #: ../page_post_redirect_plugin.php:2254
896
msgid "instant"
897
msgstr ""
898
899
+ #: ../page_post_redirect_plugin.php:2254
900
msgid ""
901
"would redirect 10 seconds after the required element is loaded (i.e., body "
902
"or an element with a specific class). *Intsant will still have a 'slight' "
903
+ "delay, as some content needs to load before the redirect occurs. Settings on "
904
+ "individual pages will override this setting."
905
msgstr ""
906
907
+ #: ../page_post_redirect_plugin.php:2258
908
#, php-format
909
msgid ""
910
"The %1$s, %2$s or tag name of the element you want to load before triggering "
914
"use %6$s or %7$s."
915
msgstr ""
916
917
+ #: ../page_post_redirect_plugin.php:2262
918
#, php-format
919
msgid ""
920
"The %1$s, %2$s or tag name of the element you want the content to load into "
921
"when the page loads."
922
msgstr ""
923
924
+ #: ../page_post_redirect_plugin.php:2266
925
#, php-format
926
msgid ""
927
"Be sure to include a tag with your class or ID or tag name (entered above) "
931
"shown."
932
msgstr ""
933
934
+ #: ../page_post_redirect_plugin.php:2266
935
msgid "Add your content below"
936
msgstr ""
937
938
+ #: ../page_post_redirect_plugin.php:2268
939
msgid "To use a counter, add the following:"
940
msgstr ""
941
942
+ #: ../page_post_redirect_plugin.php:2270
943
msgid "The \"%1$\" will be replaced with the actual seconds."
944
msgstr ""
945
946
+ #: ../page_post_redirect_plugin.php:2293
947
msgid "You have the Addon Plugin"
948
msgstr ""
949
950
+ #: ../page_post_redirect_plugin.php:2293
951
msgid "activated. This plugin's functionality is now built into the parent"
952
msgstr ""
953
954
+ #: ../page_post_redirect_plugin.php:2293
955
msgid "so you no longer need to have the addon plugin installed."
956
msgstr ""
957
958
+ #: ../page_post_redirect_plugin.php:2294
959
msgid ""
960
"The plugin will be deactivated now to prevent conflicts. You may delete it "
961
"if you desire."
962
msgstr ""
963
+
964
+ #: ../page_post_redirect_plugin.php:415
965
+ msgid "Quick Redirects Updated."
966
+ msgstr "Redirecciones Quick Actualización.\n"
967
+
968
+ #: ../page_post_redirect_plugin.php:520
969
+ msgid "Redirect"
970
+ msgstr "Redirigir"
971
+
972
+ #: ../page_post_redirect_plugin.php:683
973
+ msgid "Quick Page/Post Redirect FAQs/Help"
974
+ msgstr ""
975
+ "Quick Page/Post Redirect \n"
976
+ "Preguntas Frecuentes/Ayuda"
977
+
978
+ #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2275
979
+ msgid "Save Changes"
980
+ msgstr "Guardar Cambios"
981
+
982
+ #: ../page_post_redirect_plugin.php:1144
983
+ msgid "Troubleshooting"
984
+ msgstr "Solución De Problemas"
985
+
986
+ #: ../page_post_redirect_plugin.php:1147
987
+ msgid "IMPORTANT TROUBLESHOOTING NOTES:"
988
+ msgstr "NOTAS IMPORTANTES PROBLEMAS:"
989
+
990
+ #: ../page_post_redirect_plugin.php:1150
991
+ msgid ""
992
+ "It is recommended that the <b>Request URL</b> be relative to the ROOT "
993
+ "directory and contain the <code>/</code> at the beginning."
994
+ msgstr ""
995
+ "Se recomienda que el <b> Solicitud URL </ b> ser relativa al directorio raíz "
996
+ "y contendrá el <code> / </ code> al principio."
997
+
998
+ #: ../page_post_redirect_plugin.php:1151
999
+ msgid ""
1000
+ "If you do use the domain name in the Request URL field, make sure it matches "
1001
+ "your site's domain style and protocol. For example, if your site uses \"www\" "
1002
+ "in front of your domain name, be sure to include it. if your site uses "
1003
+ "<code>https://</code>, use it as the protocol. Our best guess is that your "
1004
+ "domain and protocol are"
1005
+ msgstr ""
1006
+ "Si utiliza el nombre de dominio en el campo URL de solicitud, asegúrese de "
1007
+ "que coincide con el estilo de dominio de su sitio y el protocolo. Por "
1008
+ "ejemplo, si su sitio utiliza \"www\" delante de su nombre de dominio, "
1009
+ "asegúrese de incluirlo. si su sitio utiliza <code>https: //</ code>, lo "
1010
+ "utilizan como protocolo. Nuestra mejor estimación es que su dominio y "
1011
+ "protocolo son"
1012
+
1013
+ #: ../page_post_redirect_plugin.php:1152
1014
+ msgid ""
1015
+ "If you are having issues with the link not redirecting on a SSL site with "
1016
+ "mixed SSL (meaning links can be either SSL or non SSL), try adding two "
1017
+ "redirects, one with and one without the SSL protocol."
1018
+ msgstr ""
1019
+ "If you are having issues with the link not redirecting on a SSL site with "
1020
+ "mixed SSL (meaning links can be either SSL or non SSL), try adding two "
1021
+ "redirects, one with and one without the SSL protocol."
1022
+
1023
+ #: ../page_post_redirect_plugin.php:1153
1024
+ msgid ""
1025
+ "The <b>Destination</b> field can be any valid URL or relative path (from "
1026
+ "root), for example"
1027
+ msgstr ""
1028
+ "El <b> Destino </ b> puede ser cualquier URL válida o ruta relativa (de "
1029
+ "raíz), por ejemplo"
1030
+
1031
+ #: ../page_post_redirect_plugin.php:1217
1032
+ msgid "Quick Redirects (301 Redirects)"
1033
+ msgstr "Redirecciones Rápida (301 redirecciones)"
1034
+
1035
+ #: ../page_post_redirect_plugin.php:1237
1036
+ msgid ""
1037
+ "Quick Redirects are useful when you have links from an old site that now "
1038
+ "come up 404 Not Found, and you need to have them redirect to a new location "
1039
+ "on the current site - as long as the old site and the current site have the "
1040
+ "same domain name. They are also helpful if you have an existing URL that you "
1041
+ "need to send some place else and you don't want to create a Page or Post "
1042
+ "just to use the individual Page/Post Redirect option."
1043
+ msgstr ""
1044
+ "Redirecciones rápidos son útiles cuando se tiene enlaces de un sitio antiguo "
1045
+ "que ahora se presentan 404 Not Found, y hay que tenerlos redirigen a una "
1046
+ "nueva ubicación en el sitio actual - siempre y cuando el antiguo sitio y el "
1047
+ "sitio actual tiene el mismo dominio nombre. También son útiles si usted "
1048
+ "tiene una URL existente que usted necesita enviar a otro lugar y no desea "
1049
+ "crear una página o post sólo para utilizar la página de opción individual / "
1050
+ "Publicar Remitir."
1051
+
1052
+ #: ../page_post_redirect_plugin.php:1238
1053
+ msgid ""
1054
+ "To add Quick Redirects, put the URL for the redirect in the <strong>Request "
1055
+ "URL</strong> field, and the URL it should be redirected to in the "
1056
+ "<strong>Destination URL</strong> field. To delete a redirect, click the "
1057
+ "trash can at the end of that row. To edit a redirect, click the pencil edit "
1058
+ "icon."
1059
+ msgstr ""
1060
+ "Para agregar redirecciones rápidos, poner la dirección URL de la redirección "
1061
+ "en el <strong> Solicitud URL </ strong> y la dirección URL debe redirigido a "
1062
+ "la <strong> URL de destino </ strong>. Para borrar una redirección, haga "
1063
+ "clic en el bote de basura al final de la fila. Para editar una redirección, "
1064
+ "haga clic en el icono del lápiz de edición."
1065
+
1066
+ #: ../page_post_redirect_plugin.php:1239
1067
+ msgid ""
1068
+ "See 'HELP' in the upper right corner, for troubleshooting problems and "
1069
+ "example redirects."
1070
+ msgstr ""
1071
+ "Ver 'HELP' en la esquina superior derecha, para la resolución de problemas y "
1072
+ "el ejemplo redirecciones."
1073
+
1074
+ #: ../page_post_redirect_plugin.php:1245 ../page_post_redirect_plugin.php:1288
1075
+ msgid "Add New Redirects"
1076
+ msgstr "Añadir nuevas redirecciones"
1077
+
1078
+ #: ../page_post_redirect_plugin.php:1248 ../page_post_redirect_plugin.php:1297
1079
+ msgid "Request URL"
1080
+ msgstr "Solicitud URL"
1081
+
1082
+ #: ../page_post_redirect_plugin.php:1250 ../page_post_redirect_plugin.php:1299
1083
+ msgid "Destination URL"
1084
+ msgstr "Destination URL"
1085
+
1086
+ # Stands for 'New Window'
1087
+ #: ../page_post_redirect_plugin.php:1251 ../page_post_redirect_plugin.php:1300
1088
+ msgid "NW"
1089
+ msgstr "NW"
1090
+
1091
+ # Stands for 'No Follow'
1092
+ #: ../page_post_redirect_plugin.php:1252 ../page_post_redirect_plugin.php:1301
1093
+ msgid "NF"
1094
+ msgstr "NF"
1095
+
1096
+ #: ../page_post_redirect_plugin.php:1260 ../page_post_redirect_plugin.php:1269 ..
1097
+ #: page_post_redirect_plugin.php:1278 ../page_post_redirect_plugin.php:1310
1098
+ msgid "open in a New Window"
1099
+ msgstr "se abre en una nueva ventana"
1100
+
1101
+ #: ../page_post_redirect_plugin.php:1261 ../page_post_redirect_plugin.php:1270 ..
1102
+ #: page_post_redirect_plugin.php:1279 ../page_post_redirect_plugin.php:1311
1103
+ msgid "add No Follow"
1104
+ msgstr "Sin añadir Siga"
1105
+
1106
+ #: ../page_post_redirect_plugin.php:1294
1107
+ msgid "Existing Redirects"
1108
+ msgstr "Redirecciones existentes"
1109
+
1110
+ #: ../page_post_redirect_plugin.php:1312
1111
+ msgid "Save"
1112
+ msgstr "Guardar"
1113
+
1114
+ #: ../page_post_redirect_plugin.php:1313
1115
+ msgid "Cancel"
1116
+ msgstr "Cancelar"
1117
+
1118
+ #: ../page_post_redirect_plugin.php:1354
1119
+ msgid "Edit"
1120
+ msgstr "Editar"
1121
+
1122
+ #: ../page_post_redirect_plugin.php:1355
1123
+ msgid "Delete"
1124
+ msgstr "Dorrar"
lang/quick-pagepost-redirect-plugin.pot CHANGED
@@ -5,7 +5,7 @@ msgstr ""
5
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
6
"Report-Msgid-Bugs-To: \n"
7
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
8
- "POT-Revision-Date: Tue Aug 18 2015 15:53:04 GMT-0400 (Eastern Daylight Time)\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: dfischer <admin2@fischercreativemedia.com>\n"
11
"Language-Team: \n"
@@ -25,6 +25,33 @@ msgstr ""
25
"X-Loco-Target-Locale: en_US\n"
26
"X-Generator: Loco - https://localise.biz/"
27
28
#: ../page_post_redirect_plugin.php:272
29
msgid "New Meta Redirect options."
30
msgstr ""
@@ -515,7 +542,7 @@ msgid ""
515
"be undone!"
516
msgstr ""
517
518
- #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2278
519
msgid "Save Changes"
520
msgstr ""
521
@@ -613,7 +640,7 @@ msgid ""
613
"will not compeletely load. "
614
msgstr ""
615
616
- #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2256
617
msgid "Redirect Seconds"
618
msgstr ""
619
@@ -631,7 +658,7 @@ msgid ""
631
"trigger happens."
632
msgstr ""
633
634
- #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2260
635
msgid "Redirect Trigger"
636
msgstr ""
637
@@ -667,7 +694,7 @@ msgid ""
667
"on all events."
668
msgstr ""
669
670
- #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2264
671
msgid "Append Content To"
672
msgstr ""
673
@@ -690,7 +717,7 @@ msgid ""
690
"used."
691
msgstr ""
692
693
- #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2268
694
msgid "Page Content"
695
msgstr ""
696
@@ -970,49 +997,50 @@ msgstr ""
970
msgid "method."
971
msgstr ""
972
973
- #: ../page_post_redirect_plugin.php:2244
974
msgid "Meta Redirect Settings"
975
msgstr ""
976
977
- #: ../page_post_redirect_plugin.php:2245
978
msgid "Settings Updated"
979
msgstr ""
980
981
- #: ../page_post_redirect_plugin.php:2246
982
msgid ""
983
"This section is for updating options for redirects that use the \"meta "
984
"refresh\" funcitonality for redirecting."
985
msgstr ""
986
987
- #: ../page_post_redirect_plugin.php:2247
988
msgid ""
989
"Using the setting below, you can add elements or a message to the page that "
990
"is loaded before tht redirect, or just allow the page to load as normal "
991
"until the redirect reaches the number of seconds you have set below."
992
msgstr ""
993
994
- #: ../page_post_redirect_plugin.php:2252
995
msgid "Load Page Content?"
996
msgstr ""
997
998
- #: ../page_post_redirect_plugin.php:2253
999
msgid ""
1000
"Check if you want the normal page to load before redirect happens (if "
1001
"redirect is 0 seconds, it may not load fully)."
1002
msgstr ""
1003
1004
- #: ../page_post_redirect_plugin.php:2257
1005
msgid "instant"
1006
msgstr ""
1007
1008
- #: ../page_post_redirect_plugin.php:2257
1009
msgid ""
1010
"would redirect 10 seconds after the required element is loaded (i.e., body "
1011
"or an element with a specific class). *Intsant will still have a 'slight' "
1012
- "delay, as some content needs to load before the redirect occurs."
1013
msgstr ""
1014
1015
- #: ../page_post_redirect_plugin.php:2261
1016
#, php-format
1017
msgid ""
1018
"The %1$s, %2$s or tag name of the element you want to load before triggering "
@@ -1022,14 +1050,14 @@ msgid ""
1022
"use %6$s or %7$s."
1023
msgstr ""
1024
1025
- #: ../page_post_redirect_plugin.php:2265
1026
#, php-format
1027
msgid ""
1028
"The %1$s, %2$s or tag name of the element you want the content to load into "
1029
"when the page loads."
1030
msgstr ""
1031
1032
- #: ../page_post_redirect_plugin.php:2269
1033
#, php-format
1034
msgid ""
1035
"Be sure to include a tag with your class or ID or tag name (entered above) "
@@ -1039,31 +1067,31 @@ msgid ""
1039
"shown."
1040
msgstr ""
1041
1042
- #: ../page_post_redirect_plugin.php:2269
1043
msgid "Add your content below"
1044
msgstr ""
1045
1046
- #: ../page_post_redirect_plugin.php:2271
1047
msgid "To use a counter, add the following:"
1048
msgstr ""
1049
1050
- #: ../page_post_redirect_plugin.php:2273
1051
msgid "The \"%1$\" will be replaced with the actual seconds."
1052
msgstr ""
1053
1054
- #: ../page_post_redirect_plugin.php:2296
1055
msgid "You have the Addon Plugin"
1056
msgstr ""
1057
1058
- #: ../page_post_redirect_plugin.php:2296
1059
msgid "activated. This plugin's functionality is now built into the parent"
1060
msgstr ""
1061
1062
- #: ../page_post_redirect_plugin.php:2296
1063
msgid "so you no longer need to have the addon plugin installed."
1064
msgstr ""
1065
1066
- #: ../page_post_redirect_plugin.php:2297
1067
msgid ""
1068
"The plugin will be deactivated now to prevent conflicts. You may delete it "
1069
"if you desire."
5
"Project-Id-Version: Quick Page/Post Redirect Plugin\n"
6
"Report-Msgid-Bugs-To: \n"
7
"POT-Creation-Date: Fri Jun 19 2015 23:42:16 GMT-0400 (Eastern Daylight Time)\n"
8
+ "POT-Revision-Date: Fri Sep 18 2015 12:46:18 GMT-0400 (Eastern Daylight Time)\n"
9
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
10
"Last-Translator: dfischer <admin2@fischercreativemedia.com>\n"
11
"Language-Team: \n"
25
"X-Loco-Target-Locale: en_US\n"
26
"X-Generator: Loco - https://localise.biz/"
27
28
+ #. Name of the plugin
29
+ msgid "Quick Page/Post Redirect Plugin"
30
+ msgstr ""
31
+
32
+ #. URI of the plugin
33
+ msgid ""
34
+ "http://www.fischercreativemedia.com/wordpress-plugins/quick-pagepost-"
35
+ "redirect-plugin"
36
+ msgstr ""
37
+
38
+ #. Description of the plugin
39
+ msgid ""
40
+ "Redirect Pages, Posts or Custom Post Types to another location quickly (for "
41
+ "internal or external URLs). Includes individual post/page options, redirects "
42
+ "for Custom Post types, non-existant 301 Quick Redirects (helpful for sites "
43
+ "converted to WordPress), New Window functionality, and rel=nofollow "
44
+ "functionality."
45
+ msgstr ""
46
+
47
+ #. Author of the plugin
48
+ msgid "Don Fischer"
49
+ msgstr ""
50
+
51
+ #. Author URI of the plugin
52
+ msgid "http://www.fischercreativemedia.com"
53
+ msgstr ""
54
+
55
#: ../page_post_redirect_plugin.php:272
56
msgid "New Meta Redirect options."
57
msgstr ""
542
"be undone!"
543
msgstr ""
544
545
+ #: ../page_post_redirect_plugin.php:1098 ../page_post_redirect_plugin.php:2275
546
msgid "Save Changes"
547
msgstr ""
548
640
"will not compeletely load. "
641
msgstr ""
642
643
+ #: ../page_post_redirect_plugin.php:1184 ../page_post_redirect_plugin.php:2253
644
msgid "Redirect Seconds"
645
msgstr ""
646
658
"trigger happens."
659
msgstr ""
660
661
+ #: ../page_post_redirect_plugin.php:1190 ../page_post_redirect_plugin.php:2257
662
msgid "Redirect Trigger"
663
msgstr ""
664
694
"on all events."
695
msgstr ""
696
697
+ #: ../page_post_redirect_plugin.php:1199 ../page_post_redirect_plugin.php:2261
698
msgid "Append Content To"
699
msgstr ""
700
717
"used."
718
msgstr ""
719
720
+ #: ../page_post_redirect_plugin.php:1206 ../page_post_redirect_plugin.php:2265
721
msgid "Page Content"
722
msgstr ""
723
997
msgid "method."
998
msgstr ""
999
1000
+ #: ../page_post_redirect_plugin.php:2241
1001
msgid "Meta Redirect Settings"
1002
msgstr ""
1003
1004
+ #: ../page_post_redirect_plugin.php:2242
1005
msgid "Settings Updated"
1006
msgstr ""
1007
1008
+ #: ../page_post_redirect_plugin.php:2243
1009
msgid ""
1010
"This section is for updating options for redirects that use the \"meta "
1011
"refresh\" funcitonality for redirecting."
1012
msgstr ""
1013
1014
+ #: ../page_post_redirect_plugin.php:2244
1015
msgid ""
1016
"Using the setting below, you can add elements or a message to the page that "
1017
"is loaded before tht redirect, or just allow the page to load as normal "
1018
"until the redirect reaches the number of seconds you have set below."
1019
msgstr ""
1020
1021
+ #: ../page_post_redirect_plugin.php:2249
1022
msgid "Load Page Content?"
1023
msgstr ""
1024
1025
+ #: ../page_post_redirect_plugin.php:2250
1026
msgid ""
1027
"Check if you want the normal page to load before redirect happens (if "
1028
"redirect is 0 seconds, it may not load fully)."
1029
msgstr ""
1030
1031
+ #: ../page_post_redirect_plugin.php:2254
1032
msgid "instant"
1033
msgstr ""
1034
1035
+ #: ../page_post_redirect_plugin.php:2254
1036
msgid ""
1037
"would redirect 10 seconds after the required element is loaded (i.e., body "
1038
"or an element with a specific class). *Intsant will still have a 'slight' "
1039
+ "delay, as some content needs to load before the redirect occurs. Settings on "
1040
+ "individual pages will override this setting."
1041
msgstr ""
1042
1043
+ #: ../page_post_redirect_plugin.php:2258
1044
#, php-format
1045
msgid ""
1046
"The %1$s, %2$s or tag name of the element you want to load before triggering "
1050
"use %6$s or %7$s."
1051
msgstr ""
1052
1053
+ #: ../page_post_redirect_plugin.php:2262
1054
#, php-format
1055
msgid ""
1056
"The %1$s, %2$s or tag name of the element you want the content to load into "
1057
"when the page loads."
1058
msgstr ""
1059
1060
+ #: ../page_post_redirect_plugin.php:2266
1061
#, php-format
1062
msgid ""
1063
"Be sure to include a tag with your class or ID or tag name (entered above) "
1067
"shown."
1068
msgstr ""
1069
1070
+ #: ../page_post_redirect_plugin.php:2266
1071
msgid "Add your content below"
1072
msgstr ""
1073
1074
+ #: ../page_post_redirect_plugin.php:2268
1075
msgid "To use a counter, add the following:"
1076
msgstr ""
1077
1078
+ #: ../page_post_redirect_plugin.php:2270
1079
msgid "The \"%1$\" will be replaced with the actual seconds."
1080
msgstr ""
1081
1082
+ #: ../page_post_redirect_plugin.php:2293
1083
msgid "You have the Addon Plugin"
1084
msgstr ""
1085
1086
+ #: ../page_post_redirect_plugin.php:2293
1087
msgid "activated. This plugin's functionality is now built into the parent"
1088
msgstr ""
1089
1090
+ #: ../page_post_redirect_plugin.php:2293
1091
msgid "so you no longer need to have the addon plugin installed."
1092
msgstr ""
1093
1094
+ #: ../page_post_redirect_plugin.php:2294
1095
msgid ""
1096
"The plugin will be deactivated now to prevent conflicts. You may delete it "
1097
"if you desire."
page_post_redirect_plugin.php CHANGED
@@ -6,7 +6,7 @@ Description: Redirect Pages, Posts or Custom Post Types to another location quic
6
Author: Don Fischer
7
Author URI: http://www.fischercreativemedia.com/
8
Donate link: http://www.fischercreativemedia.com/donations/
9
- Version: 5.1.2
10
Text Domain: quick-pagepost-redirect-plugin
11
Domain Path: /lang
12
License: GPLv2 or later
@@ -71,7 +71,7 @@ class quick_page_post_reds {
71
public $pprptypes_ok;
72
73
function __construct() {
74
- $this->ppr_curr_version = '5.1.2';
75
$this->ppr_nofollow = array();
76
$this->ppr_newindow = array();
77
$this->ppr_url = array();
@@ -626,8 +626,8 @@ class quick_page_post_reds {
626
};
627
}
628
$joinSQL = ((int) $allNewWin == 1 || (int) $allNoFoll == 1 || $rewrite ) ? "" : " INNER JOIN {$wpdb->prefix}postmeta AS mt3 ON ( {$wpdb->prefix}posts.ID = mt3.post_id ) ";
629
- $whereSQL = ((int) $allNewWin == 1 || (int) $allNoFoll == 1 || $rewrite ) ? "" : " AND ( ( mt3.meta_key = '_pprredirect_relnofollow' AND CAST(mt3.meta_value AS CHAR) = '1' ) OR ( mt3.meta_key = '_pprredirect_newwindow' AND CAST(mt3.meta_value AS CHAR) = '1' ) OR ( mt3.meta_key = '_pprredirect_rewritelink' AND CAST(mt3.meta_value AS CHAR) = '1' ) ) ";
630
- $finalSQL = "SELECT {$wpdb->prefix}posts.ID FROM {$wpdb->prefix}posts INNER JOIN {$wpdb->prefix}postmeta ON ( {$wpdb->prefix}posts.ID = {$wpdb->prefix}postmeta.post_id ) INNER JOIN {$wpdb->prefix}postmeta AS mt1 ON ( {$wpdb->prefix}posts.ID = mt1.post_id ) INNER JOIN {$wpdb->prefix}postmeta AS mt2 ON ( {$wpdb->prefix}posts.ID = mt2.post_id ) {$joinSQL} WHERE 1=1 AND ( ( {$wpdb->prefix}postmeta.meta_key = '_pprredirect_active' AND CAST({$wpdb->prefix}postmeta.meta_value AS CHAR) = '1' ) AND ( mt1.meta_key = '_pprredirect_type' AND CAST(mt1.meta_value AS CHAR) != '' ) AND ( mt2.meta_key = '_pprredirect_url' AND CAST(mt2.meta_value AS CHAR) != '' ) {$whereSQL}) AND {$wpdb->prefix}posts.post_type NOT IN ('attachment', 'nav_menu_item', 'revision' ) AND (({$wpdb->prefix}posts.post_status = 'publish')) GROUP BY {$wpdb->prefix}posts.ID ORDER BY {$wpdb->prefix}posts.post_date DESC ";
631
$indReds = $wpdb->get_results($finalSQL);
632
if( is_array($indReds) && !empty($indReds) ){
633
foreach( $indReds as $key => $qpost ){
@@ -2203,13 +2203,14 @@ class quick_page_post_reds {
2203
$timer = (int) $secs * 100;
2204
$appendTo = $appMsgTo != '' ? $appMsgTo : get_option( 'qppr_meta_append_to', 'body' );
2205
$injectMsg = $content != '' ? '<div id="ppr_custom_message">'.$content.'</div>' : '';
2206
if( !$load ) {
2207
echo '<!DOCTYPE html>'."\n";
2208
echo '<html>'."\n";
2209
echo '<head>'."\n";
2210
- //wp_enqueue_script( 'qppr-meta-redirect-no-load', plugins_url( '/js/qppr_meta_redirect.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2211
- wp_enqueue_script( 'qppr-meta-redirect-no-load', plugins_url( '/js/qppr_meta_redirect.min.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2212
- wp_localize_script( 'qppr-meta-redirect-no-load', 'qpprMetaData', array( 'appendTo' => $appendTo, 'class' => $class, 'secs' => $secs, 'refreshURL' => $refresh_url , 'injectMsg' => $injectMsg ) );
2213
global $wp_scripts;
2214
$allowScripts = array('jquery','qppr-meta-redirect-no-load');
2215
$jqnew = isset( $wp_scripts->queue ) ? $wp_scripts->queue : array() ;
@@ -2221,11 +2222,7 @@ class quick_page_post_reds {
2221
}
2222
}
2223
wp_print_scripts();
2224
- // IE will not redirect an injected meta refresh.
2225
- if( $is_IE ) {
2226
- echo ' <meta http-equiv="refresh" content="'.$secs.';url='.$refresh_url.'">';
2227
- }
2228
- echo '<head>'."\n";
2229
echo '<body>'."\n";
2230
echo '</body>'."\n";
2231
echo '</html>';
@@ -2233,7 +2230,7 @@ class quick_page_post_reds {
2233
}else{
2234
//wp_enqueue_script( 'qppr-meta-redirect-load', plugins_url( '/js/qppr_meta_redirect.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2235
wp_enqueue_script( 'qppr-meta-redirect-load', plugins_url( '/js/qppr_meta_redirect.min.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2236
- wp_localize_script( 'qppr-meta-redirect-load', 'qpprMetaData', array('appendTo' => $appendTo, 'class' => $class, 'secs' => $secs, 'refreshURL' => $refresh_url , 'injectMsg' => $injectMsg ) );
2237
}
2238
return;
2239
}
@@ -2254,7 +2251,7 @@ class quick_page_post_reds {
2254
</tr>
2255
<tr>
2256
<th scope="row"><label><?php echo __( 'Redirect Seconds', 'quick-pagepost-redirect-plugin' );?>:</label></th>
2257
- <td><input type="text" size="5" name="qppr_meta_addon_sec" value="<?php echo get_option('qppr_meta_addon_sec', '0'); ?>"/><span><code>0</code> = <?php echo __( 'instant', 'quick-pagepost-redirect-plugin' );?>*. <code>10</code> <?php echo __( 'would redirect 10 seconds after the required element is loaded (i.e., body or an element with a specific class). *Intsant will still have a \'slight\' delay, as some content needs to load before the redirect occurs.', 'quick-pagepost-redirect-plugin' );?></span></td>
2258
</tr>
2259
<tr>
2260
<th scope="row"><label><?php echo __( 'Redirect Trigger', 'quick-pagepost-redirect-plugin' );?>:</label></th>
@@ -2484,4 +2481,51 @@ function qppr_delete_quick_redirect( $request_url = '' ){
2484
$redirect_plugin->quickppr_redirectsmeta = get_option( 'quickppr_redirects_meta', array() );
2485
$redirect_plugin->quickppr_redirects = get_option( 'quickppr_redirects', array() );
2486
return true;
2487
}
6
Author: Don Fischer
7
Author URI: http://www.fischercreativemedia.com/
8
Donate link: http://www.fischercreativemedia.com/donations/
9
+ Version: 5.1.3
10
Text Domain: quick-pagepost-redirect-plugin
11
Domain Path: /lang
12
License: GPLv2 or later
71
public $pprptypes_ok;
72
73
function __construct() {
74
+ $this->ppr_curr_version = '5.1.3';
75
$this->ppr_nofollow = array();
76
$this->ppr_newindow = array();
77
$this->ppr_url = array();
626
};
627
}
628
$joinSQL = ((int) $allNewWin == 1 || (int) $allNoFoll == 1 || $rewrite ) ? "" : " INNER JOIN {$wpdb->prefix}postmeta AS mt3 ON ( {$wpdb->prefix}posts.ID = mt3.post_id ) ";
629
+ $whereSQL = ((int) $allNewWin == 1 || (int) $allNoFoll == 1 || $rewrite ) ? "" : " AND ( ( {$wpdb->prefix}postmeta.meta_key = '_pprredirect_active' AND CAST( {$wpdb->prefix}postmeta.meta_value AS CHAR ) = '1') AND ( mt1.meta_key = '_pprredirect_type' AND CAST( mt1.meta_value AS CHAR ) != '' ) AND ( mt2.meta_key = '_pprredirect_url' AND CAST( mt2.meta_value AS CHAR ) != '' )) AND (( mt3.meta_key = '_pprredirect_newwindow' AND CAST( mt3.meta_value AS CHAR ) = '1' ) OR ( mt3.meta_key = '_pprredirect_relnofollow' AND CAST( mt3.meta_value AS CHAR ) = '1' ) OR ( mt3.meta_key = '_pprredirect_rewritelink' AND CAST( mt3.meta_value AS CHAR ) = '1' )) ";
630
+ $finalSQL = "SELECT {$wpdb->prefix}posts.ID FROM {$wpdb->prefix}posts INNER JOIN {$wpdb->prefix}postmeta ON ( {$wpdb->prefix}posts.ID = {$wpdb->prefix}postmeta.post_id ) INNER JOIN {$wpdb->prefix}postmeta AS mt1 ON ( {$wpdb->prefix}posts.ID = mt1.post_id ) INNER JOIN {$wpdb->prefix}postmeta AS mt2 ON ( {$wpdb->prefix}posts.ID = mt2.post_id ) {$joinSQL} WHERE 1=1 {$whereSQL} AND {$wpdb->prefix}posts.post_type NOT IN ('attachment', 'nav_menu_item', 'revision' ) AND {$wpdb->prefix}posts.post_status = 'publish' GROUP BY {$wpdb->prefix}posts.ID ORDER BY {$wpdb->prefix}posts.post_date DESC ";
631
$indReds = $wpdb->get_results($finalSQL);
632
if( is_array($indReds) && !empty($indReds) ){
633
foreach( $indReds as $key => $qpost ){
2203
$timer = (int) $secs * 100;
2204
$appendTo = $appMsgTo != '' ? $appMsgTo : get_option( 'qppr_meta_append_to', 'body' );
2205
$injectMsg = $content != '' ? '<div id="ppr_custom_message">'.$content.'</div>' : '';
2206
+ $bfamily = qppr_get_browser_family();
2207
if( !$load ) {
2208
+ //wp_enqueue_script( 'qppr-meta-redirect-no-load', plugins_url( '/js/qppr_meta_redirect.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2209
+ wp_enqueue_script( 'qppr-meta-redirect-no-load', plugins_url( '/js/qppr_meta_redirect.min.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2210
+ wp_localize_script( 'qppr-meta-redirect-no-load', 'qpprMetaData', array( 'browserFamily' => $bfamily,'appendTo' => $appendTo, 'class' => $class, 'secs' => $secs, 'refreshURL' => $refresh_url , 'injectMsg' => $injectMsg ) );
2211
echo '<!DOCTYPE html>'."\n";
2212
echo '<html>'."\n";
2213
echo '<head>'."\n";
2214
global $wp_scripts;
2215
$allowScripts = array('jquery','qppr-meta-redirect-no-load');
2216
$jqnew = isset( $wp_scripts->queue ) ? $wp_scripts->queue : array() ;
2222
}
2223
}
2224
wp_print_scripts();
2225
+ echo '</head>'."\n";
2226
echo '<body>'."\n";
2227
echo '</body>'."\n";
2228
echo '</html>';
2230
}else{
2231
//wp_enqueue_script( 'qppr-meta-redirect-load', plugins_url( '/js/qppr_meta_redirect.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2232
wp_enqueue_script( 'qppr-meta-redirect-load', plugins_url( '/js/qppr_meta_redirect.min.js', __FILE__ ), array( 'jquery' ), $this->ppr_curr_version, false );
2233
+ wp_localize_script( 'qppr-meta-redirect-load', 'qpprMetaData', array('browserFamily' => $bfamily, 'appendTo' => $appendTo, 'class' => $class, 'secs' => $secs, 'refreshURL' => $refresh_url , 'injectMsg' => $injectMsg ) );
2234
}
2235
return;
2236
}
2251
</tr>
2252
<tr>
2253
<th scope="row"><label><?php echo __( 'Redirect Seconds', 'quick-pagepost-redirect-plugin' );?>:</label></th>
2254
+ <td><input type="text" size="5" name="qppr_meta_addon_sec" value="<?php echo get_option('qppr_meta_addon_sec', '0'); ?>"/><span><code>0</code> = <?php echo __( 'instant', 'quick-pagepost-redirect-plugin' );?>*. <code>10</code> <?php echo __( 'would redirect 10 seconds after the required element is loaded (i.e., body or an element with a specific class). *Intsant will still have a \'slight\' delay, as some content needs to load before the redirect occurs. Settings on individual pages will override this setting.', 'quick-pagepost-redirect-plugin' );?></span></td>
2255
</tr>
2256
<tr>
2257
<th scope="row"><label><?php echo __( 'Redirect Trigger', 'quick-pagepost-redirect-plugin' );?>:</label></th>
2481
$redirect_plugin->quickppr_redirectsmeta = get_option( 'quickppr_redirects_meta', array() );
2482
$redirect_plugin->quickppr_redirects = get_option( 'quickppr_redirects', array() );
2483
return true;
2484
+ }
2485
+
2486
+ /**
2487
+ * qppr_get_browser_family - helper function that uses HTTP_USER_AGENT to determine browser family (for meta redirect).
2488
+ * @param type string either 'name' or 'class'
2489
+ * @return string returns browser family name or class (using sanitize_title_with_dashes function).
2490
+ * returns 'unknown' if browser family is not known.
2491
+ * @since: 5.1.3
2492
+ * @example:
2493
+ * *****************
2494
+ $browserFamilyName = qppr_get_browser_family( 'name' );
2495
+ * *****************
2496
+ */
2497
+ function qppr_get_browser_family( $type = 'class' ){ //name or class
2498
+ global $is_iphone,$is_chrome,$is_safari,$is_NS4,$is_opera,$is_macIE,$is_winIE,$is_gecko,$is_lynx,$is_IE,$is_edge;
2499
+ if( $is_IE ){
2500
+ if( $is_macIE )
2501
+ $name = 'Mac Internet Explorer';
2502
+ if( $is_winIE )
2503
+ $name = 'Windows Internet Explorer';
2504
+ $name = 'Internet Explorer';
2505
+ }else if( $is_iphone || $is_safari ){
2506
+ if( $is_safari )
2507
+ $name = 'Safari';
2508
+ $name = 'iPhone Safari';
2509
+ }else if( $is_edge ){
2510
+ $name = 'Microsoft Edge';
2511
+ }else if( $is_chrome ){
2512
+ $name = 'Google Chrome';
2513
+ if ( isset($_SERVER['HTTP_USER_AGENT']) ) {
2514
+ if ( strpos($_SERVER['HTTP_USER_AGENT'], 'Edge') !== false )
2515
+ $name = 'Microsoft Edge';
2516
+ }
2517
+ }else if( $is_NS4 ){
2518
+ $name = 'Netscape 4';
2519
+ }else if( $is_opera ){
2520
+ $name = 'Opera';
2521
+ }else if( $is_gecko ){
2522
+ $name = 'FireFox';
2523
+ }else if( $is_lynx ){
2524
+ $name = 'Lynx';
2525
+ }else{
2526
+ $name = 'Unknown';
2527
+ }
2528
+ if($type == 'name')
2529
+ return $name;
2530
+ return sanitize_title_with_dashes( 'browser-'.$name );
2531
}
readme.txt CHANGED
@@ -5,13 +5,13 @@ Tags: redirect, 301, 302, meta, plugin, forward, nofollow, posts, pages, 404, cu
5
Requires at least: 4.0
6
License: GPLv2 or later
7
License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
- Tested up to: 4.3
9
- Stable tag: 5.1.2
10
11
Easily redirect pages/posts or custom post types to another page/post or external URL by specifying the redirect URL and type (301, 302, 307, meta).
12
13
== Description ==
14
- **Current Version 5.1.2**
15
16
This plugin has two redirect functionalities - **"Quick Redirects"** and **"Individual Redirects"**:
17
@@ -42,10 +42,11 @@ For best results use some form of WordPress Permalink structure. If you have oth
42
43
= What You CANNOT Do: =
44
* This plugin does not have wild-card redirect features.
45
* You cannot redirect the Home (Posts) page - unless you set a page as the home page and redirect that.
46
* If your theme uses some form of custom layout or functionality, some features may not work like open on a new window or no follow functionality UNLESS you have the **Use jQuery?** option to set.
47
48
- This plugin is not compatible with WordPress versions less than 3.9. Requires PHP 5.2+.
49
50
**PLEASE NOTE:** A new page or post needs to be Published in order for Page/Post redirect to happen for Individual Redirects (existing page is not necessary for Quick Redirects). It WILL work on a DRAFT Status Post/Page ONLY, and I mean ONLY, if the Post/Page has FIRST been Published and the re-saved as a Draft. This does not apply to Quick Redirects.
51
@@ -71,7 +72,7 @@ This plugin is not compatible with WordPress versions less than 3.9. Requires PH
71
72
= If you install this plugin through WordPress 2.8+ plugin search interface: =
73
1. Click Install `Quick Page/Post Redirect Plugin`
74
- 1. Activate the plugin through the 'Plugins' menu in WordPress
75
1. Once Activated, you can add a redirect by entering the correct information in the `Quick Page/Post Redirect` box in the edit section of a page or post
76
1. You can create a redirect with the 'Quick Redirects' option located in the Quick Redirects admin menu.
77
@@ -163,7 +164,6 @@ Still not sure? Try 302 for now - at least until you have a little time to read
163
NO it isn't! Check the plugin FAQs/Help page for a more up to date list of Frequently Asked Questions. The plugin now has a live feed of FAQs that can be updated regularly. If you have something you think we should add, please let us know.
164
165
== Screenshots ==
166
-
167
1. Quick Redirects setup page - Now with ajax editing.
168
2. Import and Export features.
169
3. Options/Setting Page.
@@ -173,6 +173,13 @@ NO it isn't! Check the plugin FAQs/Help page for a more up to date list of Frequ
173
7. Meta Redirect Options Page.
174
175
== Changelog ==
176
= 5.1.2 =
177
* **Update:** Updated English Translations.
178
* **Update:** Updated license.txt file (had wrong version of license).
@@ -339,5 +346,5 @@ NO it isn't! Check the plugin FAQs/Help page for a more up to date list of Frequ
339
* Initial Plugin creation (7/1/2009)
340
341
== Upgrade Notice ==
342
- = 5.1.2 =
343
- * WP 4.3 Update - Bug Fixes, Updates, and some Features Added.
5
Requires at least: 4.0
6
License: GPLv2 or later
7
License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
+ Tested up to: 4.3.1
9
+ Stable tag: 5.1.3
10
11
Easily redirect pages/posts or custom post types to another page/post or external URL by specifying the redirect URL and type (301, 302, 307, meta).
12
13
== Description ==
14
+ **Current Version 5.1.3**
15
16
This plugin has two redirect functionalities - **"Quick Redirects"** and **"Individual Redirects"**:
17
42
43
= What You CANNOT Do: =
44
* This plugin does not have wild-card redirect features.
45
+ * This plugin DOES NOT modify the .htaccess file. It works using the WordPress function wp_redirect(), which is a form of PHP header location redirect.
46
* You cannot redirect the Home (Posts) page - unless you set a page as the home page and redirect that.
47
* If your theme uses some form of custom layout or functionality, some features may not work like open on a new window or no follow functionality UNLESS you have the **Use jQuery?** option to set.
48
49
+ This plugin is not compatible with WordPress versions less than 4.0. Requires PHP 5.2+.
50
51
**PLEASE NOTE:** A new page or post needs to be Published in order for Page/Post redirect to happen for Individual Redirects (existing page is not necessary for Quick Redirects). It WILL work on a DRAFT Status Post/Page ONLY, and I mean ONLY, if the Post/Page has FIRST been Published and the re-saved as a Draft. This does not apply to Quick Redirects.
52
72
73
= If you install this plugin through WordPress 2.8+ plugin search interface: =
74
1. Click Install `Quick Page/Post Redirect Plugin`
75
+ 1. Activate the plugin through the 'Plugins' menu.
76
1. Once Activated, you can add a redirect by entering the correct information in the `Quick Page/Post Redirect` box in the edit section of a page or post
77
1. You can create a redirect with the 'Quick Redirects' option located in the Quick Redirects admin menu.
78
164
NO it isn't! Check the plugin FAQs/Help page for a more up to date list of Frequently Asked Questions. The plugin now has a live feed of FAQs that can be updated regularly. If you have something you think we should add, please let us know.
165
166
== Screenshots ==
167
1. Quick Redirects setup page - Now with ajax editing.
168
2. Import and Export features.
169
3. Options/Setting Page.
173
7. Meta Redirect Options Page.
174
175
== Changelog ==
176
+ = 5.1.3 =
177
+ * **Update:** Updated English Translations.
178
+ * **Bug Fix:** Fixed Meta redirect functions so browsers that no longer allow refresh redirects can still use Meta redirects (i.e., Firefox, Edge, some IE).
179
+ * **Bug Fix:** Fixed Function for Individual Redirects for New Window functionality. Was not working unless both No Follow and New Window were selected.
180
+ * **TODO:** Add New Window and No Follow to links where the URL has been rewritten. Currently if you rewrite the URL neither will work as they are referenced with the original URL, not the rewrite.
181
+ * **TODO (Still):** Add Canonical Redirect filter to fix potential www/non-www redirect match problems.
182
+
183
= 5.1.2 =
184
* **Update:** Updated English Translations.
185
* **Update:** Updated license.txt file (had wrong version of license).
346
* Initial Plugin creation (7/1/2009)
347
348
== Upgrade Notice ==
349
+ = 5.1.3 =
350
+ * Bug Fixes to Meta Redirect and New Window functionality.