{"id":10985,"date":"2018-01-22T08:59:46","date_gmt":"2018-01-22T06:59:46","guid":{"rendered":"https:\/\/ihs.com.tr\/blog\/?p=10985"},"modified":"2018-01-26T12:46:21","modified_gmt":"2018-01-26T10:46:21","slug":"url-yonlendirme-redirection-nedir","status":"publish","type":"post","link":"https:\/\/www.ihs.com.tr\/blog\/url-yonlendirme-redirection-nedir\/","title":{"rendered":"URL Y\u00f6nlendirme (Redirection) Nedir?"},"content":{"rendered":"<p><span style=\"font-size: 14pt;\">Y\u00f6nlendirme (redirection), bir URL&#8217;yi farkl\u0131 bir URL&#8217;ye y\u00f6nlendirme i\u015flemi olarak a\u00e7\u0131klanabilir. Y\u00f6nlendirme genelde 3 t\u00fcre ayr\u0131l\u0131r: <em>301<\/em>, <em>302<\/em> ve <em>meta refresh.<\/em><\/span><\/p>\n<p><strong><span style=\"font-size: 14pt;\">301, SEO i\u00e7in \u00f6nerilir ve kal\u0131c\u0131 olarak ta\u015f\u0131ma anlam\u0131na gelir. 302 ise genellikle ge\u00e7ici olarak ta\u015f\u0131nan sitelerde kullan\u0131l\u0131r.<\/span><\/strong><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendirme nedir?<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Y\u00f6nlendirme hem kullan\u0131c\u0131lar hem de arama motorlar\u0131 taraf\u0131ndan istenen URL&#8217;lerin, farkl\u0131 URL&#8217;lere y\u00f6nlendirilmesi i\u015flemidir. En s\u0131k kullan\u0131lan y\u00f6nlendirme t\u00fcrleri \u015f\u00f6yle:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>301 Kal\u0131c\u0131 Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">301 y\u00f6nlendirmesi, s\u0131ralama g\u00fcc\u00fcn\u00fc de %90-99 oranlar\u0131nda y\u00f6nlendirilen sayfaya ta\u015f\u0131yan bir kal\u0131c\u0131 y\u00f6nlendirme bi\u00e7imidir. &#8220;301&#8221; bu t\u00fcr y\u00f6nlendirmelerin HTTP durum kodunu belirtir. 301 y\u00f6nlendirmeleri bir\u00e7ok durum i\u00e7in en iyi y\u00f6nlendirme se\u00e7ene\u011fidir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>302 Found (HTTP 1.1) \/ Ge\u00e7ici Y\u00f6nlendirme (HTTP 1.0)<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Google \u00e7al\u0131\u015fanlar\u0131ndan baz\u0131lar\u0131n fikrine g\u00f6re 301&#8217;ler ve 302&#8217;ler bir\u00e7ok durumda benzer \u015fekilde ele al\u0131nabilir. Fakat biz kal\u0131c\u0131 olarak y\u00f6nlendirme yapan ki\u015filerin 301, s\u00fcrekli de\u011fi\u015fiklikler yapan ki\u015filerin de 302 y\u00f6nlendirmelerini kullanmas\u0131 \u00f6neriyoruz.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">\u0130nternet, URL&#8217;lerin nas\u0131l i\u015fleyece\u011fini belirlemek i\u00e7in kullan\u0131lan bir protokol olan HyperText Transfer Protocol (HTTP) ile \u00e7al\u0131\u015f\u0131r. HTTP&#8217;nin 1.0 ve 1.1 olmak \u00fczere 2 \u00f6nemli versiyonu vard\u0131r. \u0130lk s\u00fcr\u00fcmde &#8220;<em>302 Ge\u00e7ici Y\u00f6nlendirme&#8221;<\/em> olarak bilinen y\u00f6nlendirme bi\u00e7imi, 1.1 s\u00fcr\u00fcm\u00fcnde <em>&#8220;302 Bulundu&#8221;<\/em> \u015feklinde de\u011fi\u015ftirildi.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>307 Ge\u00e7ici Olarak Ta\u015f\u0131nd\u0131 (Sadece HTTP 1.1&#8217;de)<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">307 y\u00f6nlendirmesi, 302&#8217;nin HTTP 1.1&#8217;deki veliahtt\u0131 niteli\u011findedir. B\u00fcy\u00fck taray\u0131c\u0131lar bu y\u00f6nlendirmeye baz\u0131 durumlarda 302 gibi davran\u0131rlar. Fakat en sa\u011fl\u0131kl\u0131 \u00e7\u00f6z\u00fcmler i\u00e7in 301 kullanmak en uygunudur. Bunun tek istisnas\u0131 i\u00e7eri\u011finizin yaln\u0131zca ge\u00e7ici olarak ta\u015f\u0131nd\u0131\u011f\u0131 zamanlard\u0131r, bu da genellikle bak\u0131m yap\u0131ld\u0131\u011f\u0131 zamanlarda icap eder. <strong>307 daha yeni bir y\u00f6nlendirme bi\u00e7imi olsa da hangi taray\u0131c\u0131lar\u0131n bununla uyumlu oldu\u011funu bilmek m\u00fcmk\u00fcn olmad\u0131\u011f\u0131 i\u00e7in ge\u00e7ici olarak ta\u015f\u0131nan i\u00e7erikler i\u00e7in 302 y\u00f6nlendirmelerini kullanmak en iyisidir.<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Meta Refresh Nedir?<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Meta refresh, sunucu d\u00fczeyinde de\u011fil de sayfa d\u00fczeyinde yap\u0131lan bir y\u00f6nlendirme \u00e7e\u015fididir. Genellikle daha yava\u015f \u00e7al\u0131\u015f\u0131r, bu y\u00fczden de SEO i\u00e7in pek tavsiye edilmez. Bu y\u00f6nlendirme \u00e7e\u015fidi genellikle 5 saniyelik geri say\u0131mlarla \u00e7al\u0131\u015f\u0131r ve <em>&#8220;5 saniye i\u00e7inde y\u00f6nlendirilemiyorsan\u0131z buraya t\u0131klay\u0131n&#8221;<\/em> metnini sunar. Meta refreshler ayn\u0131 s\u0131ralama g\u00fcc\u00fcne sahiplerdir fakat <strong>SEO a\u00e7\u0131s\u0131ndan zay\u0131f bir kullan\u0131labilirli\u011fe sahiptir.<\/strong> Bu y\u00fczden tavsiye edilmez.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>En \u0130yi SEO Uygulamalar\u0131<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bir URL&#8217;yi ba\u015fka bir URL&#8217;ye y\u00f6nlendirme i\u015flemi s\u0131k s\u0131k kar\u015f\u0131la\u015f\u0131lan bir durumdur. Fakat bu i\u015flemi yaparken SEO de\u011ferlerini korumak da olduk\u00e7a \u00f6nemlidir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bunun en yayg\u0131n \u00f6rne\u011fi ve akla gelen ilk senaryo; ba\u015fka bir adrese kal\u0131c\u0131 olarak y\u00f6nlendirilmesi gereken bir URL:<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-10988 size-full\" src=\"https:\/\/www.ihs.com.tr\/blog\/wp-content\/uploads\/2018\/01\/yonlendirme-ornegi1.gif\" alt=\"yonlendirme-ornegi1\" width=\"258\" height=\"250\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">Bunu yapmak i\u00e7in kullanabilece\u011finiz birden fazla se\u00e7enek var. Fakat genel olarak hem kullan\u0131c\u0131lar hem de arama motorlar\u0131 i\u00e7in 301 y\u00f6nlendirmeleri tercih edilir. <strong>301&#8217;i kulland\u0131\u011f\u0131n\u0131z zaman hem taray\u0131c\u0131lar hem de arama motoru botlar\u0131 sayfan\u0131n kal\u0131c\u0131 olarak ta\u015f\u0131nd\u0131\u011f\u0131n\u0131 anlayacakt\u0131r.<\/strong> Arama motorlar\u0131 sadece sayfan\u0131n yerinin de\u011fi\u015ftirildi\u011fini de\u011fil ayn\u0131 zamanda bulundu\u011fu yeni URL&#8217;yi ya da g\u00fcncellenmi\u015f s\u00fcr\u00fcm\u00fcn\u00fc belirtir. Motorlar herhangi bir ba\u011flant\u0131y\u0131 orijinal sayfadan yeni URL&#8217;ye \u015f\u00f6yle ta\u015f\u0131yacakt\u0131r:<\/span><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-10989 size-full\" src=\"https:\/\/www.ihs.com.tr\/blog\/wp-content\/uploads\/2018\/01\/yonlendirme-ornegi3.gif\" alt=\"yonlendirme-ornegi2\" width=\"300\" height=\"249\" \/><\/p>\n<p><span style=\"font-size: 14pt;\">Bir sayfay\u0131 bir URL&#8217;den di\u011ferine ta\u015f\u0131rken arama motorlar\u0131n\u0131n 301&#8217;i ke\u015ffetme s\u00fcrecinin ve bir \u00f6nceki sayfan\u0131n s\u0131ralama becerilerine ula\u015f\u0131m s\u00fcrecinin biraz zaman alaca\u011f\u0131n\u0131 unutmay\u0131n.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Y\u00f6nlendirme ile ilgili di\u011fer se\u00e7enekler 301&#8217;in yapt\u0131\u011f\u0131 kadar i\u015f g\u00f6rmez, \u00e7\u00fcnk\u00fc arama motorlar\u0131nda \u00e7ok etkin de\u011fillerdir ve s\u0131ralama de\u011ferleri 301 y\u00f6nlendirmeleri kadar ba\u015far\u0131l\u0131 olmayacakt\u0131r. Di\u011fer alternatiflerin daha kullan\u0131\u015fl\u0131 oldu\u011fu tek zaman, bir webmaster&#8217;in kas\u0131tl\u0131 olarak yeni sayfaya ba\u011flant\u0131 g\u00f6ndermek istemedi\u011fi zamand\u0131r.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bir domainden ba\u015fka bir domaine y\u00f6nlendirilirken bir sitenin tamam\u0131 de\u011fi\u015firse i\u015flem daha karma\u015f\u0131k bir hal al\u0131r. Bu gibi durumlarda kullan\u0131c\u0131lar taraf\u0131ndan bol bol spam g\u00f6nderilir, e\u011fer arama motorlar\u0131 k\u00f6t\u00fcye kullan\u0131m \u015f\u00fcphesine d\u00fc\u015ferse arama motoru i\u015flemleri \u00e7ok daha fazla zaman alabilir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Apache&#8217;de 301 Y\u00f6nlendirmeleri<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em>www.ornekdomain.com<\/em> ad\u0131nda bir web sitemizin oldu\u011funu ve bu web sitemizin kendi domain ad\u0131nda de\u011fil de <em>www.baskaornekdomain.com\/seo<\/em> adresinde bar\u0131nd\u0131r\u0131ld\u0131\u011f\u0131n\u0131 varsayal\u0131m. Geli\u015ftiriciler <em>www.ornekdomain.com<\/em> adresinin kendi \u00f6zel sunucular\u0131na ta\u015f\u0131d\u0131klar\u0131 zaman <em>www.baskaornekdomain.com&#8217;<\/em>un bir alt dizini olmas\u0131ndansa kendi etki alan\u0131 olarak eri\u015filmesini istesinler. Bunun i\u00e7in de birka\u00e7 dosya ve klas\u00f6r ad\u0131n\u0131n de\u011fi\u015fmesi ve arama motorlar\u0131na uygun olmas\u0131 i\u00e7in de 301 y\u00f6nlendirmelerinin olmas\u0131 gerekiyordu. \u0130\u015fte varsay\u0131m\u0131m\u0131z\u0131n \u00e7\u00f6z\u00fcm\u00fc:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bunun en basit yolu <em>www.ornekdomain.com<\/em>&#8216;a g\u00fc\u00e7 veren PHP koduna 301 y\u00f6nlendirmeleri eklemek olacakt\u0131r. Ayr\u0131ca geli\u015ftiriciler, <em>mod_rewrite apache<\/em> mod\u00fcl\u00fcn\u00fcn g\u00fcc\u00fcnden de yararlanarak t\u00fcm PHP komut dosyalar\u0131n\u0131 incelemek zorunda kalmadan t\u00fcm klas\u00f6rleri e\u015fle\u015ftirerek yeni URL&#8217;lerine y\u00f6nlendirebilirler.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Kurulum<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bu i\u015flemin ger\u00e7ekle\u015febilmesi i\u00e7in bir web sunucusuna <em>mod_rewrite apache<\/em> mod\u00fcl\u00fcn\u00fcn kurulu olmas\u0131 gerekir. \u00c7o\u011fu Apache kurulumunda varsay\u0131lan olarak <em>mod_rewrite<\/em> kurulu olacakt\u0131r. Mod\u00fcl\u00fcn aktif \u015fekilde \u00e7al\u0131\u015f\u0131p \u00e7al\u0131\u015fmad\u0131\u011f\u0131n\u0131 kontrol etmek i\u00e7in geli\u015ftiriciler ge\u00e7erli <em>.htaccess<\/em> dosyas\u0131na a\u015fa\u011f\u0131daki sat\u0131r\u0131 ekleyerek test edebilirler:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RewriteEngine On<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u0130\u00e7erik<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bir geli\u015ftiricinin <em>httpd.conf<\/em> adl\u0131 apache yap\u0131land\u0131rma dosyas\u0131n\u0131 d\u00fczenlemesi gerekebilir. Bir geli\u015ftirici <em>httpd.conf<\/em> dosyas\u0131na eri\u015femezse, <em>.htaccess<\/em> dosyalar\u0131n\u0131 kullanmak durumunda kalacakt\u0131r.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Belirli Dosyalar\u0131 ve Klas\u00f6rleri Bir Domain&#8217;den Bir Di\u011ferine Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Geli\u015ftiricilerin eski bir sunucudan yenisine y\u00f6nlendirilmesi gerekti\u011fini varsayal\u0131m.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u00d6rnek:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Y\u00f6nlendir: <em>http:\/\/www.ornekdomain.com\/seo\/s&#8230; To: \/bazidosyalar.php<\/em><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A\u015fa\u011f\u0131daki direktifi <em>ornekdomain.com<\/em> sunucusundaki ilgili dosyaya ekleyin:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RedirectMatch 301 \/seo\/(.*) \/$1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>A\u00e7\u0131klama:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em>\/seo\/(.*)<\/em> ifadesi apache&#8217;ye SEO klas\u00f6r\u00fcn\u00fc e\u015fle\u015ftirmesini ve ard\u0131ndan 0 ya da daha fazla karakter s\u00f6ylemesini s\u00f6yler. <em>(.*)<\/em> ifadesi ise apache&#8217;ye diziyi bir <em>back-referans<\/em> olarak kaydetmesini s\u00f6yler. Bu back referans ile y\u00f6nlendirilmi\u015f olan URL&#8217;nin sonuna $1 yerle\u015ftirilir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Canonical Hostname&#8217;leri Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Geli\u015ftiricilerin <em>www.ornekdomain.com<\/em> ile ba\u015flamayan isteklere <em>&#8220;www&#8221;<\/em> eklenecek \u015fekilde y\u00f6nlendirme yapmak istedi\u011fini varsayal\u0131m. Bunu <a href=\"https:\/\/www.ihs.com.tr\/blog\/canonicalization-url-nedir\/\">canonicalization<\/a> hatalar\u0131ndan ka\u00e7mak i\u00e7in yaparlar.<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>:<em> http:\/\/ornekdomain.org\/<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>: <em>http:\/\/www.ornekdomain.org\/<\/em><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>: <em>http:\/\/mail.ornekdomain.org\/<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>: <em>http:\/\/www.ornekdomain.org<\/em><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>:<em> http:\/\/ornekdomain.org\/bazidosyalar.php<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>:\u00a0<em>http:\/\/ornekdomain.org\/bazidosyalar&#8230;<\/em><\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A\u015fa\u011f\u0131daki direktifleri takip edin:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RewriteCond %{HTTP_HOST} *!^www*.ornekdomain\\.org [NC]&lt;br&gt;<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RewriteRule (.*) http:\/\/www.ornekdomain.org\/$1 [L,R=301]<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>A\u00e7\u0131klama:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Bu y\u00f6nerge ziyaret\u00e7inin eri\u015fti\u011fi sunucuyu incelemesini ve e\u015f de\u011fer g\u00f6r\u00fclmedi\u011fi taktirde <em>www.ornekdomain.org<\/em> adresine y\u00f6nlendirilmesini Apache&#8217;ye bildirir. <em>(!)<\/em> i\u015fareti de &#8220;e\u011fer host <em>www.ornekdomain.org<\/em> de\u011filse <em>RewriteRule<\/em> yap\u0131ls\u0131n&#8221; anlam\u0131na gelir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Dosya Ad\u0131n\u0131 Koruyan Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Y\u00f6nlendirme ile dosya adlar\u0131n\u0131n korunmas\u0131 yerine eski sunucunun yeni domainin k\u00f6k URL&#8217;sine y\u00f6nlendirilmesi gerekti\u011fini varsayal\u0131m.<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>: <em>http: \/\/www.ornekdomain.com\/seo\/s &#8230;<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>:\u00a0<em>http:\/\/www.baskaornekdomain.org<\/em><\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A\u015fa\u011f\u0131daki direktifleri ekleyin:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RedirectMatch 301 \/seo\/bazieskidosyalar.php http:\/\/www.baskaornekdomain.org<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>A\u00e7\u0131klama<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">T\u00fcm parantezler atlanarak <em>\/seo\/bazieskidosyalar.php<\/em> i\u00e7in yap\u0131lan t\u00fcm istekler <em>http:\/\/www.ornekdomain.org<\/em> URL&#8217;sine y\u00f6nlendirilmelidir.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>GET String Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Baz\u0131 PHP scriptleri farkl\u0131 isimler ald\u0131 fakat GET string ayn\u0131 kalm\u0131\u015ft\u0131. GET stringleri koruyarak PHP komut dosyalar\u0131na y\u00f6nlendirme yapmam\u0131z gerekti\u011fini varsayal\u0131m. GET string, URL&#8217;de bir dosya ad\u0131ndan sonra gelen ve bir web sayfas\u0131na veri aktarmak i\u00e7in kullan\u0131lan karakterlerden olu\u015fan bir k\u00fcmedir.<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>: <em>http: \/\/www.ornekdomain.com\/seo\/c &#8230;<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>: <em>http: \/\/www.baskaornekdomain.org\/artcat.p &#8230;<\/em><\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A\u015fa\u011f\u0131daki direktifleri ekleyin:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RedirectMatch 301 \/seo\/categorydetail.php(.*) http:\/\/www.baskaornekdomain.org\/artcat.php$1<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>A\u00e7\u0131klama:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em>(.*)<\/em> ifadesi ise apache&#8217;ye herhangi bir karakter i\u00e7in 0&#8217;dan fazlas\u0131n\u0131 e\u015fle\u015ftirmesini ve back referans olarak $1&#8217;\u0131 kaydetmesini s\u00f6yler.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>Dosya Uzant\u0131lar\u0131n\u0131 De\u011fi\u015ftirerek Y\u00f6nlendirme<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Orijinal hik\u00e2yede HTML ve PHP&#8217;den olu\u015fan karma bir klas\u00f6r vard\u0131. Yeni serverda bu dosyalar\u0131n t\u00fcm\u00fc PHP oldu bu y\u00fczden de baz\u0131 y\u00f6nlendirmeler gerekti.<\/span><\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>: <em>http: \/\/www.ornekdomain.com\/seo\/g &#8230;<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>: <em>http: \/\/www.baskaornekdomain.org\/articles &#8230;<\/em><\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><span style=\"font-size: 14pt;\"><strong>Y\u00f6nlendir<\/strong>: <em>http: \/\/www.ornekdomain.com\/seo\/g &#8230;<\/em><\/span><\/li>\n<li><span style=\"font-size: 14pt;\"><strong>Buraya<\/strong>: <em>http: \/\/www.baskaornekdomain.org\/articles &#8230;<\/em><\/span><\/li>\n<\/ul>\n<p><span style=\"font-size: 14pt;\"><strong>\u00c7\u00f6z\u00fcm<\/strong>:<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">A\u015fa\u011f\u0131daki direktifi ekleyin:<\/span><\/p>\n<p><span style=\"font-size: 14pt; font-family: 'courier new', courier, monospace;\">RedirectMatch 301 \/seo\/guide\/(.*)\\.(php|html)\u00a0http:\/\/www.ornekdomain.org\/articles\/$1.php<\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><strong>A\u00e7\u0131klama:<\/strong><\/span><\/p>\n<p><span style=\"font-size: 14pt;\"><em>(.*)<\/em> ifadesi ise apache&#8217;ye herhangi bir karakter i\u00e7in 0&#8217;dan fazlas\u0131n\u0131 e\u015fle\u015ftirmesini ve back referans olarak <em>$1<\/em>&#8216;\u0131 kaydetmesini s\u00f6yler. <em>\\.(php|html)<\/em>, apache&#8217;ye <em>&#8220;php&#8221;<\/em> ya da <em>&#8220;html&#8221;<\/em> ile e\u015fle\u015ftirmesini ve back referans\u0131 <em>$2<\/em> olarak kaydedilmesini s\u00f6yler.(Bu \u00f6rnekte bu kullan\u0131lmaz) <em>&#8220;Php&#8221;<\/em> ile <em>&#8220;html&#8221;<\/em> aras\u0131nda bulunan <em>&#8220;|&#8221;<\/em> karakteri de de\u011ferlerden 2&#8217;sini birden de\u011fil de herhangi birini e\u015fle\u015ftirmek i\u00e7in kullan\u0131l\u0131r. Yani <em>(php | html | css | js | jpg | gif)<\/em> denmi\u015f olsayd\u0131, uzant\u0131lar <em>php, html, css, js, jpg<\/em> veya <em>gif<\/em> uzant\u0131l\u0131 dosyalardan herhangi biriyle e\u015fle\u015fecekti.<\/span><\/p>\n<p><span style=\"font-size: 14pt;\">Di\u011fer HTTP Durum Kodlar\u0131 ile ilgili daha fazla bilgi almak istiyorsan\u0131z <a href=\"https:\/\/www.ihs.com.tr\/blog\/http-durum-kodlari-nedir\/\">buraya<\/a>\u00a0t\u0131klayarak ilgili haberimize ula\u015fabilirsiniz.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Y\u00f6nlendirme (redirection), bir URL&#8217;yi farkl\u0131 bir URL&#8217;ye y\u00f6nlendirme i\u015flemi olarak a\u00e7\u0131klanabilir. Y\u00f6nlendirme genelde 3 t\u00fcre ayr\u0131l\u0131r: 301, 302 ve meta refresh. 301,&hellip;<\/p>\n","protected":false},"author":3,"featured_media":11070,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10985","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-haberler"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10985","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=10985"}],"version-history":[{"count":4,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10985\/revisions"}],"predecessor-version":[{"id":11022,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10985\/revisions\/11022"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/media\/11070"}],"wp:attachment":[{"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=10985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=10985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ihs.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=10985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}