WebSite X5Help Center

 
László N.
László N.
User

A szerverről, nem az index.html töltődik be a böngészőbe. Mi lehet az oka?  en

Автор: László N.
Просмотрено 560, Подписчики 1, Размещенный 0  

A szerverről, nem az index.html töltődik be a böngészőbe. Mi lehet az oka?

Egy régebbi weboldal beállítása töltődik.

Размещено
13 Ответы
John S.
John S.
User

Could you supply us with a link to your sit?

Читать больше
Размещено От John S.
John S.
John S.
User

If it is about: varrogep.eu

Then there is 2 problems.

1. problem is that you apparently have a https but it is also possible to use the http. You should set it up so https is always used.

2. You have 2 index-files  index.html and index.php You should delete the one that is NOT the one you want to see. I guess you should delete the index.php.

Читать больше
Размещено От John S.
E.G. Teljeur
E.G. Teljeur
User

add this to your .htsccess file

# BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.11]
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L]
</IfModule>
# END rlrssslReallySimpleSSL

Читать больше
Размещено От E.G. Teljeur
László N.
László N.
User
Автор

Az index.php fájlt töröltem, utána sem változott. Az ftp-re újra bejelentkezve, ismét a fájlok közt volt.

A htscess fájlt hol találom és hogy adjam hozzá?

Читать больше
Размещено От László N.
E.G. Teljeur
E.G. Teljeur
User

you can create with any text editor the .htaccess file and upload it with FTP to the server.

Читать больше
Размещено От E.G. Teljeur
László N.
László N.
User
Автор

htaccess fájlt, milyen kiterjesztésűnek kell lennie?

# BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.11]
<IfModule mod_rewrite.c>
RewriteEngine on RewriteCond
%{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://%{HTTP_ROST = / 301,L]
</IfModule>
# END rlrssslReallySimpleSSL

csak ennek kell benne lennie?

Читать больше
Размещено От László N.
László N.
László N.
User
Автор

Esetleg programon belül nem lehet beállítani, hogy az index.html legyen az alapértelmezett fájl.

Читать больше
Размещено От László N.
John S.
John S.
User

Index.html IS the default - unless there is a index.php.

You have to find out why the index.php is created.

Normally it only happens when the home page has code that requires the page to be php, or there is some advertising.

As the index.html is the page that is shown when you choose "home" in the meny, then it should be the index.html that is used by X5.

Читать больше
Размещено От John S.
László N.
László N.
User
Автор

Milyen kód lehet ami a php fájlt létrehozza?

Ezt programon belül kell megkeresni?

Читать больше
Размещено От László N.
E.G. Teljeur
E.G. Teljeur
User
László N.
htaccess fájlt, milyen kiterjesztésűnek kell lennie? # BEGIN rlrssslReallySimpleSSL rsssl_version[4.0.11] <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteRule ^(.*)$ https://%{HTTP_ROST= / 301,L] </IfModule> # END rlrssslReallySimpleSSL csak ennek kell benne lennie?

just .htaccess

no extention

Читать больше
Размещено От E.G. Teljeur
László N.
László N.
User
Автор

megcsináltam... nincs változás! :(

Читать больше
Размещено От László N.
László N.
László N.
User
Автор

Köszönöm, a segítséget, a szerveren volt hibás beállítás. :(

Читать больше
Размещено От László N.