MyBB Depo Forum
[1.8] Windows sunucuda .htacces yerine web.config - Baskı Önizleme

+- MyBB Depo Forum (https://mybbdepo.com)
+-- Forum: MyBB 1.8 Depo (https://mybbdepo.com/mybb-1-8-depo-forumu)
+--- Forum: MyBB 1.8 Soru ve Sorunlarınız (https://mybbdepo.com/mybb-1-8-soru-ve-sorunlariniz-forumu)
+--- Konu Başlığı: [1.8] Windows sunucuda .htacces yerine web.config (/windows-sunucuda-htacces-yerine-web-config-konusu.html)



Windows sunucuda .htacces yerine web.config - yunus123 - 29-12-2014

windows tabanlı hostıng kullanıyorum .web config ile siteadi/index.php yi nasıl siteadı/index yapabilirim hostun php destegi var ama calışmıyor .htacss sanırım


Cvp: Windows sunucuda .htacces yerine web.config - eatik - 29-12-2014

Yanlışım varsa düzeltin ama Windows sunucularda php yazılım dili desteklenmiyor diye biliyorum. Asp teknolojisi kullanılıyor bu sunucularda.


Cvp: Windows sunucuda .htacces yerine web.config - Caxing - 29-12-2014

mybb linux da çalışır diye biliyorum bende


Cvp: Windows sunucuda .htacces yerine web.config - EmreKarakaya - 29-12-2014

Merhaba

Windows Serverleri biraz araştırdım.Google seo kurulumundan sonra web config dosyasınıza aşağıdaki kodları düzenleyerek ekleyebilir misiniz?

Kod:
<rule name="rule 1Y" stopProcessing="true">
    <match url="^([^&]*)&(.*)$"  />
    <action type="Rewrite" url="/http://site-adresiniz.com/{R:1}?{R:2}"  appendQueryString="true" />
</rule>
<rule name="rule 2Y" stopProcessing="true">
    <match url="^sitemap\-([^./]+)\.xml$"  ignoreCase="true" />
    <action type="Rewrite" url="/misc.php?google_seo_sitemap={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 3Y" stopProcessing="true">
    <match url="^forum\-([^./]+)$"  ignoreCase="true" />
    <action type="Rewrite" url="/forumdisplay.php?google_seo_forum={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 4Y" stopProcessing="true">
    <match url="^konu\-([^./]+)\.html$"  ignoreCase="true" />
    <action type="Rewrite" url="/showthread.php?google_seo_thread={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 5Y" stopProcessing="true">
    <match url="^duyuru\-([^./]+)\.html$"  ignoreCase="true" />
    <action type="Rewrite" url="/announcements.php?google_seo_announcement={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 6Y" stopProcessing="true">
    <match url="^uye\-([^./]+)\.html$"  ignoreCase="true" />
    <action type="Rewrite" url="/member.php?action=profile&amp;google_seo_user={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 7Y" stopProcessing="true">
    <match url="^takvim\-([^./]+)\.html$"  ignoreCase="true" />
    <action type="Rewrite" url="/calendar.php?google_seo_calendar={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 8Y" stopProcessing="true">
    <match url="^etkinlik\-([^./]+)\.html$"  ignoreCase="true" />
    <action type="Rewrite" url="/calendar.php?action=event&amp;google_seo_event={R:1}"  appendQueryString="true" />
</rule>



Cvp: Windows sunucuda .htacces yerine web.config - yunus123 - 29-12-2014

Teşekkürler arkadaşlar Sunucuda kullandıgım php sürümü 5.4 arkadaşlar normalde bende olmaz diye biliyordum ama bu sunucada var fakat php destegi olduguna göre .htaccss çalıştırması lazım düz mantıga göre ama çalıştırmıyor
Emre bey google seo kurulu degil ise

(29-12-2014, Saat:00:34)QwerT_ Adlı Kullanıcıdan Alıntı: Yanlışım varsa düzeltin ama Windows sunucularda php yazılım dili desteklenmiyor diye biliyorum. Asp teknolojisi kullanılıyor bu sunucularda.


Evet kardeşim asp kullanıyor ama bazı sunucular php destegide verebiliyor benim kullanıdıgımda var.


Cvp: Windows sunucuda .htacces yerine web.config - EmreKarakaya - 30-12-2014

(29-12-2014, Saat:13:57)yunus123 Adlı Kullanıcıdan Alıntı: Teşekkürler arkadaşlar Sunucuda kullandıgım php sürümü 5.4 arkadaşlar normalde bende olmaz diye biliyordum ama bu sunucada var fakat php destegi olduguna göre .htaccss çalıştırması lazım düz mantıga göre ama çalıştırmıyor
Emre bey google seo kurulu degil ise

(29-12-2014, Saat:00:34)QwerT_ Adlı Kullanıcıdan Alıntı: Yanlışım varsa düzeltin ama Windows sunucularda php yazılım dili desteklenmiyor diye biliyorum. Asp teknolojisi kullanılıyor bu sunucularda.


Evet kardeşim asp kullanıyor ama bazı sunucular php destegide verebiliyor benim kullanıdıgımda var.

Merhaba

Geç cevap veriyorum kusura bakmayın.Mybb nin kendi sef url özelliği var.Aşağıdaki kodları kullanabilirsiniz...

Kod:
<rule name="rule 1i" stopProcessing="true">
    <match url="^forum-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/forumdisplay.php?fid={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 2i" stopProcessing="true">
    <match url="^forum-([0-9]+)-page-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/forumdisplay.php?fid={R:1}&amp;page={R:2}"  appendQueryString="true" />
</rule>
<rule name="rule 3i" stopProcessing="true">
    <match url="^thread-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 4i" stopProcessing="true">
    <match url="^thread-([0-9]+)-page-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;page={R:2}"  appendQueryString="true" />
</rule>
<rule name="rule 5i" stopProcessing="true">
    <match url="^thread-([0-9]+)-lastpost\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;action=lastpost"  appendQueryString="true" />
</rule>
<rule name="rule 6i" stopProcessing="true">
    <match url="^thread-([0-9]+)-nextnewest\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;action=nextnewest"  appendQueryString="true" />
</rule>
<rule name="rule 7i" stopProcessing="true">
    <match url="^thread-([0-9]+)-nextoldest\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;action=nextoldest"  appendQueryString="true" />
</rule>
<rule name="rule 8i" stopProcessing="true">
    <match url="^thread-([0-9]+)-newpost\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;action=newpost"  appendQueryString="true" />
</rule>
<rule name="rule 9i" stopProcessing="true">
    <match url="^thread-([0-9]+)-post-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/showthread.php?tid={R:1}&amp;pid={R:2}"  appendQueryString="true" />
</rule>
<rule name="rule 10i" stopProcessing="true">
    <match url="^post-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/showthread.php?pid={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 11i" stopProcessing="true">
    <match url="^announcement-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/announcements.php?aid={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 12i" stopProcessing="true">
    <match url="^user-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/member.php?action=profile&amp;uid={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 13i" stopProcessing="true">
    <match url="^calendar-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/calendar.php?calendar={R:1}"  appendQueryString="true" />
</rule>
<rule name="rule 14i" stopProcessing="true">
    <match url="^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/calendar.php?calendar={R:1}&amp;year={R:2}&amp;month={R:3}"  appendQueryString="true" />
</rule>
<rule name="rule 15i" stopProcessing="true">
    <match url="^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/calendar.php?action=dayview&amp;calendar={R:1}&amp;year={R:2}&amp;month={R:3}&amp;day={R:4}"  appendQueryString="true" />
</rule>
<rule name="rule 16i" stopProcessing="true">
    <match url="^calendar-([0-9]+)-week-(n?[0-9]+)\.html$"  />
    <action type="Rewrite" url="/calendar.php?action=weekview&amp;calendar={R:1}&amp;week={R:2}"  appendQueryString="true" />
</rule>
<rule name="rule 17i" stopProcessing="true">
    <match url="^event-([0-9]+)\.html$"  />
    <action type="Rewrite" url="/calendar.php?action=event&amp;eid={R:1}"  appendQueryString="true" />
</rule>