adres çubuğunda
http://site.com/das/dss.htmlbir adres olduğunu varsayalım bunu aynen
http://www.site.com/das/dss.htmlŞeklinde yönlendirmek istiyorum, yardıma ihtiyacım var. Teşekkürler
3
●973
Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^siteniz.com [nc]
rewriterule ^(.*)$ http://www.siteniz.com/$1 [r=301,nc] PHP için 301 yönlendirmesi<? Header( "HTTP/1.1 301 Moved Permanently" ); Header( "Location: http://www.siteniz.com" ); ?>ASP için 301 yönlendirmesi
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com/");
%>[/QUOTE]
Oldum olası barışamadım şu htaccess ile... 