Numerous canonical URL’s with same output
-
Hello,
Searching for help and do not know where else to look on the Yoast website. We have a weather plugin that searches every state, city, zip code throughout the united states?and all of?the?pages are somewhat similar but have different?content. The canonical URL always defaults to what you see below whenever there is a search. Sharing the search query of a location always defaults to this URL as well. We would like to define each canonical URL so it reflects the output.
https://capeweather.com/weather
<link rel=”canonical” href=”https://capeweather.com/weather/” />
What we would like to happen is, for example, if there is a search for NEW YORK, NY, we would like to canonical out to reflect what the URL is which would be:
https://capeweather.com/weather/us/NY/cities/New York/
<link rel="canonical" href="?https://capeweather.com/weather/us/NY/cities/New?York/???" />
Every query defaults to /weather instead of the actual city, state or zip code.
Is there any solution for this? Thank you for your help.
The page I need help with: [log in to see the link]
- The topic ‘Numerous canonical URL’s with same output’ is closed to new replies.