![]() |
|
|||||||
| Apache htaccess mod_rewrite Apache htaccess mod_rewrite httpd.conf |
![]() |
|
|
LinkBack | Seçenekler | Stil |
|
||||
|
ben arama yaptim biraz bişeyler buldum sen yappp güzelll oluyoooooooorr
![]() http://forum.iyinet.com/showthread.p...ight=.htaccess http://forum.iyinet.com/search.php?s...d=472423&pp=25 httaccess değil bu arada htaccess arkadaşım |
|
||||
|
Alıntı:
__________________
karavan alıp gezesim var.. |
|
||||
|
__________________
50YTL Ücretle Satılık Oyun Scripti |
|
||||
|
Google'da friendly url olarak aratırsanız, karşınıza gelecek sonuçlar size oldukça yardımcı olacaktır.
http://www.google.com.tr/search?hl=en&q=friendly+url Php dinamik bir sayfayı işaret etiğine göre. Demek salt .php yi .html yapmak işe yaramaz.Kullanılan fonksiyonlara göre rule'ları kendiniz tanımlamanız gerekir. Daha ayrıntılı tanımlamalar ile de php dosya adlarını çok daha anlamlı hale getirebilirsiniz. Tabii burada dil karekter kodlamalarına dikkat ederek kurallar yaratmalısınız. Friendly URL hali: http://www.divxplanet.com/sub/m/8246...-Meltdown.html Orjinal hali: http://www.divxplanet.com/altyazi_.php?id=36636 Friendly URL hali: http://forum.divxplanet.com/Sansuerl...im-t53178.html Orjinal hali: http://forum.divxplanet.com/index.php?showtopic=53178 IPB için olması gereken .htaccess dosyasınıda kuralları görmeniz açısından aşağıya paste edeyim. Bizim kullandığımız yöntem sadece Apache sunucular da çalışan, mod_rewrite modülünü aktif edilmesi gereken yöntemdir. Verdiğim google linkin de diğer yöntemleri de görebilirsiniz. Kod:
# Rules # # Gallery RewriteRule ^gallery\.html(.*)$ index.php?act=module&module=gallery$1 # DO THE TOPIC URLS RewriteRule ^(.*)-t([0-9][0-9]*)-s([0-9][0-9]*)\.html(.*)$ index.php?showtopic=$2&st=$3 RewriteRule ^(.*)-t([0-9][0-9]*)\.html(.*)$ index.php?showtopic=$2$3 # DO THE FORUM URLS RewriteRule ^(.*)-new-topic-f([0-9]*)\.html(.*)$ index.php?act=Post&CODE=00&f=$2$3 RewriteRule ^(.*)-new-poll-f([0-9]*)\.html(.*)$ index.php?act=Post&CODE=10&f=$2$3 RewriteRule ^(.*)-f([0-9][0-9]*)\.html(.*)$ index.php?showforum=$2$3 # DO EMAIL AND PM URLS RewriteRule ^(.*)-a-private-message-m([0-9]*)\.html(.*)$ index.php?act=Msg&CODE=4&MID=$2$3 RewriteRule ^(.*)-an-email-m([0-9]*)\.html(.*)$ index.php?act=Mail&CODE=00&MID=$2$3 # DO THE PROFILE URLS RewriteRule ^(.*)-m([0-9]*)\.html(.*)$ index.php?showuser=$2$3 # Login/Logout RewriteRule ^logout\.html(.*)$ index.php?act=Login&CODE=03$1 RewriteRule ^login\.html(.*)$ index.php?act=Login&CODE=00$1 RewriteRule ^register\.html(.*)$ index.php?act=Reg&CODE=00$1 # STATS AND LEGENDS RewriteRule ^the-moderating-team\.html(.*)$ index.php?act=Stats&CODE=leaders$1 RewriteRule ^todays-top-10-posters\.html(.*)$ index.php?act=Stats$1 # MEMBERS LIST RewriteRule ^member-list\.html(.*)$ index.php?act=Members$1 # ONLINE LIST RewriteRule ^online-list\.html(.*)$ index.php?act=Online$1 # HELP RewriteRule ^(.*)-h([0-9]*)\.html(.*)$ index.php?act=help&CODE=01&HID=$2$3 RewriteRule ^(.*)help\.html(.*)$ index.php?act=Help$2 # USER CP RewriteRule ^my-controls\.html(.*)$ index.php?act=UserCP&CODE=00$1 # MESSENGER RewriteRule ^compose-new-message\.html(.*)$ index.php?act=Msg&CODE=04$1 RewriteRule ^inbox\.html(.*)$ index.php?act=Msg&CODE=01&VID=in$1 RewriteRule ^sent-items\.html(.*)$ index.php?act=Msg&CODE=01&VID=sent$1 RewriteRule ^saved-pms\.html(.*)$ index.php?act=Msg&CODE=20$1 RewriteRule ^empty-pm-folders\.html(.*)$ index.php?act=Msg&CODE=delete$1 RewriteRule ^edit-storage-folders\.html(.*)$ index.php?act=Msg&CODE=07$1 RewriteRule ^pm-buddies\.html(.*)$ index.php?act=Msg&CODE=02$1 RewriteRule ^archive-messages\.html(.*)$ index.php?act=Msg&CODE=14$1 RewriteRule ^message-tracker\.html(.*)$ index.php?act=Msg&CODE=30$1 RewriteRule ^new-messages\.html(.*)$ index.php?act=Msg&CODE=01$1 # SUBSCRIPTIONS RewriteRule ^view-topic-subscriptions\.html(.*)$ index.php?act=UserCP&CODE=26$1 RewriteRule ^view-forum-subscriptions\.html(.*)$ index.php?act=UserCP&CODE=50$1 # PERSONAL PROFILE RewriteRule ^edit-profile-info\.html(.*)$ index.php?act=UserCP&CODE=01$1 RewriteRule ^edit-signature\.html(.*)$ index.php?act=UserCP&CODE=22$1 RewriteRule ^edit-avatar-settings\.html(.*)$ index.php?act=UserCP&CODE=24$1 RewriteRule ^change-personal-photo\.html(.*)$ index.php?act=UserCP&CODE=photo$1 # OPTIONS RewriteRule ^manage-your-attachments\.html(.*)$ index.php?act=UserCP&CODE=attach$1 RewriteRule ^manage-ignored-users\.html(.*)$ index.php?act=UserCP&CODE=ignore$1 RewriteRule ^email-settings\.html(.*)$ index.php?act=UserCP&CODE=02$1 RewriteRule ^board-settings\.html(.*)$ index.php?act=UserCP&CODE=04$1 RewriteRule ^change-email-address\.html(.*)$ index.php?act=UserCP&CODE=08$1 RewriteRule ^change-password\.html(.*)$ index.php?act=UserCP&CODE=28$1 # MODERATOR TOOLS RewriteRule ^ip-tool\.html(.*)$ index.php?act=UserCP&CODE=iptool$1 RewriteRule ^member-tool\.html(.*)$ index.php?act=UserCP&CODE=memtool$1 RewriteRule ^manage-anoucements\.html(.*)$ index.php?act=UserCP&CODE=announce_start$1 # GET NEW POSTS RewriteRule ^get-new-posts\.html(.*)$ index.php?act=Search&CODE=getnew$1 # DO THE FORUM INDEX RewriteRule ^forums\.html(.*)$ index.php?act=idx$3 |
|
||||
|
vbulletin için olanıda vardır herhalde
__________________
www.vbulletin-tr.com | |
![]() |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| Sedo'da EFT ayarı ? | EBilisim | Parking | 7 | 2006-08-14 21:08 |
| Alternafit subdomain dns ayarı | Cassini | Webmaster Genel Konular | 2 | 2005-07-10 15:11 |
| Sunucu ayarı | qullanici | Web Hosting Kurulum Donanım Yazılım | 10 | 2005-01-21 22:43 |
| MyDomain.Com MX Ayarı | Anonymous | Web Hosting Kurulum Donanım Yazılım | 2 | 2002-08-02 01:26 |
| MyDomain.Com MX Ayarı | Anonymous | Webmaster Genel Konular | 1 | 2002-07-31 15:59 |