Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [Access]Rewirte rule wyjątek?
Wujeksamodno
post
Post #1





Grupa: Zarejestrowani
Postów: 30
Pomógł: 1
Dołączył: 12.09.2009

Ostrzeżenie: (0%)
-----


Witam. Na moim forum posiadam przepisywanie linków na 'przyjazne'.
Jednak, przepisuje on także linki dla obrazków.
Przykład.
adres forum-
Kod
http://www.adres.pl/serwery-reksio/reksio-tp-f-39.html

adres obrazka do załadowania-
Kod
http://www.adres.pl/images/black_games/off.gif

jak przepisuje adres obrazka-
Kod
http://www.reksio-cs.pl/serwery-reksio/images/black_games/off.gif

I chodzi mi o to, czy da się zrobić jakoś tak aby dla tego katalogu nie przepisywało linków.
Czy jest to możliwe?
Mój htaccess
  1. # //seo_mod_start
  2. RewriteEngine On
  3. # Uncomment the following and add your forum path if rewrites arent working properly
  4. RewriteBase /
  5. RewriteRule ^index.html$ index.php [L,NE]
  6. RewriteRule ^(.*)-t-([0-9]+).html(.*)$ showthread.php?tid=$2$3 [QSA,L]
  7. RewriteRule ^(.*)-t-([0-9]+)-([0-9]+).html$ showthread.php?tid=$2&page=$3 [QSA,L]
  8. RewriteRule ^(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
  9. RewriteRule ^(.*)-u-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
  10. RewriteRule ^members/(.*)-([0-9]+).html$ member.php?action=profile&uid=$2 [QSA,L]
  11. RewriteRule ^(.*)/(.*)-f-([0-9]+).html(.*)$ forumdisplay.php?fid=$2$3 [QSA,L]
  12. RewriteRule ^(.*)-f-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&page=$3 [QSA,L]
  13. RewriteRule ^(.*)-f-([0-9]+)-([a-z]+)(-|-[a-z]+)-([0-9]+)-([0-9]+).html(.*)$ forumdisplay.php?fid=$2&sortby=$3&order=$4&datecut=$5&page=$6$7 [L]
  14. RewriteRule ^(.*)-a-([0-9]+).html$ announcements.php?aid=$2 [L]
  15. # //seo_mod_end
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi (1 - 2)
Fifi209
post
Post #2





Grupa: Zarejestrowani
Postów: 4 655
Pomógł: 556
Dołączył: 17.03.2009
Skąd: Katowice

Ostrzeżenie: (0%)
-----


Zapraszam do lektury:

http://eriz.pcinside.pl/weblog/mod_rewrite...wiazac-208.html
Go to the top of the page
+Quote Post
Wujeksamodno
post
Post #3





Grupa: Zarejestrowani
Postów: 30
Pomógł: 1
Dołączył: 12.09.2009

Ostrzeżenie: (0%)
-----


Właśnie studiuję te stronę, jednak nie moge znależc rozwiązania na mój problem.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 23.08.2025 - 14:51