WebSite X5Help Center

 
Jacques G.
Jacques G.
User

Dns name not recognised after export to server  en

Autore: Jacques G.
Visite 845, Followers 1, Condiviso 0  
Parole Chiave: website x5 pro 2021.4

The normal website addres is not recognised. To access the site I have to add /home.html 

Previously was this not the case.

Postato il
4 RISPOSTE - 1 UTILE
Esahc ..
Esahc ..
Moderator

Jacques, have you moved your hosting recently (perhaps the new hosting with WX5)?

You may need to add a line to you .htaccess file

#Alternate default index page

DirectoryIndex home.html

-------------------------------

you can add multiple if you wish

#Alternate default index pages

DirectoryIndex home.html index.htm index.html index.php

Leggi di più
Postato il da Esahc ..
Jacques G.
Jacques G.
User
Autore

Thank you, but where can I find this  .htaccess file in the published site ?

Leggi di più
Postato il da Jacques G.
Jacques G.
Jacques G.
User
Autore

OK, I could find the file and the problem is solved - Thank you very much. I just hope this will not disapear when I reload new updates.

Leggi di più
Postato il da Jacques G.
Esahc ..
Esahc ..
Moderator

Oops - you solved the problem before I could complete the instructions. I shall leave this here in case it helps others. . . 

Jacques, go to step 5 and click on upload the website to the internet (as you would normally do to update your site) and select the file browser.

You can now locate the .htaccess file and copy it locally. Do the edits and then copy it back to your host overwriting the original (there is also the option to rename the original rather than overwrite if you wish).

Leggi di più
Postato il da Esahc ..