{"id":1131,"date":"2012-08-19T19:03:43","date_gmt":"2012-08-20T02:03:43","guid":{"rendered":"http:\/\/www.virendrachandak.com\/techtalk\/\/?p=1131"},"modified":"2013-10-06T15:45:53","modified_gmt":"2013-10-06T22:45:53","slug":"how-to-remove-wordpress-version-number","status":"publish","type":"post","link":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/","title":{"rendered":"How to remove WordPress version number"},"content":{"rendered":"<p>By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just for tracking. This information can be useful to hacker to identify which version of WordPress you are running. If you are not running the latest version of WordPress the hackers can try to target the known vulnerabilities in that version to hack your site.<\/p>\n<p><strong>Note<\/strong>: This is just one way to identify the version. Also, even if this information is not available hackers might still try to hack it using other ways. So it is recommended that you always have the most up to date version of WordPress running.<\/p>\n<p>In this post I will show you some wrong and right ways to remove this information.<br \/>\n<!--more--><br \/>\nWordPress adds the following meta tag to the head section of the site:<\/p>\n<pre class=\"brush: xml; gutter: false; title: ; notranslate\" title=\"\">\r\n&lt;meta name=&quot;generator&quot; content=&quot;WordPress 3.4.1&quot; \/&gt;\r\n<\/pre>\n<p>There are various ways that can be used to remove this information. Let&#8217;s first take a look at the wrong ways which people might suggest doing.<\/p>\n<p><span style=\"text-decoration: underline;\">Method 1 (<strong>Wrong Way<\/strong>)<\/span>: Hacking the WordPress core.<br \/>\nEdit the <em>\/wp-includes\/defaults-filter.php<\/em> file and replace<\/p>\n<pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\r\nadd_action('wp_head', 'wp_generator');\r\n<\/pre>\n<p>with<\/p>\n<pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\r\nremove_action('wp_head', 'wp_generator');\r\n<\/pre>\n<p>You should not do this, as when you upgrade WordPress you might no longer have this hack present.<\/p>\n<p><span style=\"text-decoration: underline;\">Method 2 (<strong>Wrong Way<\/strong>)<\/span>: Remove wp_head()<br \/>\nWordPress executes the <em>wp_generator()<\/em> function whenever the <em>wp_head()<\/em> hook is called. This hook is normally inside the <em>header.php<\/em> file of your theme. Removing this hook from your <em>header.php<\/em> file might break other functions\/plugins on your site which rely on this hook.<\/p>\n<p><span style=\"text-decoration: underline;\">Method 3<\/span>:<br \/>\nA good way to remove this information is to add the following line to the <em>functions.php<\/em> file of your theme.<\/p>\n<pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\r\nremove_action('wp_head', 'wp_generator');\r\n<\/pre>\n<p>This solution works and removes the generator information from the head section of your site. However, this is not a complete solution as the version information is also included in the RSS feeds.<\/p>\n<p><span style=\"text-decoration: underline;\">Method 4<\/span>:<br \/>\nThe correct way to remove the version information both from the head section and RSS feeds of your site is to add the following code to your <em>functions.php<\/em> file of your theme.<\/p>\n<pre class=\"brush: php; gutter: false; title: ; notranslate\" title=\"\">\r\nfunction my_remove_version_info() {\r\n     return '';\r\n}\r\nadd_filter('the_generator', 'my_remove_version_info');\r\n<\/pre>\n<p>By adding the above code, the WordPress version number will be removed from the head section and RSS feeds on your site.<\/p>\n<p><strong>Update<\/strong>: Check out my next post (<a href=\"http:\/\/www.virendrachandak.com\/techtalk\/\/how-to-remove-wordpress-version-parameter-from-js-and-css-files\/\" title=\"How to remove WordPress version parameter from JS and CSS files\" target=\"_blank\">How to remove WordPress version parameter from JS and CSS files<\/a>) to find out how we can remove the WordPress version from JS and CSS files source tags.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just for tracking. This information can be useful to hacker to identify which version of WordPress you are running. If you are not running the latest version of WordPress the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[91],"tags":[124,101],"class_list":["post-1131","post","type-post","status-publish","format-standard","hentry","category-wordpress","tag-snippets","tag-wordpress-version"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to remove WordPress version number - Virendra&#039;s TechTalk<\/title>\n<meta name=\"description\" content=\"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to remove WordPress version number - Virendra&#039;s TechTalk\" \/>\n<meta property=\"og:description\" content=\"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/\" \/>\n<meta property=\"og:site_name\" content=\"Virendra&#039;s TechTalk\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/virendrachandak\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/virendrachandak\" \/>\n<meta property=\"article:published_time\" content=\"2012-08-20T02:03:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-10-06T22:45:53+00:00\" \/>\n<meta name=\"author\" content=\"Virendra Chandak\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@virendrachandak\" \/>\n<meta name=\"twitter:site\" content=\"@virendrachandak\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Virendra Chandak\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/\"},\"author\":{\"name\":\"Virendra Chandak\",\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#\\\/schema\\\/person\\\/63f7ffa1ea125e32af9618d188349e17\"},\"headline\":\"How to remove WordPress version number\",\"datePublished\":\"2012-08-20T02:03:43+00:00\",\"dateModified\":\"2013-10-06T22:45:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/\"},\"wordCount\":481,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#\\\/schema\\\/person\\\/63f7ffa1ea125e32af9618d188349e17\"},\"keywords\":[\"snippets\",\"WordPress version\"],\"articleSection\":[\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/\",\"url\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/\",\"name\":\"How to remove WordPress version number - Virendra's TechTalk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#website\"},\"datePublished\":\"2012-08-20T02:03:43+00:00\",\"dateModified\":\"2013-10-06T22:45:53+00:00\",\"description\":\"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/how-to-remove-wordpress-version-number\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"TechTalk\",\"item\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\",\"item\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/category\\\/wordpress\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to remove WordPress version number\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#website\",\"url\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/\",\"name\":\"Virendra's TechTalk\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#\\\/schema\\\/person\\\/63f7ffa1ea125e32af9618d188349e17\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#\\\/schema\\\/person\\\/63f7ffa1ea125e32af9618d188349e17\",\"name\":\"Virendra Chandak\",\"logo\":{\"@id\":\"https:\\\/\\\/www.virendrachandak.com\\\/techtalk\\\/#\\\/schema\\\/person\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.virendrachandak.com\",\"https:\\\/\\\/www.facebook.com\\\/virendrachandak\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/virendrachandak\\\/\",\"https:\\\/\\\/x.com\\\/virendrachandak\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to remove WordPress version number - Virendra's TechTalk","description":"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/","og_locale":"en_US","og_type":"article","og_title":"How to remove WordPress version number - Virendra's TechTalk","og_description":"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just","og_url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/","og_site_name":"Virendra&#039;s TechTalk","article_publisher":"https:\/\/www.facebook.com\/virendrachandak","article_author":"https:\/\/www.facebook.com\/virendrachandak","article_published_time":"2012-08-20T02:03:43+00:00","article_modified_time":"2013-10-06T22:45:53+00:00","author":"Virendra Chandak","twitter_card":"summary_large_image","twitter_creator":"@virendrachandak","twitter_site":"@virendrachandak","twitter_misc":{"Written by":"Virendra Chandak","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/#article","isPartOf":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/"},"author":{"name":"Virendra Chandak","@id":"https:\/\/www.virendrachandak.com\/techtalk\/#\/schema\/person\/63f7ffa1ea125e32af9618d188349e17"},"headline":"How to remove WordPress version number","datePublished":"2012-08-20T02:03:43+00:00","dateModified":"2013-10-06T22:45:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/"},"wordCount":481,"commentCount":5,"publisher":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/#\/schema\/person\/63f7ffa1ea125e32af9618d188349e17"},"keywords":["snippets","WordPress version"],"articleSection":["WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/","url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/","name":"How to remove WordPress version number - Virendra's TechTalk","isPartOf":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/#website"},"datePublished":"2012-08-20T02:03:43+00:00","dateModified":"2013-10-06T22:45:53+00:00","description":"By default WordPress adds a meta tag which displays the WordPress version number that your WordPress site is running on. The version number is added just","breadcrumb":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-number\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"TechTalk","item":"https:\/\/www.virendrachandak.com\/techtalk\/"},{"@type":"ListItem","position":2,"name":"WordPress","item":"https:\/\/www.virendrachandak.com\/techtalk\/category\/wordpress\/"},{"@type":"ListItem","position":3,"name":"How to remove WordPress version number"}]},{"@type":"WebSite","@id":"https:\/\/www.virendrachandak.com\/techtalk\/#website","url":"https:\/\/www.virendrachandak.com\/techtalk\/","name":"Virendra's TechTalk","description":"","publisher":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/#\/schema\/person\/63f7ffa1ea125e32af9618d188349e17"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.virendrachandak.com\/techtalk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.virendrachandak.com\/techtalk\/#\/schema\/person\/63f7ffa1ea125e32af9618d188349e17","name":"Virendra Chandak","logo":{"@id":"https:\/\/www.virendrachandak.com\/techtalk\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/www.virendrachandak.com","https:\/\/www.facebook.com\/virendrachandak","https:\/\/www.linkedin.com\/in\/virendrachandak\/","https:\/\/x.com\/virendrachandak"]}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2vTtQ-if","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":1088,"url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-hide-php-version-in-the-http-headers\/","url_meta":{"origin":1131,"position":0},"title":"How to hide PHP version in the HTTP Headers","author":"Virendra Chandak","date":"November 4, 2012","format":false,"excerpt":"In default Apache\/PHP configuration, the server sends HTTP Header with the information of which PHP version is running on the server. The HTTP response header \"X-Powered-By\" displays the version of PHP that is running on the server. This information can be used by hackers to try to exploit any vulnerabilities\u2026","rel":"","context":"In &quot;Server Configuration&quot;","block_context":{"text":"Server Configuration","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/server-configuration\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1574,"url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-hide-nginx-version-number-in-headers-and-errors-pages\/","url_meta":{"origin":1131,"position":1},"title":"How to hide Nginx version number in headers and errors pages","author":"Virendra Chandak","date":"August 4, 2013","format":false,"excerpt":"In default Nginx configuration, the server sends HTTP Header with the information of Nginx version number of the Server. The HTTP response header \u201cServer\u201d displays the version number of the server. This information can be used by hackers to try to exploit any vulnerabilities in the Nginx, specially if you\u2026","rel":"","context":"In &quot;Server Configuration&quot;","block_context":{"text":"Server Configuration","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/server-configuration\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1090,"url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-hide-apache-information-with-servertokens-and-serversignature-directives\/","url_meta":{"origin":1131,"position":2},"title":"How to hide apache information with ServerTokens and ServerSignature directives","author":"Virendra Chandak","date":"February 19, 2013","format":false,"excerpt":"In default Apache configuration, the server sends HTTP Header with the information of Apache version, modules, Operating System, etc of the Server. The HTTP response header \u201cServer\u201d displays all these details of the server. This information can be used by hackers to try to exploit any vulnerabilities in the Apache,\u2026","rel":"","context":"In &quot;Server Configuration&quot;","block_context":{"text":"Server Configuration","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/server-configuration\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1132,"url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-remove-wordpress-version-parameter-from-js-and-css-files\/","url_meta":{"origin":1131,"position":3},"title":"How to remove WordPress version parameter from JS and CSS files","author":"Virendra Chandak","date":"September 9, 2012","format":false,"excerpt":"In my last post I mentioned how we can remove WordPress version number from the page source and RSS feeds. However, they are not the only places where we can identify the WordPress version number. Many CSS and JS files in the WordPress also have the WordPress version number appended\u2026","rel":"","context":"In &quot;WordPress&quot;","block_context":{"text":"WordPress","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/wordpress\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2392,"url":"https:\/\/www.virendrachandak.com\/techtalk\/how-to-find-laravel-version\/","url_meta":{"origin":1131,"position":4},"title":"How to Check Laravel Version through CLI \/ command prompt and file","author":"Virendra Chandak","date":"May 31, 2020","format":false,"excerpt":"There are 2 easy ways to find out what version of laravel you are using. They are by running php artisian commands on CLI or checking the files. Method 1: Check Laravel Version using CLI \/ Command Prompt [sourcecode gutter=\"false\" lang=\"powershell\"] $ php artisan --version Laravel Framework 7.12.0 [\/sourcecode] The\u2026","rel":"","context":"In &quot;Laravel&quot;","block_context":{"text":"Laravel","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/laravel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2613,"url":"https:\/\/www.virendrachandak.com\/techtalk\/postgresql-18-docker-upgrade-dump-and-restore-method\/","url_meta":{"origin":1131,"position":5},"title":"PostgreSQL 18 Docker Upgrade: Dump and Restore Method","author":"Virendra Chandak","date":"January 5, 2026","format":false,"excerpt":"PostgreSQL 18 introduces a new version\u2011specific data directory that breaks old Docker volumes. This guide shows how to upgrade from PostgreSQL 17 to 18 using a clean dump\u2011and\u2011restore workflow.","rel":"","context":"In &quot;PostgresSQL&quot;","block_context":{"text":"PostgresSQL","link":"https:\/\/www.virendrachandak.com\/techtalk\/category\/postgressql\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/posts\/1131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/comments?post=1131"}],"version-history":[{"count":0,"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/posts\/1131\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/media?parent=1131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/categories?post=1131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virendrachandak.com\/techtalk\/wp-json\/wp\/v2\/tags?post=1131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}