WordPress ek powerful CSM hai. Kabhi kabhi ek slit changes bhi aapke website ko inaccessible bana deta hai. Lekin WordPress ke kisi bhi problem ko solve karna bahut easy hai. Is post me humne how to fix 404 error ko cover kiya hai jo WordPress ka bahut common problem hai jise WordPress user ko face karna parta hai. To aaeye jante hai WordPress 404 Error ko kaise fix kare ?
404 Error Ko Kaise Fix Kare ?
404 error me usually user apne WordPress admin area, blog’s main page ko access kar lete hai, lekin jub kisi single post ko access karte hai to unhe 404 Not found error milta hai. Most of the time aise condition me aapka post bilkul safe hota hai, isliye aapko ghabrane ki zaroorat nahi hai.
Ye error usually tab aata hai jub .htaccess file delete ho jata hai ya phir rewrite rules me koi ghalti ho jati hai. Iske liye hame apne permalink setting ko fix karna parta hai.
Error ko fix karne ke liye aap simply Settings me Permalink me jaye aur Save Changes button pe click kare.
Aisa karne se aapka permalink setting update ho jayega aur rewrite rule flush ho jayega. Zyadatar cases me ye solution WordPress posts 404 error ko fix kar deta hai. Agar ye method aapke liye work nahi karta ahi to aapko .htaccess file ko manually update karna hoga.
Aap .htaccess file ko FTP client jaise FileZila ki help se manually upload kar sakte hai. FTP method ka use janne ke liye hamare niche diye gaye link ko follow kare.
Apne server me FTP ki help se login kare aur .htaccess file ko modify kare. .htaccess file wahi pe located hoga jahan pe /wp-content/ aur /wp-includes/ file hota hai.
Sabse easy kaam jo aap yahan pe kar sakte hai wo hai ke aap file ke permission ko 666 me change kar ke writeable bana den. Permission ko change karne keliye aap file pe right click kare aur File permission ke option ko select kare.
Aap niche diye gaye code ko manually apne .htaccess file me add kar sakte hai. Code ko add karne ke liye file ko file permission ko 666 me change karne ke baad right click kar ke edit/ view ke option ko select ka ke kisi text editor me open kare aur niche diye gaye code ko paste kare.
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Code ko paste aur save karne ke baad Permission ko 660 me phir se change karna na bhoolen.
To Doston bas itnahi, Ummid hai aapko ye article ( 404 Error ko kaise fix kare ) informative laga hoga. Agar aapka koi swaaal hai to aap humse comment section me pooch sakte hain. Apke liye ye ( WordPress in Hindi ) course design kiya gya hai, Is Website pe apko WordPress Complete Course Hindi me mil jyega, Agr aap WordPress se related videos dekhna chahte hain to aap hmare WP Seekho YouTube Channel par bhi visit kar sakte hain.
Also Read :
- WordPress Kiyon Use Kare ?
- Domain Name Kya Hota Hai?
- Theme Kya Hota hai?
- Subdomain Kya hai?
- Plugins kya hota hai?
- Hosting Kya hota hai?