Remove deprecated duplicate LocalBusiness JSON-LD from Clay & St. Johns service pages#211
Open
Remove deprecated duplicate LocalBusiness JSON-LD from Clay & St. Johns service pages#211
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
"@type": ["LocalBusiness","HomeAndConstructionBusiness"]that duplicated the site-wide@id(https://hydrosealpavers.com/#business) and included address/PostalAddress and other deprecated fields.service-areas/clay-county/*.htmlandservice-areas/st-johns-county/*.htmlto remove only the deprecated blocks and avoid broader site changes.Description
@type: ["LocalBusiness","HomeAndConstructionBusiness"]with@id: https://hydrosealpavers.com/#business) from 29 files under the Clay County and St. Johns County folders.WebSite,WebPage,BreadcrumbList,Service, andFAQPage, andService.providercontinues to reference{"@id":"https://hydrosealpavers.com/#business"}.geo,aggregateRating,review,makesOffer, or other deprecated fields remain inside any LocalBusiness payload in the scoped pages.service-areas/clay-county/{doctors-inlet,eagle-harbor,eagle-landing,fleming-island,green-cove-springs,middleburg,oakleaf-plantation,orange-park}.htmlandservice-areas/st-johns-county/{beachwalk,coastal-oaks,crosswater,del-webb-ponte-vedra,durbin-crossing,fruit-cove,julington-creek,marsh-landing,murabella,nocatee,palencia,palm-valley,ponte-vedra-beach,ponte-vedra,rivertown,sawgrass,shearwater,silverleaf,trailmark,twenty-mile,world-golf-village}.html.Testing
rgand confirmed no occurrences remain in the scoped directories usingrg -n '"@type"\s*:\s*\["LocalBusiness","HomeAndConstructionBusiness"\]' service-areas/clay-county service-areas/st-johns-countywhich returned no matches.@id: https://hydrosealpavers.com/#business, and assert absence of deprecated fields; the non-index scoped pages returnedPASS."@type":"WebSite","@type":"WebPage","@type":"BreadcrumbList","@type":"Service","@type":"FAQPage") and confirmedService.providerstill references the site#business.Codex Task