»Forumlar »Seo Teknikleri »htaccess 404 sorunu
  https://seditio.com.tr/eski1/forums.php?m=posts&q=419
          Geri Dön      -      Sayfayı Yazdırmak için tıklayın
Author: TheRaskol, Posted: 2010-03-14 17:59 GMT.
arkda?lar a?a??daki htaccess'i at?nca 404 hatas?m al?yorum acaba ilgilenebilir misiniz?,

Kod:
DirectoryIndex index.html
DirectoryIndex index.php


Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*)/(.*)-([0-9]*)\.html$ page.php?id=$3&kat=$2&baslik=$1  [L] [NC]
RewriteRule ^konu([0-9]+)-(.*)$ forums.php?m=posts&q=$1&baslik=$2 [L] [NC]
RewriteRule ^kategori([0-9]+)-(.*)$ forums.php?m=topics&s=$1&baslik=$2 [L] [NC]
RewriteRule ^son([0-9]+)-(.*)-([a-z]+)\.([a-z]+)$  forums.php?m=posts&q=$1&baslik=$2&n=$3 [L] [NC]
RewriteRule ^p([0-9]+)-(.*)([a-z]+)$ forums.php?m=posts&p=$1&baslik=$2$3 [L] [NC]
RewriteRule ^q([0-9]+)-(.*)-([d])([0-9]+)\.([a-z]+)$ forums.php?m=posts&q=$1&baslik=$2&$3=$4 [L] [NC]
RewriteRule ^uye([0-9]+)-(.*)\.html$ users.php?m=details&id=$1 [L]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ plugins/gensitemap/datas/index.php?s=$1 [L]
RewriteRule ^ara/([0-9]*)\.html$ plug.php?e=search&pre=$1 [L]

RewriteCond %{HTTP_HOST}!^(www\.)?cybershare\.us [NC]
RewriteCond %{HTTP_HOST} ^(.*)\.cybershare\.us [NC]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ plugins/gensitemap/datas/index.php?s=$1 [L]
RewriteRule ^arsiv/([0-9]+).html$ plug.php?e=arsiv&sayfa=$1 [L] [NC]
RewriteRule ^etiket/([a-z]+)/$ plug.php?e=etiket&a=$1 [L]
RewriteRule ^etiket/([a-z]+)/([a-z]+).html$ plug.php?e=etiket&a=$1&etiket=$2 [L]
RewriteRule ^eklenti/([a-z]+).html$ plug.php?e=$1 [L] [NC]
RewriteRule ^kategori/([a-z]+).html$ list.php?c=$1 [L] [NC]
RewriteRule ^forumlar/kategori/([a-z]+).html$ forums.php?c=$1 [L] [NC]
RewriteRule ^index.html$ index.php [L] [NC]
RewriteRule ^forumlar.html$ forums.php [L] [NC]
RewriteRule ^uyeler.html$ users.php [L] [NC]
RewriteRule ^upload.html$ pfs.php [L] [NC]
RewriteRule ^ozelmesaj.html$ pm.php [L] [NC]
RewriteRule ^profil.html$ users.php?m=profile [L] [NC]
RewriteRule ^uyeol.html$ users.php?m=register [L] [NC]
RewriteRule ^sifremiunuttum.html$ plug.php?e=passrecover [L] [NC]
RewriteRule ^arama.html$ plug.php?e=search [L] [NC]


#Sitemap .XML
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php



RewriteEngine on
# Rewrite-Code | by Mustafa YILMAZ
RewriteCond %{QUERY_STRING} (\"|%22).*(\>|%3E|<|%3C).* [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteCond %{QUERY_STRING} (\;|\'|\"|\%22).*(union|insert|where|select|update|drop|md5|or|and|if).* [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteRule (,|;|<|>|'|`) 404.shtml [NC]


te?ekk?rler
Author: Kaan, Posted: 2010-03-14 21:09 GMT.
Options +FollowSymLinks alttaki gibi yap dene..

#Options +FollowSymLinks

Bunlar?da sil istersen.
DirectoryIndex index.html
DirectoryIndex index.php
Author: TheRaskol, Posted: 2010-03-14 23:25 GMT.
dedi?in gibi denedi?imde de olmuyor sitenin grafikleri ??km?yor ya da kategorilere girmiyor
Author: Kaan, Posted: 2010-03-15 16:46 GMT.
Sorun htacces i?erisindeki kodlardan kaynaklan?yor.

Kodlar? haz?rlayan arkada?la g?r??meni ?neririm..

?ncelikle bunlar? sil sil dene..
Kod:
#Sitemap .XML
RewriteEngine on
RewriteRule ^sitemap.xml$ sitemap.php

RewriteEngine on
# Rewrite-Code | by Mustafa YILMAZ
RewriteCond %{QUERY_STRING} (\"|%22).*(\>|%3E|<|%3C).* [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteCond %{QUERY_STRING} (\;|\'|\"|\%22).*(union|insert|where|select|update|drop|md5|or|and|if).* [NC]
RewriteRule ^(.*)$ 404.shtml [NC]
RewriteRule (,|;|<|>|'|`) 404.shtml [NC]

Powered by SeditioPrint version