Computer Looking Up
  • Home
  • Welcome
  • Categories
    • Astronomy & Astrophotography
      • Deep Sky Objects
      • Equipment & Processing
      • Solar System
      • Space Exploration
    • Technology How-To
      • Apple & iPhone & Mac
      • Artificial Intelligence
      • Linux & Open Source
      • Networking & Hardware
      • Windows & Microsoft
    • Life & Leisure
      • Dispatches
      • Hobbies & Interests
      • Reflections
  • In the Sky
  • AI Policy
  • Archives
No Result
View All Result
  • Home
  • Welcome
  • Categories
    • Astronomy & Astrophotography
      • Deep Sky Objects
      • Equipment & Processing
      • Solar System
      • Space Exploration
    • Technology How-To
      • Apple & iPhone & Mac
      • Artificial Intelligence
      • Linux & Open Source
      • Networking & Hardware
      • Windows & Microsoft
    • Life & Leisure
      • Dispatches
      • Hobbies & Interests
      • Reflections
  • In the Sky
  • AI Policy
  • Archives
Computer Looking Up
No Result
View All Result
Computer Looking Up
No Result
View All Result

Avoid This Disastrous Redirect “301” Problem for SEO

Paul Stephen by Paul Stephen
May 23, 2023
in Dispatches
0
Avoid This Disastrous Redirect “301” Problem for SEO
132
VIEWS
Share on FacebookShare on X

In April, I decided to change the website name and address for this blog you are reading now. To make a long story short, I wanted the name to reflect what I primarily write about (astrophotography and technology) versus being all about my name. I may explain in more detail later, but “Computer Looking Up” offers a variety of future options for the blog that are not tied specifically to me.

This article, however, is about a lesson learned when migrating your website to a new URL. I had never done this before, or at least not in a way for a website owned exclusively by me (versus wordpress.com). I thought I had done it right, but I realized days later than something was very wrong! I noticed the problem when I checked for how Google included my website in search results.

YOU MIGHT LIKE...

Window Shopping for a New Laptop

Window Shopping for a New Laptop

March 21, 2023
The “Hollywood Moon” Revisited: Two Examples

The “Hollywood Moon” Revisited: Two Examples

March 2, 2024

WordPress uses Apache for its web server by default, so my task was to redirect traffic from my old website to the new one by making the needed change to Apache. Further, if you specify the redirect as a “301,” that cues Google and other search engines the move is permanent. So on my old WordPress Apache web server, I created a 301 redirect to “https://computerlookup.com” for all traffic. So far so good, right?

Several days later, only as I noticed traffic to both my old and new websites dropped significantly, did I decide to test Google’s search engine on how it was finding either my old or new website. I took one of my most popular articles and typed in search terms I knew google.com would find. Sure enough, I saw my old website show up, which seemed fine to me, but when I clicked on Google’s link, to my horror, the address was invalid!

After a brief panic, I discovered what the problem was. As an example, suppose I had an article on my old website:

https://oldwebsite.com/article_name

I would have expected the 301 redirect to bring visitors to the new home for the article at:

https://computerlookingup.com/article_name

But instead, the Apache web server was redirecting the article to:

https://computerlookingup.comarticle_name

See the issue? There is no forward slash between “.com” and “article_name” so the URL was of course invalid.

I went back to the Apache web server on my old blog. Specifically, the file that must be edited to perform a 301 redirect is:

/var/www/html/.htaccess

Within .htaccess, the redirect is simply this line near the end of the file:

Redirect 301 / https://computerlookingup.com

As you can see, the literal interpretation of this is to redirect everything to “computerlookingup.com” and not to “computerlookingup.com/” for all articles. It is a subtle but critical format for the redirect to work properly. So I changed the line to:

Redirect 301 / https://computerlookingup.com/

…restarted Apache, and all redirects from Google started working as expected.

Google does not have a lot of patience for invalid addresses. Google apparently assumes very quickly that invalid URL addresses are permanently gone and removes them from its SEO index. This is scary especially if you are running a business and your SEO is critical to revenue. Even in my small case, it does seem that Google temporarily disavowed my websites when the addresses were invalid redirects for a few days. See the graph at the top of this article. I made the website change on April 24th and caught the problem on either April 26th or 27th, I cannot remember. But as you can see, once the 301 was fixed, web traffic started to increase again (note the graph is slightly not to scale and the new results were a bit lower than shown).

In the end, the 301 redirect did its job, and within about a week searches were redirecting to my new website. So despite a few days’ loss of web traffic, I apparently got a pardon from Google SEO and it noticed and leveraged the 301 permanent redirect.

The bottom line is, when you move a website to a new URL, be sure to test it in Google searches!

Like this:

Like Loading...

Related


Discover more from Computer Looking Up

Subscribe to get the latest posts sent to your email.

Tags: BloggingSEOWordPress
Previous Post

The 6.4% Waxing Crescent Moon, May 2023

Next Post

Venus and Moon, May 2023

Paul Stephen

Paul Stephen

For over 30 years I have been into computers in a variety of capacities, from programming to information technology to project management. Astrophotography, astronomy, and philosophy are hobbies of mine. At ComputerLookingUp.com, I discuss it all, and I hope you will contribute to the conversation.

Next Post
Venus and Moon, May 2023

Venus and Moon, May 2023

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

POPULAR POSTS

  • My Hunt for Pluto!
    My Hunt for Pluto!
  • My Hunt for Pluto, Part II: The False Star
    My Hunt for Pluto, Part II: The False Star
  • Merging the Telescope World with the Real World
    Merging the Telescope World with the Real World
  • Jupiter on March 9, 2026
    Jupiter on March 9, 2026
  • Simple Fix for Asus ZenWiFi "Flashing Blue Light" Problem
    Simple Fix for Asus ZenWiFi "Flashing Blue Light" Problem
  • What Star Wars Meant to Me
    What Star Wars Meant to Me
  • Goose Moon II - More Goose, Less Moon, Cameos, All Sequel!
    Goose Moon II - More Goose, Less Moon, Cameos, All Sequel!
  • Clouds vs. Early Crescent Moon
    Clouds vs. Early Crescent Moon
  • Two Sides of the Quarter Moon
    Two Sides of the Quarter Moon
  • Observing the Solar System through Six Seasons of "The Expanse"
    Observing the Solar System through Six Seasons of "The Expanse"

RECENT COMMENTS

  • Ggreybeard on Jupiter on March 9, 2026
  • Paul Stephen on The Nihilism of Modern Freedom
  • Ggreybeard on The Nihilism of Modern Freedom
  • Paul on My Warning About Lenovo – Do NOT Buy From Them!
  • Anonymous on My Warning About Lenovo – Do NOT Buy From Them!

EXPLORE TAGS

Asterisms Blogging Comets Constellations DIY Dobsonian DSLR Eclipses Fedora Galilean Moons General Photography Generative AI History Home Improvement Home Network ISS Jupiter Linux Maksutov-Cassegrain Mars Mercury Meteors Moon NAS Nature Photography Philosophy Politics Religion Reviews Saturn Sci-Fi and Fantasy Science Sketching Smartphone Stars Streaming Sun Synology Telescope Venus Video Games Weather WiFi Windows 11 WordPress
  • Home
  • Welcome
  • Categories
  • In the Sky
  • AI Policy
  • Archives
CLEAR SKIES / CLEAN SHUTDOWNS

© 2026 Computer Looking Up

No Result
View All Result
  • Home
  • Welcome
  • Categories
    • Astronomy & Astrophotography
      • Deep Sky Objects
      • Equipment & Processing
      • Solar System
      • Space Exploration
    • Technology How-To
      • Apple & iPhone & Mac
      • Artificial Intelligence
      • Linux & Open Source
      • Networking & Hardware
      • Windows & Microsoft
    • Life & Leisure
      • Dispatches
      • Hobbies & Interests
      • Reflections
  • In the Sky
  • AI Policy
  • Archives

© 2026 Computer Looking Up

%d