![]() |
|
|||||||
| Apache htaccess mod_rewrite Apache htaccess mod_rewrite httpd.conf |
![]() |
|
|
LinkBack | Seçenekler | Stil |
|
||||
|
sitemde bu .htaccess dosyasını kullanıyorum sayfaya istedigim düzeni veremedim
ben bunun gibi olmasını istiyorum www.benimsitem.com/Business/ ama böyle oluyor http://www.benimsitem.com/index.php?c=/Business/ yardımcı olurmusunuz . RewriteEngine on RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L] RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L] RewriteRule ^new-links.html$ new-links.php [QSA,L] RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L] RewriteRule ^top-links.html$ top-links.php [QSA,L] RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L] RewriteRule ^popular-links.html$ popular-links.php [QSA,L] RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L] RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L] RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L] RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L] |
|
||||
|
Alıntı:
olmadı benmi yapamadım bilmiyorum Page Name: yazan yere birşey yazmak zorundamıyız birde url yi yalnışmı girdim acaba şu şekillerde girdim http://www.benimsitem.com/index.php?c=/ http://www.benimsitem.com/index.php?c= http://www.benimsitem.com/index.php?c http://www.benimsitem.com/index.php? http://www.benimsitem.com/index.php http://www.benimsitem.com/ hepsini ayrı ayrı denedim şu kodu verdi olmadı PHP- Kodu:
|
|
||||
|
Alıntı:
şu anda siteme giriş yapamıyorum dener denemez sonucu buraya yazarım. |
|
||||
|
Benim sitemde kullandığım kodları paylaşayım. Ayrıca /includes/config.inc.php içindeki $use_short değerini 1 yapmanız gerekmektedir. Umarım yardımcı olabilmişimdir.
__________________
http://www.knightonlinearea.net |
![]() |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| mod rewrite | yozgatlı | Apache htaccess mod_rewrite | 11 | 2006-08-21 17:46 |
| hangi mod rewrite | webyazilim | Webmaster Genel Konular | 3 | 2006-08-11 20:32 |
| url rewrite (SMF 1.1 RC2) | aLcadraz | Google Optimizasyon | 4 | 2006-07-15 19:48 |
| htacces URL rewrite | hakimi | Apache htaccess mod_rewrite | 5 | 2006-07-05 21:24 |
| nerde hata yapıyorum > rewrite | yozgatlı | Web Hosting Kurulum Donanım Yazılım | 0 | 2006-05-22 00:24 |