I ran my site through an SEO checker and it told me I had 2 temporary redirects.. the redirect moves the page "http://flowersforeveryone.co.za/my-account\" to "http://flowersforeveryone.co.za/my-account/"
Does anyone know why there would be "\" in any of the URLs to begin with?
I found this piece of code in the functions.php file that is think is doing it...
// Remove Menu Tooltips
function my_menu_notitle( $menu ){
return $menu = preg_replace('/ title=\"(.*?)\"/', '', $menu );
}
add_filter( 'wp_nav_menu', 'my_menu_notitle' );
add_filter( 'wp_page_menu', 'my_menu_notitle' );
add_filter( 'wp_list_categories', 'my_menu_notitle' );
I want to try fix this if I can as i'm trying to optimise SEO
Aucun commentaire:
Enregistrer un commentaire