Merhaba ben site ana dizinie bir adet index.html oluşturdum normalde web tarayıcıya direk domain adını yazdığınızda bu index.html açılması lazım ama bende direk xenfora foruma gidiyor ancak domainadresi.com/index.html yapınca attığım indexi görebiliyorum muhtemelen bunun çözümü forum genel ayarlarında ama tüm denemelerime rağmen çözemedim desteklerinizi bekliyorum.
htaccess ile sorunu çözmeyi denedim olmadı maalesef
DirectoryIndex index.html denedim bu kod devamlı sitede hmtl çalıştırıyor bu sefer php geçmiyor.
Siteye girişte index.html açılmıyor
5
●713
- 30-08-2017, 10:39:28Merhaba,
Aynı dizinde xenfora'nın index.php dosyası var ise index.html çalışmayacaktır.
Hosting panelinizden veya htaccess üzerinden yönlendirme olup olmadığını kontrol ettiniz mi ?
Bilgilerinize. - 30-08-2017, 11:50:49
# Mod_security can interfere with uploading of content such as attachments. If you # cannot attach files, remove the "#" from the lines below. #<IfModule mod_security.c> # SecFilterEngine Off # SecFilterScanPOST Off #</IfModule> ErrorDocument 401 default ErrorDocument 403 default ErrorDocument 404 default ErrorDocument 405 default ErrorDocument 406 default ErrorDocument 500 default ErrorDocument 501 default ErrorDocument 503 default <IfModule mod_rewrite.c> RewriteEngine On # If you are having problems with the rewrite rules, remove the "#" from the # line that begins "RewriteBase" below. You will also have to change the path # of the rewrite to reflect the path to your XenForo installation. #RewriteBase /xenforo # This line may be needed to enable WebDAV editing with PHP as a CGI. #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L] RewriteRule ^.*$ index.php [NC,L] </IfModule> - 30-08-2017, 11:58:49Htaccess dahilinde sondan bir önce ki satır,
RewriteRule ^.*$ index.php [NC,L]
Burayı .php yerine .html yaparak deneyiniz lütfen.
Bilgilerinize.