Bunun dışında eski domainin .htaccess dosyasına bir kod yazmam gerekiyor mu acaba? Bu kodu araştırdım fakat genelde wordpress sistemler için verilmiş.
Ben *.siteadi.com şeklinde subdomainli bir sistem kullanıyorum, acaba .htaccess dosyasından da yönlendirme yapmam için kod yazmam gerekiyorsa ne yazmam gerekiyor, yardımcı olabilecek birisi var mı?
Eski Domainin .Htacces dosyasında şuanda yazan kod:
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.siteadi.net
RewriteCond %{HTTP_HOST} ^([^.]+).siteadi.net
RewriteRule ^$ /browse.php?c=%1 [L]
RewriteCond %{HTTP_HOST} !^www.siteadi.net
RewriteCond %{HTTP_HOST} ^([^.]+).siteadi.net
RewriteRule ^([^./]+)$ /browse.php?c=%1&s=$1 [L]
RewriteRule ^(.*).html file.php?f=$1 [L]
RewriteRule ^a/(.*).html a/$1 [L]
RewriteRule ^profile/([0-9]+)/([_A-Za-z0-9-]+).html profile.php?u=$1
RewriteRule ^([_A-Za-z0-9-]+).htm page.php?p=$1 [L]
RewriteRule ^sitemap.xml$ sitemap.php [L]
RewriteRule ^rss/oyunlar$ rss.php [L]
## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## EXPIRES CACHING ##
Umarım sende işe yarar şu sıralar emeğin karşılığını alamaz olduk.