{"id":488,"date":"2025-09-10T14:10:37","date_gmt":"2025-09-10T11:10:37","guid":{"rendered":"https:\/\/destek.narhost.com\/?p=488"},"modified":"2026-09-11T19:24:00","modified_gmt":"2026-09-11T16:24:00","slug":"apache2-wordpress-404-hatasinin-cozumu","status":"publish","type":"post","link":"https:\/\/narhost.com\/destek\/apache2-wordpress-404-hatasinin-cozumu\/","title":{"rendered":"Apache2 WordPress 404 Hatas\u0131n\u0131n \u00c7\u00f6z\u00fcm\u00fc"},"content":{"rendered":"<h3><strong>1. Apache mod_rewrite Mod\u00fcl\u00fcn\u00fc Etkinle\u015ftirme<\/strong><\/h3>\n<p>\u0130lk ad\u0131m olarak, <strong>mod_rewrite<\/strong> mod\u00fcl\u00fcn\u00fc etkinle\u015ftirmek i\u00e7in a\u015fa\u011f\u0131daki komutu kullan\u0131n:<\/p>\n<pre><code>sudo a2enmod rewrite\r\n<\/code><\/pre>\n<p>Bu komut, Apache&#8217;nin URL y\u00f6nlendirmelerini do\u011fru \u015fekilde yapabilmesi i\u00e7in gereken <strong>mod_rewrite<\/strong> mod\u00fcl\u00fcn\u00fc etkinle\u015ftirecektir.<\/p>\n<h3><strong>2. Apache Yap\u0131land\u0131rma Dosyas\u0131n\u0131 D\u00fczenleme<\/strong><\/h3>\n<p>Sonraki ad\u0131mda, <strong>Apache yap\u0131land\u0131rma dosyas\u0131n\u0131<\/strong> d\u00fczenlemeniz gerekecek. \u0130lgili dizine yazma izinlerini vermek i\u00e7in \u015fu ad\u0131mlar\u0131 izleyin:<\/p>\n<ol>\n<li>\n<p>Apache konfig\u00fcrasyon dosyas\u0131n\u0131 a\u00e7\u0131n (burada \u00f6rnek olarak bir dizin belirtilmi\u015ftir):<\/p>\n<pre><code>sudo nano \/etc\/apache2\/sites-available\/000-default.conf\r\n<\/code><\/pre>\n<\/li>\n<li>\n<p><strong>&lt;Directory&gt;<\/strong> blo\u011fu i\u00e7inde, <strong>AllowOverride All<\/strong> direktifini ekleyin veya d\u00fczenleyin. \u00d6rnek olarak:<\/p>\n<pre><code>&lt;Directory \"\/home\/ubuntu\/alanadicom\/\"&gt;\r\nOptions Indexes FollowSymLinks\r\nAllowOverride All\r\nRequire all granted\r\n&lt;\/Directory&gt;\r\n<\/code><\/pre>\n<p>Bu, <strong>.htaccess<\/strong> dosyalar\u0131n\u0131n Apache taraf\u0131ndan okunmas\u0131na izin verir ve <strong>mod_rewrite<\/strong> mod\u00fcl\u00fcn\u00fcn d\u00fczg\u00fcn \u00e7al\u0131\u015fmas\u0131n\u0131 sa\u011flar.<\/p>\n<\/li>\n<\/ol>\n<h3><strong>3. Apache Servisini Yeniden Ba\u015flatma<\/strong><\/h3>\n<p>Yap\u0131land\u0131rma de\u011fi\u015fikliklerinin ge\u00e7erli olabilmesi i\u00e7in Apache servisini yeniden ba\u015flatman\u0131z gerekecek. A\u015fa\u011f\u0131daki komutla servisi yeniden ba\u015flatabilirsiniz:<\/p>\n<pre><code>sudo service apache2 restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A\u015fa\u011f\u0131da, mod_rewrite mod\u00fcl\u00fcn\u00fcn aktif hale getirilmesi ve gerekli Apache yap\u0131land\u0131rma ayarlar\u0131n\u0131n nas\u0131l yap\u0131laca\u011f\u0131 ad\u0131m ad\u0131m anlat\u0131lmaktad\u0131r.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[22],"class_list":["post-488","post","type-post","status-publish","format-standard","hentry","category-wordpress-hosting","tag-wordpress"],"meta_box":[],"_links":{"self":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/488","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/comments?post=488"}],"version-history":[{"count":3,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/488\/revisions"}],"predecessor-version":[{"id":888,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/posts\/488\/revisions\/888"}],"wp:attachment":[{"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/media?parent=488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/categories?post=488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/narhost.com\/destek\/wp-json\/wp\/v2\/tags?post=488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}