lutfisland
Forum Replies Created
-
Thank you @arnaudbroes
The script can run smoothly on my website. However, the script above still lacks a closing parenthesis ‘)’. Here is the script I am using:
add_filter( 'aioseo_facebook_tags', 'aioseo_filter_og_locale' ); function aioseo_filter_og_locale( $facebookMeta ) { if (isset( $facebookMeta['og:locale'] )) { $facebookMeta['og:locale'] = 'id_Id'; } return $facebookMeta; }- This reply was modified 2 years, 9 months ago by lutfisland.
Thank you @arnaudbroes
I will waiting for your update..Thank you @arnaudbroes
it’s work for me.. but i have a question for you. How to make the canonical url still exist, but with the correct format..Before i add your script, my canonical url error like this :
xxx/journal/journal/search_page… how to make only for xxx/journal/search_page ?i have the same problem, where the canonical url on the search page is xxxx/journal/journal/search_page..
i try this https://ww.wp.xz.cn/support/topic/modify-or-remove-canonical-created-by-all-in-one-seo/
For me, it’s work for remove the canonical url in search page. But, do you know how make the canonical url same with the url page search ?