{"id":4099,"date":"2023-05-28T21:13:20","date_gmt":"2023-05-28T21:13:20","guid":{"rendered":"https:\/\/scriptfeeds.com\/blog\/?p=4099"},"modified":"2023-05-28T21:15:11","modified_gmt":"2023-05-28T21:15:11","slug":"your-upload-path-is-not-valid","status":"publish","type":"post","link":"https:\/\/scriptfeeds.com\/blog\/wordpress\/your-upload-path-is-not-valid\/","title":{"rendered":"Fix &#8220;Your upload path is not valid&#8221; error in 2 quick steps"},"content":{"rendered":"\n<p>Sometimes after WordPress migration &#8220;Your upload path is not valid or does not exist&nbsp;&#8221; is a common error which blocks updates of plugins, themes and other WordPress features. Such error usually occurred after migration WordPress site from one server to another sever.<\/p>\n\n\n\n<p>This article will guide you to easy quick steps to fix &#8221; Your upload path is not valid or does not exist&#8221; error.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#way-1-add-the-following-code-in-wp-config-file-of-word-press\">Way 1 : Adding code in wp-config file of WordPress.<\/a><\/li><li><a href=\"#way-2-advance-way-by-using-php-admin-to-fix-your-upload-path-is-not-valid-error\">Way 2 : Advance way, by using PHP admin<\/a><ul><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"way-1-add-the-following-code-in-wp-config-file-of-word-press\"><strong>Way 1 : Add the following code in wp-config file of WordPress.<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to the wp-config file of your <a href=\"https:\/\/scriptfeeds.com\/blog\/category\/wordpress\/\">wordpress <\/a>installation (You need server access or FTP access of your hosting\/server)<\/li>\n\n\n\n<li>add the below code before the line which says &#8220;\/* That&#8217;s all, stop editing! Happy publishing. *\/&#8221; in wp-config file<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>define( 'UPLOADS', '\/wp-content\/uploads' );<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save the file and that&#8217;s it. check image below<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"787\" height=\"131\" src=\"https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid.png\" alt=\"Your upload path is not valid\" class=\"wp-image-4101\" srcset=\"https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid.png 787w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid-300x50.png 300w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid-150x25.png 150w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid-768x128.png 768w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid-399x66.png 399w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/Your-upload-path-is-not-valid-750x125.png 750w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-medium-font-size\" id=\"way-2-advance-way-by-using-php-admin-to-fix-your-upload-path-is-not-valid-error\"><strong>Way 2 : Advance way, by using PHP admin to fix &#8220;Your upload path is not valid&#8221; error<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Login in server\/hosting of your WordPress installation.<\/li>\n\n\n\n<li>Go to phpmyadmin and select the database of your wordpress installation<\/li>\n\n\n\n<li>Search for <a href=\"https:\/\/codex.wordpress.org\/Database_Description\" target=\"_blank\" rel=\"noopener\"><strong>wp_option<\/strong> table<\/a> (prefix &#8220;wp&#8221; can be different, depending upon your installation) or just search option table.<\/li>\n\n\n\n<li>Look for <strong>&#8220;Upload_path&#8221;<\/strong> row in same table and edit it by clicking on edit option.<\/li>\n\n\n\n<li>Add the &#8220;\/wp-content\/uploads&#8221; in box like the image below<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1201\" height=\"236\" src=\"https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error.png\" alt=\"PHP admin to fix upload error\" class=\"wp-image-4100\" srcset=\"https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error.png 1201w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-300x59.png 300w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-1024x201.png 1024w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-150x29.png 150w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-768x151.png 768w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-399x78.png 399w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-800x157.png 800w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-750x147.png 750w, https:\/\/scriptfeeds.com\/blog\/wp-content\/uploads\/2023\/05\/PHP-admin-to-fix-upload-error-1140x224.png 1140w\" sizes=\"(max-width: 1201px) 100vw, 1201px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-medium-font-size\" id=\"so-these-are-two-quick-ways-to-fix-your-upload-path-is-not-valid-or-does-not-exist-error-in-word-press-let-us-know-if-you-have-any-question-or-query-regarding-same\"><strong>So these are two quick ways to fix &#8220;Your upload path is not valid or does not exist&#8221; error in WordPress. Let us know if you have any question or query regarding same.<\/strong><\/h3>\n\n\n\n<p>happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes after WordPress migration &#8220;Your upload path is not valid or does not exist&nbsp;&#8221; is a common error which blocks updates of plugins, themes and other WordPress features. Such error usually occurred after migration WordPress site from one server to another sever. This article will guide you to easy quick steps to fix &#8221; Your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3412,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jnews-multi-image_gallery":[],"jnews_single_post":{"subtitle":"","format":"standard","video":"","gallery":"","source_name":"","source_url":"","via_name":"","via_url":"","override_template":"0","override":[{"template":"2","single_blog_custom":"","parallax":"1","fullscreen":"1","layout":"right-sidebar-narrow","sidebar":"default-sidebar","second_sidebar":"default-sidebar","sticky_sidebar":"1","share_position":"float","share_float_style":"share-monocrhome","show_share_counter":"1","show_view_counter":"1","show_featured":"1","show_post_meta":"1","show_post_author":"1","show_post_author_image":"1","show_post_date":"1","post_date_format":"default","post_date_format_custom":"Y\/m\/d","show_post_category":"1","show_post_reading_time":"0","post_reading_time_wpm":"300","show_zoom_button":"0","zoom_button_out_step":"2","zoom_button_in_step":"3","show_post_tag":"1","show_prev_next_post":"0","show_popup_post":"0","number_popup_post":"1","show_author_box":"0","show_post_related":"1","show_inline_post_related":"0"}],"override_image_size":"0","image_override":[{"single_post_thumbnail_size":"no-crop","single_post_gallery_size":"crop-500"}],"trending_post":"0","trending_post_position":"meta","trending_post_label":"Trending","sponsored_post":"0","sponsored_post_label":"Sponsored by","sponsored_post_name":"","sponsored_post_url":"","sponsored_post_logo_enable":"0","sponsored_post_logo":"","sponsored_post_desc":"","disable_ad":"0"},"jnews_primary_category":{"id":"","hide":""},"footnotes":""},"categories":[89,75],"tags":[],"class_list":["post-4099","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-errors","category-wordpress"],"_links":{"self":[{"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/posts\/4099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/comments?post=4099"}],"version-history":[{"count":0,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/posts\/4099\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/media\/3412"}],"wp:attachment":[{"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/media?parent=4099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/categories?post=4099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scriptfeeds.com\/blog\/wp-json\/wp\/v2\/tags?post=4099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}