Webmaster Forumu

Geri git   Webmaster Forumu > Web Hosting > Webserver Kurulum ve Ayarlar > Apache Htaccess Mod_rewrite

Apache Htaccess Mod_rewrite Apache htaccess mod_rewrite httpd.conf


Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)   eTicaret 
Alt 2007-10-24, 19:59
 
Üyelik tarihi: Sep 2006
Mesajlar: 80
eTicaret: %0/0
Rep Puanı: 1
Murat is an unknown quantity at this point
Standart Acil : .htaccess ile url yönlendirme kodu

Merhaba, direk video aramalarını listeleyen video scripttimdeki bazı url leri gostermek istemiyorum. misal
domain.com/video-sasasasas.html

bu url yi nasıl engellerim .htaccess de çok acil lazım.
Alıntı ile Cevapla
Ucuz ürün ihaleleri
  #2 (permalink)   eTicaret 
Alt 2007-10-24, 20:14
iyinet - ait Kullanıcı Resmi (Avatar)
Paylaşım için teşekkürler
 
Üyelik tarihi: Sep 2002
Mesajlar: 5.259
Blog Entries: 2
eTicaret: %100/6
Rep Puanı: 10
iyinet is on a distinguished road
Standart

RewriteEngine on
RewriteCond %{REQUEST_URI} domain.com/video-sasasasas.html
RewriteRule .* /baska.html [R,L]

Ama bence bunu uygulama icinde yapabilirsin, buna gerek varmi bilmiyorum.
Alıntı ile Cevapla
  #3 (permalink)   eTicaret 
Alt 2007-10-24, 20:26
 
Üyelik tarihi: Sep 2006
Mesajlar: 80
eTicaret: %0/0
Rep Puanı: 1
Murat is an unknown quantity at this point
Standart

olmadı

Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*)__(.*)__(.*)\.html$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)__(.*)$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)\.html$ index.php?modul=$1&param1=$2
RewriteRule (.*)__(.*)$ index.php?modul=$1&param1=$2
RewriteRule (.*)__$ index.php?modul=$1
RewriteRule (.*)\.html$ index.php
RewriteRule (.*)__(.*)__(.*)&feature=active_sharing$ index.php?modul=$1&param1=$2&param2=$3
RewriteCond %{REQUEST_URI} domain.com/video-sasasasas.html
RewriteRule .* /index.php [R,L]
Alıntı ile Cevapla
  #4 (permalink)   eTicaret 
Alt 2007-10-24, 20:32
sempaty - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Feb 2005
Mesajlar: 2.188
Blog Entries: 1
eTicaret: %100/5
Rep Puanı: 1
sempaty is a jewel in the rough
Standart

rewriteengine on

satırından hemen sonrasına

rewriterule ^video-sasasasas.html$ olmayanadres.html [r=301]
__________________
HTTP 401 - Unauthorized for life
Alıntı ile Cevapla
  #5 (permalink)   eTicaret 
Alt 2007-10-24, 20:40
 
Üyelik tarihi: Sep 2006
Mesajlar: 80
eTicaret: %0/0
Rep Puanı: 1
Murat is an unknown quantity at this point
Standart

olmadı :
http://www.domain.com/videom/izlebey..._545d4sds4.htm

bu videonun izlendigi sayfayı yonlendirmek istiyorum www.youtube.com a dediklerini yaptım olmadı. buraya yazdıgım urleri kullanıp yazarsanız sevinirim. Yada başka turlu bu url yi yonlendirme yada iptal edebilirmiyim? Youtube nin duyarsız kaldıgı bir konuda cıkan videonun sitemde çıkmasını istemiyorum videolar direk youtubeden gosterilme db ye kayıt yok. aklıma başka yöntem gelmedi php bilmediğimden.


Options +FollowSymLinks
RewriteEngine On
RewriteRule (.*)__(.*)__(.*)\.html$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)__(.*)$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)\.html$ index.php?modul=$1&param1=$2
RewriteRule (.*)__(.*)$ index.php?modul=$1&param1=$2
RewriteRule (.*)__$ index.php?modul=$1
RewriteRule (.*)\.html$ index.php
RewriteRule (.*)__(.*)__(.*)&feature=active_sharing$ index.php?modul=$1&param1=$2&param2=$3

Konu Murat tarafından (2007-10-24 Saat 20:44 ) değiştirilmiştir..
Alıntı ile Cevapla
  #6 (permalink)   eTicaret 
Alt 2007-10-24, 20:42
sempaty - ait Kullanıcı Resmi (Avatar)
 
Üyelik tarihi: Feb 2005
Mesajlar: 2.188
Blog Entries: 1
eTicaret: %100/5
Rep Puanı: 1
sempaty is a jewel in the rough
Standart

Options +FollowSymLinks
RewriteEngine On
rewriterule ^videom/izlebeya__*******__545d4sds4.htm http://www.youtube.com [r=301]
RewriteRule (.*)__(.*)__(.*)\.html$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)__(.*)$ index.php?modul=$1&param1=$2&param2=$3
RewriteRule (.*)__(.*)\.html$ index.php?modul=$1&param1=$2
RewriteRule (.*)__(.*)$ index.php?modul=$1&param1=$2
RewriteRule (.*)__$ index.php?modul=$1
RewriteRule (.*)\.html$ index.php
RewriteRule (.*)__(.*)__(.*)&feature=active_sharing$ index.php?modul=$1&param1=$2&param2=$3
__________________
HTTP 401 - Unauthorized for life
Alıntı ile Cevapla
  #7 (permalink)   eTicaret 
Alt 2007-10-24, 20:50
 
Üyelik tarihi: Sep 2006
Mesajlar: 80
eTicaret: %0/0
Rep Puanı: 1
Murat is an unknown quantity at this point
Standart

sempaty çok saolasın yardımların icin iyinet admin sende saol, oldu.
Alıntı ile Cevapla
  #8 (permalink)   eTicaret 
Alt 2008-02-27, 00:20
 
Üyelik tarihi: Sep 2006
Mesajlar: 80
eTicaret: %0/0
Rep Puanı: 1
Murat is an unknown quantity at this point
Standart

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

bu wp koduna nasıl 404 leri benim istedigim url ye yonlendirebilirim? icerik sildimde eski indexli sayfadaki hitleri benim belirlediğim url ye cekmek istiyorum.
ErrorDocument 404 /index.php

Konu Murat tarafından (2008-02-27 Saat 13:53 ) değiştirilmiştir..
Alıntı ile Cevapla
Cevapla


Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir)
 
Seçenekler
Stil


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
PHP yönlendirme KODU ? annudora PHP 16 2006-12-16 01:53
Yönlendirme Kodu Doğrumu??? PDET PHP 3 2006-09-10 05:20
Htaccess yönlendirme ? flashcenter.net Apache Htaccess Mod_rewrite 0 2006-06-16 15:45
Referrer e göre yönlendirme kodu kesmekes PHP 6 2006-03-17 14:27


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 20:43 .


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Hosting sponsor Netinternet Datacenter
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241