Mike Waller
asked on
Changing Sitemap Frequency on XML File
I am using the Yoast SEO plugin on my site and found a solution here http://chykalophia.com/wordpress/change-yoast-sitemap-frequency-and-priority/ to change the sitemap frequency but for some reason I can't change the home page frequency to daily. I have the following:
add_filter( 'wpseo_sitemap_homepage_ch ange_freq' , 'my_custom_homepage_freq', 10, 2 );
function my_custom_homepage_freq( $default, $url ) {
return 'daily';
}
All pages including the home page are set to weekly.
Any ideas experts?
add_filter( 'wpseo_sitemap_homepage_ch
function my_custom_homepage_freq( $default, $url ) {
return 'daily';
}
All pages including the home page are set to weekly.
Any ideas experts?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
B-) Glad to help! Thx for the grade and points
ASKER