How ton index with a menu call in every page ?
Posted: Sun Mar 03, 2024 11:09 am
Good morning,
I have a problem that I can't solve for indexing.
I explain to you :
On my site, I have an horizontal drop-down menu which is called on each page by a "require" integrated into my header like this: require_once( ROOT_PATH_LINK.'menu/index.php' );
My problem is that this menu is indexed to each link taken into account by Sphider. You follow me ?
Which means that in my sphider_links table, in the fulltxt column, I have all the words in my menu for each link. Example: "La ville La Mairie Les bulletins municipaux Les transports La navette 'Coeur de ville' Voyager avec Mobigo Les associations La bibliothèque municipale ...."
So if I search for transports for example, I will find it in all the links on the site even if it is not in the link concerned.
And I don't see how to get around this problem. Do you have an idea please?
I have a problem that I can't solve for indexing.
I explain to you :
On my site, I have an horizontal drop-down menu which is called on each page by a "require" integrated into my header like this: require_once( ROOT_PATH_LINK.'menu/index.php' );
My problem is that this menu is indexed to each link taken into account by Sphider. You follow me ?
Which means that in my sphider_links table, in the fulltxt column, I have all the words in my menu for each link. Example: "La ville La Mairie Les bulletins municipaux Les transports La navette 'Coeur de ville' Voyager avec Mobigo Les associations La bibliothèque municipale ...."
So if I search for transports for example, I will find it in all the links on the site even if it is not in the link concerned.
And I don't see how to get around this problem. Do you have an idea please?