QUICK ANSWER
An older address ending in .php may have a parameter named CID. Its meaning comes from the website’s own records. When rebuilding a site you manage, map the old address to the correct replacement before redirecting it.
A publisher opens an old newsletter during a redesign and finds a link with a file extension and a short label beside a number. The tempting move is to translate the number into the nearest matching entry in the new publishing system. That can work by coincidence. The safer editorial question is simpler: What did a reader expect to find when this link was first published?
The phrase ext:php inurl:CID often leads to questions about these components. This guide deals with a website’s own inventory and the records a publisher can use to establish what an old link meant.
Read the address in separate pieces
The part of an address before a question mark is the path. The part after it is the query component. RFC 3986 defines those components without assigning meanings to application-specific labels. CID may refer to a content item, a category or another value entirely. Two systems used by the same organization can use the same label differently.
Treat the old .php suffix as part of the address. It may be useful in recognizing a template that used to exist, while the organization’s archive supplies the identity of the content. A new system can publish the same article under a clean path and keep the old address working through a redirect. A change in file extension does not require the content to change.
| What you have | What it can tell you | Best follow-up |
|---|---|---|
| An old path | Which address the newsletter or page used | Save the full URL from the first-party record |
| A CID label and value | Which token appeared in that address | Check the old CMS export for the corresponding entry |
| A historical title | What a reader expected to open | Compare topic, edition and publication date |
| A new destination | Where the current content can be found | Confirm the page answers the same reader need |
| A retired item | That no current page serves the old item | Record the decision before choosing a response |
Set up a mapping an editor can review
Start with your own CMS export, backup of public content, or register of published links. An old internal newsletter can confirm which title was sent to readers. If two records share the same number in different collections, put the collection name in the mapping so the migration team knows why they are different. Keep the historical title and the new title beside each other. A name change may be reasonable, but the titles should still refer to the same material or an agreed successor.
A practical map records the full old address, the expected destination, the evidence and the review status. The review status helps when several people contribute and one person is responsible for release. If a destination is uncertain, flag it for the publishing team. That is more useful than sending every unknown page to the home page and leaving readers to discover the mismatch.

Redirect according to what happened to the content
If the material permanently moved, Google’s redirect guidance discusses permanent server-side redirects as a way to signal the new location. Point straight to the relevant final page where possible. If two old resources were consolidated into a genuinely equivalent guide, both may point to that new guide. If there is no replacement, Google’s site-move guide discusses returning an appropriate 404 or 410 instead.
Check the links you still publish. A reader arriving through the current navigation should be sent directly to the current page. Verify that the canonical URL of the new page matches the intended destination, and list the intended URLs in the current sitemap. When these details agree, a reviewer can understand the site’s intent from either the links or the page.
Review examples that expose common mistakes
Test an item from each major collection. For a news site, this could include a current story, an archived feature, a topic page and a document that was removed. Compare each result against the title and content listed in the map. If a valid old link goes to the wrong article, send the reviewer the exact old address and expected new title so the problem can be repeated.
Use Search Console’s URL Inspection on the property you manage to examine Google’s information about a specific URL and test the live version where appropriate. The indexed view reflects what Google has recorded. The live test evaluates the current page and does not guarantee indexing. Give those two checks separate columns in your rollout sheet if you need to track changes over time.

What if CID appears on several old page types?
Use the page type and full original address alongside the value. A category and an article can have equal numbers without being related. Check which export or template the historical link came from.
Do you have to remove all .php URLs?
No. If the public address continues to serve the proper page, keeping it can preserve a familiar route. Decide to change it when you have an editorial or operational reason and can maintain the old links. For an active migration, the mapping matters more than how tidy the new path looks.
For a related example of the limits of an indexed result, see our guide to web addresses and search results.

