How to include URLs with parameters in the sitemap?
-
I have a page (ie. not post) built dynamically. It may or may not have URL parameters (‘query string’).
Consider the following 5 URLs:
mysite.com/mypage
mysite.com/mypage?paramA=1
mysite.com/mypage?paramA=2
mysite.com/mypage?paramB=1
mysite.com/mypage?paramB=2Each of these 5 is its own canonical and has its own meta description and title, achieved with the filters wpseo_canonical, wpseo_metadesc and wpseo_title, respectively.
So far so good.
Now I want each of the 5 to be a separate entry in the sitemap (under page-sitemap.xml). How to do that?
Thanks.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to include URLs with parameters in the sitemap?’ is closed to new replies.