Menu Close

Changing Your Address on Your Website After an Office Move: 15 Places the Old Address Hides, and What 5 Search Methods Miss

Changing Your Address on Your Website After an Office Move: 15 Places the Old Address Hides, and What 5 Search Methods Miss

Once the new office is settled, many companies update the address on the company profile page and in the footer, then consider the website done. A few months later, they find out the hard way: the auto-reply email from the contact form still shows the old address, or a PDF sent to a client still has a map of the previous office.

These gaps don’t come from carelessness. Every search method has places it cannot see because of how it works. Using a fictional company’s WordPress site as an example, this article lists 15 places where an old address and phone number often remain. A table then shows whether each of 5 common search methods finds or misses each place. By the end, you will be able to choose which combination of methods to use for your own site and write a request that separates what you fix yourself from what you ask your web agency to fix.

The short answer

No single search method finds every instance of the old address. Visible text, text behind the page, database contents, and text inside files each require a different method.

  • What you can do yourself is search in the admin screen and search within the page. These catch the body text and any address shown on screen
  • Meta descriptions, structured data, and form auto-replies only turn up when you save the whole site and search it, or search the database. Ask your web agency to handle these
  • Addresses inside PDFs and images can only be found by text recognition or by eye. Make a list of the files and check them one by one
  • Split your search terms into three types: postal code, the block and building numbers of the street address, and the last 4 digits of the phone number. Then create several versions of each to cover different ways of writing them

Contents

15 places where the old address often remains, and how its notation varies

The example is the WordPress site of a fictional company, “XX Design Office.” Assume its old address and phone number appear in the following 15 places. Each of these is a place where real company websites often show an address or phone number.

No.LocationWhere the content is stored
1Body of a page (company profile)Post body
2Footer widgetSite settings (widgets)
3Theme settings (e.g., phone number in the header)Theme settings
4Reusable block (synced pattern)Pattern post
5Notice under the Act on Specified Commercial TransactionsPost body
6Privacy policyPost body
7Old announcements (e.g., “Temporary closure notice”)Post body
8Contact form auto-replyForm plugin settings
9Meta descriptionSEO plugin settings (per page)
10Image alternative text (alt)Media information and body HTML
11Structured data from the SEO pluginSEO plugin settings
12Embedded mapEmbed code in the body
13Text-based PDF (company brochure)Uploaded file
14Scanned PDF (application form)Uploaded file
15Image with the address baked in (access map)Uploaded file

The same address is usually written differently depending on who wrote it and when. The example varies the notation like this:

  • Address: “1-2-3”, “1丁目2番3号”, and “1-2-3” (full-width numbers)
  • Phone: “03-1234-5678”, “(03)1234-5678”, and “+81-3-1234-5678”
Diagram — A cutaway view of a house. The same style of old tag is attached to the wall of a first-floor room (body text), the nameplate at the front door (header), the wiring under the floor (database), cardboard boxes in the attic (PDF and image files), and a letter stuck in the mailbox (auto-reply email). Some tags are in plain view, and others are hidden behind walls or under the floor
Diagram — A cutaway view of a house. The same style of old tag is attached to the wall of a first-floor room (body text), the nameplate at the front door (header), the wiring under the floor (database), cardboard boxes in the attic (PDF and image files), and a letter stuck in the mailbox (auto-reply email). Some tags are in plain view, and others are hidden behind walls or under the floor

What each of the 5 search methods finds and misses

These are the five methods:

  1. Admin screen search: The search box on lists such as posts, pages, and patterns
  2. In-page search: Open the page in a browser and search with Ctrl+F (Command+F on a Mac)
  3. Save the whole site and search the text: Save every public page as HTML and run a text search across all of them
  4. Database search: Use WP-CLI’s wp search-replace 旧 新 --dry-run to get only the match counts without changing anything
  5. PDF text extraction and image text recognition: Extract the text from PDFs, and run images and scans through optical character recognition (OCR)

The table below is based on what each method actually searches. ○ means found, △ means depends on conditions, × means not found, and - means not applicable. If your search term doesn’t match how the address is written, even places marked ○ will be missed (see the next section).

No.LocationAdmin screenIn-pageSave and searchDB searchText recognition
1Body text○○○○-
2Footer widget×○○○-
3Theme settings×○○○-
4Reusable block△○○○-
5Specified Commercial Transactions notice○○○○-
6Privacy policy○○○○-
7Old announcements○△△○-
8Form auto-reply×××○-
9Meta description××○○-
10Image alt△×○○-
11Structured data××○○-
12Embedded map△△△△-
13Text-based PDF××××○
14Scanned PDF××××△
15Image with the address baked in××××△

What each method cannot see

  • Admin screen search looks only at titles, excerpts, and body text, separately for each type of list. Widgets, theme settings, and SEO plugin fields are outside its scope. For reusable blocks, the page body only keeps a reference that says “show this pattern,” so you won’t find them unless you search the pattern list separately. On the other hand, alt text written into the body HTML may turn up as part of the body
  • In-page search looks only at text displayed on screen. Alt text, meta descriptions, and structured data are in the HTML but not displayed, so this method won’t find them. It can only search pages you open, so for old announcements you have to go back through the list and open each one
  • Saving the whole site and searching it lets you search behind the page (the HTML source). However, it only saves public pages that can be reached by following links. Auto-replies sent by email are out of scope. The text inside PDFs is compressed, so a text search won’t catch it as is
  • Database search, according to the official WP-CLI documentation, covers the tables registered by WordPress by default. It can also handle settings stored in PHP format (serialized data). With --dry-run, it only reports matches without changing anything. Its strength is that it catches drafts, revisions, and settings contents. However, it does not cover the contents of uploaded files or addresses written directly into theme files (WP-CLI: wp search-replace)
  • Text recognition is the only way to search the contents of files. Recognizing text in scans and images depends on OCR accuracy, so these are marked △. Even if you get zero results, check by eye

Embedded maps are △ for every method. In the embed URL, Japanese text is often converted into strings of symbols like “%E6…”, so searching for the address text may not find it. Also, where the map points is location data rather than text, so the reliable approach is to display the embedded map and check it by eye.

Diagram — Five flashlights lined up side by side, with the area each beam reaches shown as a pale blue fan shape. At the ends of the fans are old tags attached to different parts of a house. Tags hit by a beam are lit up, while a few tags that no beam reaches remain in the shadows. It is clear at a glance that each flashlight lights up a different set of tags
Diagram — Five flashlights lined up side by side, with the area each beam reaches shown as a pale blue fan shape. At the ends of the fans are old tags attached to different parts of a house. Tags hit by a beam are lit up, while a few tags that no beam reaches remain in the shadows. It is clear at a glance that each flashlight lights up a different set of tags

How notation differences cause misses, and how to build search terms

Even if a place is marked ○ in the table above, you won’t find it unless your search term matches. On the example site, searching for “1-2-3” misses “1丁目2番3号” and “1-2-3”. Searching for “03-1234-5678” catches neither “(03)1234-5678” nor “+81-3-1234-5678”.

Whether full-width and half-width characters are treated as the same depends on the search method and the database settings. Don’t assume they “probably” match. Create full-width search terms separately and check.

Build three types of search terms

TypeExample search termsPurpose
Postal code“123-4567”, “1234567”, “123-4567”Even when the address is written differently, the postal code is often the same
Block and building numbers“1-2-3”, “1丁目2番”, “1-2-3”, building nameAlso catches versions that leave out the town name
Last 4 digits of the phone number“5678”, “5678”Catches the number no matter how the area code is written (03- / (03) / +81)

Short terms like the last 4 digits of a phone number will also match unrelated numbers. Even so, it is safer to remove extra matches by eye than to miss something. Also add search terms for information that changes along with the address, such as the fax number, the nearest station to the old address, and the floor number in “XX Building 3F.”


Deciding what to fix or keep, and who fixes it

Sort each place you find along two lines: who fixes it, and whether to fix it or keep it.

What staff can fix and what to check with your web agency

Staff can often fixCheck with your web agency
Body text of pages and postsTheme settings and addresses written directly into theme files
Footer widgets that can be edited in the block editorStructured data from the SEO plugin and site-wide meta description settings
Image alt text (media edit screen)Text of form auto-replies and notification emails
Contents of reusable blocksSource files for PDFs and images containing the address (these need to be remade)

How much of the admin screen staff are allowed to touch varies from site to site. If the line is unclear, sorting it out first with “How much of your website can you edit yourself?” will make the scope of your request clear.

Fix as current information, or keep as a past record

  • Current information (company profile, footer, Specified Commercial Transactions notice, business details in the privacy policy, auto-replies, structured data, and maps) should all be updated to the new address. When you update the privacy policy, update the revision date too (What to include in a privacy policy)
  • Dated past records (such as a temporary closure notice from three years ago) would no longer reflect what was true at the time if rewritten. One option is to keep the body as is and add a sentence at the top: “*The address and phone number shown are as of the date of posting. For current contact information, please see our company profile.”
  • Even for old announcements, if a post is still read through search and points people to the old phone number for inquiries, fix it the same way as current information

Planning: Keep the publication date, submission date, and confirmation date separate

Where moves tend to go wrong is recording “the date we fixed it” as a single date. Record these three dates separately:

  1. Publication date on your own site: The day you published the pages updated with the new address. If you publish before the move date, state the switchover date in the text, for example: “We will be moving to the address below as of [month] [day].”
  2. Submission date to external sites: The day you submitted changes to Google Business Profile, industry portal sites, social media profiles, and so on
  3. Confirmation date: The day you actually saw the new address displayed with your own eyes

External listings don’t always reflect a change on the day you submit it. Google Business Profile Help says that reviews of edits usually finish in about 10 minutes but may take up to about 30 days in some cases (Google Business Profile Help). For any row where the confirmation date is still blank after the submission date, decide in advance to check once a week until it is filled in. For how to keep your website and Google Business Profile information consistent, see “Connecting Google Business Profile and your website.”

Diagram — A single timeline running from left to right with three markers spaced apart. Above the left marker is a laptop (publishing your own site), above the middle marker is a hand handing over an envelope (submitting to external sites), and above the right marker is a hand holding a magnifying glass (confirming the change). The stretch between the middle and right markers is shaded pale blue as waiting time, with several small calendars lined up above it
Diagram — A single timeline running from left to right with three markers spaced apart. Above the left marker is a laptop (publishing your own site), above the middle marker is a hand handing over an envelope (submitting to external sites), and above the right marker is a hand holding a magnifying glass (confirming the change). The stretch between the middle and right markers is shaded pale blue as waiting time, with several small calendars lined up above it

Templates for the tracking sheet and the request to your web agency

Tracking sheet

Write each place you find on its own row, then fill in the date it was fixed and the date it was confirmed. For the example site, it would look like this:

No.LocationURL / screenFound byNotation foundFixed byDate fixedDate confirmed
1Company profile body/company/Admin screen1丁目2番3号Staff
2FooterAll pagesIn-page03-1234-5678Staff
8Auto-replyContact formDB search(03)1234-5678Web agency
11Structured dataSource of all pagesSave and search+81-3-1234-5678Web agency
13Company brochure PDF/wp-content/uploads/…Text extraction1-2-3Web agency

For “Date confirmed,” a person other than the one who made the fix records the date they checked it on the live screen or in an email actually received. For auto-replies, send a test and check the body of the email you receive.

Request to your web agency

Subject: Request to change address and phone number due to office move

Switchover date: [Month] [Day], [Year] (we would like this published on the morning of that day)
Old address: 〒123-4567 1-2-3 XX, XX-ku, XX Building 3F
New address: 〒(new postal code) (new address)
Old phone number: 03-1234-5678 / New phone number: (new number)
*The old address and number are also written as "1丁目2番3号", in full-width numbers, with "(03)", and with "+81"

Work requested:
1. Search the database (without replacing anything) and report the number of matches for the old address and phone number
2. Update theme settings, SEO plugin settings, and form auto-reply and notification emails
3. Replace the company brochure PDF and access map image (please also let us know whether you have the source files)
4. Check whether the address is written directly into any theme files

Places we will fix ourselves: body text, footer, image alt text (tracking sheet No. 1–7 and 10, attached)
When you report completion, please include a list of the places you changed.

If you get the results of item 1 first, you can see which places your own searches missed and add them to the tracking sheet. If you are looking for someone to handle this kind of check all at once, see our maintenance and operation services. For how to request update work in general, see “How much can you outsource website updates?.”

Share this article
Contents