WordPress wuxuu muujinayaa qalad HTTP marka la soo gelinayo sawirada
Intii aan ka shaqeynayey bloggeyga maanta WordPress wuxuu muujinayaa qalad HTTP markii la soo gelinayo sawirada, waan wareeray oo aan caawin waayay. Waxaan isku dayay in aan soo geliyo sawirka mar kale & mar kale, laakiin qaladku ma tagi doono. 5-6 isku day ka dib waxaan awooday inaan markale sawirada si guul leh u soo geliyo. Laakiin guushaydu waxay ahayd mid gaaban oo aan noolayn maadaama daqiiqado ka dib isla qaladkii igu soo dhacay albaabkayga.
In kasta oo ay jiraan hagaajin badan oo loo heli karo dhibaatada kor ku xusan laakiin haddana mar kale waxay kaa dhumi doonaan waqtigaaga, waa sababta aan u hagaajin doono qaladkan HTTP marka sawirada la soo gelinayo ka dib markaad dhammayso maqaalkan waxaan kuu xaqiijinayaa in fariintan khaladku noqon doonto. waa dheeraatay.
Fix for WordPress waxay tusinaysaa khalad HTTP(HTTP Error) marka la soo galinayo sawirada
Cabirka Sawirka(Image Size)
Tan ugu horraysa ee muuqata ee la hubinayo waa in cabbirrada sawirkaagu aanu dhaafin aagga ballacaaga go'an. Tusaale ahaan, aan sheegno inaad rabto inaad dhejiso sawirka 3000X1500 laakiin aagga qoraalka (oo ay dejisay mawduucaaga) waa 1000px kaliya markaa hubaal waxaad arki doontaa qaladkan.
Fiiro gaar(Note:) ah: Dhanka kale mar walba isku day inaad xaddido cabbirka sawirkaaga 2000X2000.
Halka kuwa sare laga yaabo in aanay daruuri ahayn in ay xaliyaan arrintaada laakiin haddana waxa mudan in la hubiyo. Haddii aad rabto inaad hubiso tilmaamaha WordPress ee sawirada fadlan akhri halkan(read here) .
Kordhi xusuustaada PHP(Increase your PHP memory)
Mararka qaarkood kordhinta xusuusta PHP ee loo oggol yahay (PHP)WordPress waxay u muuqataa inay saxdo arrintan. Hagaag(Well) , waligaa ma hubin kartid ilaa aad isku daydo, ku dar koodkan qeex ('WP_MEMORY_LIMIT', '64M')(define(‘WP_MEMORY_LIMIT’, ’64M’)) faylkaaga wp-config.php .
Fiiro gaar ah: Ha taaban goobaha kale ee wp-config.php haddii kale goobtaadu waxay noqon doontaa mid aan la heli karin. Haddii aad rabto waxaad wax badan ka akhriyi kartaa wax ka beddelka faylka wp-config.php(Editing wp-config.php file) .
Si aad ugu darto koodka kore, kaliya u gudub cPanel-kaaga oo aad u gudub tusaha xididka rakibaada WordPress halkaas oo aad ka heli doonto faylka wp-config.php.
Haddii tan kor ku xusan aysan kuu shaqeyn markaa waxaa jirta fursad wanaagsan in bixiyahaaga martigelinta webka uusan kuu oggolaan inaad kordhiso xadka xusuusta PHP . Xaaladdaas oo aad si toos ah ula hadasho iyaga ayaa kaa caawin karta inaad beddesho xadka xusuusta PHP .
Ku darida koodka faylka .htaccess(Adding a code to .htaccess file)
Si aad u saxdo faylkaaga .htaccess kaliya u (.htaccess)Yoast SEO > Tools > File Editor (haddii aadan haysan Yoast SEO oo lagu rakibay, markaa waa inaad ku rakibtaa oo aad ka akhrisan kartaa sida loo habeeyo plugin this halkan(how to configure this plugin here) ). Faylka .htaccess kaliya ku dar laynka koodka:
SetEnv MAGICK_THREAD_LIMIT 1
Ka dib markaad ku darto koodka kaliya dhagsii "Save bedelay .htaccess" oo hubi haddii arrinta la xaliyay.
Beddelida mawduuca function.php faylka(Changing theme functions.php file)
Dhab ahaantii, waxaan kaliya u sheegaynaa WordPress inay u isticmaasho GD sida fasalka WP_Image_Editor ee caadiga ah iyadoo la adeegsanayo faylka mawduuca.php. Sida cusboonaysiinta ugu dambeysay ee WordPress GD waa la soo koobay oo Imagick waxaa loo adeegsaday sidii tifaftiraha sawirka caadiga ah, markaa dib ugu noqoshada kii hore waxay umuuqataa inay qof walba u hagaajinayso arrinta.
Lagu taliyay:(Recommended:) Sida muuqata, waxa kale oo jira plugin ah in sidaas la sameeyo, tag halkan. (go here.) Laakiin haddii aad rabto inaad gacanta ku daabacdo faylka ka dibna ku sii wad hoos.
Si aad u tafatirto mawduuca function.php kaliya u Appearance > Editor oo dooro Functions Theme(Theme Functions) (function.php). Markaad halkaas joogto ku dar koodkan dhamaadka faylka:
add_filter( ‘wp_image_editors’, ‘change_graphic_lib’ ); function change_graphic_lib($array) { return array( ‘WP_Image_Editor_GD’, ‘WP_Image_Editor_Imagick’ ); }
Fiiro gaar ah: (Note:) Hubi(Make) inaad ku darto koodkan gudaha calaamada PHP ee dhamaanaysa ( ?>)
Tani waa hagaajinta ugu muhiimsan ee hagaha WordPress wuxuu muujinayaa qaladka HTTP marka sawirada la soo gelinayo laakiin haddii arrintaadu aysan wali go'in, horay u sii wad.
Deminta Mod_Amniga(Disabling Mod_Security)
Fiiro gaar ah:(Note:) Habkan laguma talinayo sababtoo ah waxay wax u dhimi kartaa amniga WordPress iyo martigelinta. Kaliya isticmaal habkan haddii aad isku dayday wax kasta oo kale iyo haddii curyaaminta tani ay adiga kuu shaqeyso la xiriir bixiyahaaga martigelinta oo weydiiso taageero.
Mar labaad u tag tifaftiraha faylkaaga Yoast SEO > Tools > File Editor oo ku dar koodhka soo socda faylkaaga .htaccess:
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
Oo dhagsii "Kaydi waxa loo beddelay .htaccess."
Dib u rakibida noocii ugu dambeeyay ee WordPress(Reinstalling the latest version of WordPress)
Mararka qaarkood arrintani waxay ku dhici kartaa sababtoo ah faylka WordPress ee musuqmaasuqa ah iyo mid kasta oo ka mid ah xalalka kor ku xusan ma shaqeyn karaan dhammaan, kiiskaas, waa inaad dib u soo celisaa nuqulkii ugu dambeeyay ee WordPress :
- (Backup)Ku kaydi(Plugin) gal Plugin kaaga cPanel ( Soo dejiso )(Download) ka dibna ka dami WordPress(WordPress) . Taas ka dib ka saar dhammaan faylalka plugins-ka server-kaaga adoo isticmaalaya cPanel.
- Ku rakib mawduuca caadiga ah tusaale ahaan lix iyo labaatan(Twenty) ka dibna ka saar dhammaan mawduucyada kale.
- Laga soo bilaabo Dashboard > Updates dib-u-kicinta noocii ugu dambeeyay ee WordPress .
- Soo rar oo dhaqaaji dhammaan pluginsyada (marka laga reebo plugins optimization image).
- Ku rakib mawduuc kasta oo aad rabto.
- Isku day inaad isticmaasho sawir qaadaha hadda.
Tani waxay hagaajin doontaa WordPress waxay tusinaysaa qaladka HTTP marka sawirada la soo gelinayo.
Hagaajinta Kala duwan(Miscellaneous Fixes)
- Ha u isticmaalin apostrophe galka sawirada magacyada tusaale Aditya-Farrad.jpg
- Isku day inaad bedesho kordhinta faylka
- Demi dhammaan fiilooyinka
- Hubi(Make) in martigeliyahaagu uu rakibay nooca ugu dambeeyay ee PHP .
- La xidhiidh Bixiyahaaga Hosting si aad u hesho taageero.
Tani waa dhamaadka tilmaan-bixiyahan waxaanan rajaynayaa hadda inaad xalliso arrinta WordPress waxay muujinaysaa qalad HTTP marka aad sawirada soo gelinayso(WordPress shows HTTP error when uploading images) . Haddii aad wali hayso wax su'aal ah oo ku saabsan boostada waxaad xor u tahay inaad waydiiso faallooyinka.
Like iyo share this blog ee shabakadaha bulshada si ay u caawiyaan faafinta ereyga ku saabsan dhibaatadan.(Like and share this blog post in the social networks to help spread the word about this problem.)
Related posts
Barnaamijyada Webka ee HTTP Error 503 iyo WAS dhacdo 5189 ee Windows 10
Khaladaadka HTTP 503, Adeeggu waa dhib aan la heli karin
Hagaaji qaladka HTTP 304 Lama bedelin
Sida loo raro goobta WordPress mid ka mid ah martida loo yahay mid kale
Sida loo rakibo & habaynta WordPress ee Microsoft Azure
Sida Loo Dardar Geliyo Mareeg Kasta Oo WordPress Ah Isticmaalka .HTACCESS
Sida Looga Saaro Malware-ka Mareegahaaga WordPress
Sida Loo Sameeyo Tijaabooyin Qaybsan Oo Wax Ku Ool Ah Gudaha WordPress
Dib-u-eegis Buugaag: Dhiso Mareegtaada: Hagaha Majaajilada ah ee HTML, CSS iyo Wordpress
Ka ilaali oo ka ilaali mareegaha WordPress jabsadayaasha
Sida mawduuc loogu rakibo WordPress
Sida loo tirtiro dhammaan Raadka WordPress Plugin
Sida Loo Bedelo URL Login-kaaga WordPress si loo helo Ammaan Wanaagsan
Sida Loo Abuuro Kuuboonkaaga Kuuboonka ah gudaha WordPress
Isticmaalayaasha ka jiheeya bogga 404 ee WordPress
Sida Loo Isticmaalo Lumen5 Si Loogu Bedelo Boostada Blog-ga Muuqaal
Sida Loo Kordhiyo Bogga WordPress ee 11 Tallaabo
3-da ugu Fiican SEO Plugins ee WordPress
Jetpack WordPress: Waa maxay oo ay mudan tahay in la rakibo?
Wix Vs WordPress: Keebaa Ugu Wanaagsan Abuurista Mareegtaada?