softmaji-header-wbg-min
softmaji-header-wbg-min
softmaji-blue-header-min
softmaji-blue-header-min
  • Home
  • Services
    • Website Designing
      • Responsive Website Design
      • Static Website Design
      • Website Redesign
      • Landing Page Design
    • Website Development
      • PHP Website Development
      • WordPress Website Development
      • Ecommerce Website Development
      • Custom Website Development
    • Digital Marketing
      • Google Adwords/PPC
      • Facebook Promotion
    • SEO Service
  • Trainings
    • Learn Web Development
    • Learn Graphics Design
    • Learn Business Communication Skills
  • Pricing
  • Portfolio
  • Events
  • Offers
  • Contact Us

How to Fix the 404 Page Not Found Error in WordPress?

HomeHow to Fix the 404 Page Not Found Error in WordPress?

Offer Expire Soon..


Only New User..


If you have been operating a WordPress website for a while, you are probably no stranger to the 404 Page Not Found error. Your screen will show the Page URL not found error while browsing inner pages of your website from the home page.

One of the most common errors, 404 Page Not Found, generally occurs:

  • after transferring a new website or,
  • when you modify the rules in the .htaccess file.

We have given solutions to either of these problems.

Table of Contents

Toggle
  • I. Adding .htaccess File
  • II. Revise the Permalinks Structure

I. Adding .htaccess File

1. Log in to your control panel and open the File Manager.

2. Browse the folder for your WordPress site to locate /wp-content/ and /wp-includes/ folders.

Note: You will have to enable the show hidden files option from the Settings.

3. Open and edit the .htaccess file located in their folder.

4. Paste the code given below.

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# End WordPress

If the folder does not have a .htaccess file, then create a new one in that location.

4. Click the +File button on the top-right corner of the dashboard.

5. Enter the name .htaccess under the New File Name field and click the Create New File button.

6. Edit the file and paste the above code into it.

This solution is enough to fix the 404 Page not found error for most cases.

Note: This problem generally occurs after moving/migrating a website from another domain or location.

II. Revise the Permalinks Structure

1. Log in to WordPress Dashboard with the Admin account.

2. Go to Settings and click on Permalinks.

3. Select Post name and click on Save Changes.

The system will reset your permalink structure to the previous default setting.

After that, WordPress automatically rewrites the .htaccess file, fixing the website’s 404 Requested URL not found error.

Faizan Khan
18
Latest News
Prev PostHow to Add Password to WordPress Admin (wp-admin) Directory via cPanel?May 11, 2024
Next PostHow to Fix the 500 Internal Server Error on a WordPress Website?May 11, 2024

Related items

otpless-issue
Latest News

OTPLess Not Working? Here’s What Happened!

Imagine this: You run a business, and suddenly, your customers can’t log in to your websit

SoftMaji InfoTech
20/06/2025
8
Latest News

How To Install WordPress Blog?

Let’s see how to install WordPress blog on your WordPress hosting account. Let’s

Faizan Khan
14/05/2024
149
Latest News

How to Install a Theme in WordPress?

Steps to install a theme in WordPress: Log in to WordPress. Navigate to Appearance and cli

Faizan Khan
14/05/2024
135
softmaji-header-wbg-min
SoftMaji is one of the affordable web development company in the web development industry. You don’t have to go searching anywhere for finding a reliable web development partner because we have crafted web development solutions that can fill the void left by others in the market.
Services
  • News Portal Development
  • Custom Website Development
  • PHP Website Development
  • Ecommerce Website Development
  • WordPress Website Development
Shortlinks
  • Blog
  • Offers
  • Events
  • Pricing
  • Reviews
  • Portfolio
  • Our Team
  • Payment Options
  • Explore Packages
Company
  • FAQ
  • Careers
  • Sitemap
  • Feedback
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms & Conditions
  • Refund And Cancellation
Contact Us
4/40 Vipul Khand , Gomti Nagar Lucknow
Uttar Pradesh 226010
Landline - +915223162418
Email - hello@softmaji.in
Office Time Mon - Sat
(10:00AM - 5:00PM)
Sunday Close
+91 9795405324
Lucknow , Uttar Pradesh
Copyright © 2022. All Rights Reserved.