• 05-08-2023, 21:39:50
    #10
    fatbotter.com
    CanDeliboyraz adlı üyeden alıntı: mesajı görüntüle
    hocam bunu koymazsam direk index.php açılıyor
    RewriteEngine On RewriteRule ^$ /index.html [L]

    bunu koyup bunu ekledim

    <script>
    // 10 saniye sonra yönlendirme yapacak JavaScript kodu
    setTimeout(function() {
    window.location.href = "https://www.siteadi.com/index.php";
    }, 10000); // 10

    ama yok illede html illede html deli etti

    <script> etiketini kapattınız mı?

    </script>
  • 05-08-2023, 21:50:19
    #11
    Yok arkadaş ne denediysem olmadı yok mu çözecek yardımcı olacak kimse anydesk filan versem bağlansanız bir yardımcı olsanız olabilir mi arkadaşlar ?
  • 05-08-2023, 21:51:01
    #12
    lookout adlı üyeden alıntı: mesajı görüntüle
    <script> etiketini kapattınız mı?

    </script>
    Tabii ki
  • 05-08-2023, 22:02:50
    #13
    Ana dizinde index.html dosyası açın. Aşağıdaki JS kodunu ekleyin.
    <!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.php
    Bir de böyle deneyin.
  • 05-08-2023, 22:05:37
    #14
    GVertigang adlı üyeden alıntı: mesajı görüntüle
    Ana dizinde index.html dosyası açın. Aşağıdaki JS kodunu ekleyin.
    <!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.php
    Bir de böyle deneyin.

    Htaccess

    <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>

    HTML
    <!-- 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

    ancak sonuç değişmiyor html de html diyor lanet şey