Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
kobzeci
tagDiv Member

i’ve just found it. Nextgen Gallery plugin was causing a problem. It somehow splist the scripts. Deactivating the plugin gives valid result. Now i’ll do manual work to trnasform old galleries.

Best,
Zeki

kobzeci
tagDiv Member

Hi,

As far as i see, your site has no validation errors.

As i try, the theme injected script remains on amp pages so it gives an validation error.

AMP -Automattic
Accelerated Mobile Pages
Yoast Glue

Which plugin and setting combination did u use?

For example the following script is on regular page and how can you managed to disregard the following script on your amp page?

<script>

(function(){
var html_jquery_obj = jQuery(‘html’);

if (html_jquery_obj.length && (html_jquery_obj.is(‘.ie8’) || html_jquery_obj.is(‘.ie9’))) {

var path = ‘https://www.howtoisolve.com/wp-content/themes/Newspaper/style.css&#8217;;

jQuery.get(path, function(data) {

var str_split_separator = ‘#td_css_split_separator’;
var arr_splits = data.split(str_split_separator);
var arr_length = arr_splits.length;

if (arr_length > 1) {

var dir_path = ‘https://www.howtoisolve.com/wp-content/themes/Newspaper&#8217;;
var splited_css = ”;

for (var i = 0; i < arr_length; i++) {
if (i > 0) {
arr_splits[i] = str_split_separator + ‘ ‘ + arr_splits[i];
}
//jQuery(‘head’).append(‘<style>’ + arr_splits[i] + ‘</style>’);

var formated_str = arr_splits[i].replace(/\surl\(\'(?!data\:)/gi, function regex_function(str) {
return ‘ url(\” + dir_path + ‘/’ + str.replace(/url\(\’/gi, ”).replace(/^\s+|\s+$/gm,”);
});

splited_css += “<style>” + formated_str + “</style>”;
}

var td_theme_css = jQuery(‘link#td-theme-css’);

if (td_theme_css.length) {
td_theme_css.after(splited_css);
}
}
});
}
})();

</script>

kobzeci
tagDiv Member

I have the same issue but urls end with facebook.com and twitter.com

Updated the permalinks but still have a growing number of 404.

https://forum.tagdiv.com/topic/many-404-errors-with-an-url-structure-like-sitenamepostfacebookc-comsite/

Viewing 3 posts - 1 through 3 (of 3 total)