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
24
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

Android Developer KYC
Latest News

Google’s New Android Developer Verification: What You MUST Do

Big News for All Android Developers! If you create apps for the Google Play Store, you nee

SoftMaji InfoTech
24/09/2025
3
gemini-on-break
Latest News

Gemini is Currently on a Break – What Does This Mean?

If you are searching “Gemini is currently on a break”, you are not alone. Many people arou

SoftMaji InfoTech
04/09/2025
19
2
Latest News

iOS 18.5 vs. iOS 19: Full Comparison of Every Feature

Apple is always updating the software that runs on our iPhones. In 2025, we have two impor

SoftMaji InfoTech
10/07/2025
46
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 © 2016-2025. All Rights Reserved.