CanDeliboyraz adlı üyeden alıntı:
mesajı görüntüle
<script> etiketini kapattınız mı?
</script>
13
●270
<!DOCTYPE html>
<html>
<body>
<h2>Yönlendirme Sayfası</h2>
<script>
setTimeout(function(){
window.location.href = 'http://siteniz.com/index.php';
}, 10000);
</script>
</body>
</html>10000 sayısı milisaniye cinsinden. 10 saniye sonra yönlendirme yapar. Siteye girildiğinde de varsayılan olarak hangi dosyanın açılmasını istiyorsanız htaccess dosyasını düzenlemeniz lazım.DirectoryIndex index.html index.phpBir de böyle deneyin.
<IfModule mod_rewrite.c>
RewriteEngine On
DirectoryIndex index.html index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule><!-- End Save for Web Slices -->
<script>
setTimeout(function(){
window.location.href = 'https://www.xxx.de/index.php';
}, 10000);
</script>
</body>
</html>xxx i url görünürse sorun olur diye yazdım buraya atarken