Merhaba, bir sitem var 404 yapısı düzgün çalışıyor. Alt dizine aynı sitenin türkçesini atmak istiyorum. Şöyle bir soun oluşuyor. Mdb ile çekilen sayfalar alt dizinde 404'e düşüyor. Burada bir sıkıntım var çözemedim yarımcı olursanız sevinirim. Asp pek bilmiyorum çünkü. 404 sayfam.
<!--#include file="db.asp"-->
<%
if session("referer")="" or isnull(session("referer")) or isempty(session("referer")) then
session("referer")=Request.ServerVariables ("HTTP_REFERER")
end if
id=0
tbl="index"
siteadres="http://www.***.com/:80/"
if instr(Request.ServerVariables("QUERY_STRING"),"www.")<=0 then
strURL = Replace(Request.ServerVariables("QUERY_STRING"),siteadres,"")
strURL = Replace(strURL,"www.","")
else
strURL = Replace(Request.ServerVariables("QUERY_STRING"),siteadres,"")
end if
strURL = Replace(strURL,"404;","")
siteadres=replace(siteadres,":80","")
strURL=clearq(strURL)
set rs = cna.execute("select * from ViewPerma where permalink='"&strURL&"'")
if not rs.eof then
id=rs("Id")
tbl=rs("Tbl")
end if
rs.close
cna.close
%>
<%select case tbl%>
<%case "Pages"%>
<!--#include file="page.asp"-->
<%case "Countries"%>
<!--#include file="index.asp"-->
<%case "Cities"%>
<!--#include file="index.asp"-->
<%case "Branches"%>
<!--#include file="index.asp"-->
<%case "Hospitals"%>
<!--#include file="clinic.asp"-->
<%case "index"%>
<!--#include file="index.asp"-->
<%end select%>
anlayan birinin tüm dosyalara bakması şart, burdan yazmakla olmaz, havada kalır.
skype adresinizi p.m ile gönderin yardımcı olayım.