Page 1 of 1

INDEX.HTML

Posted: Sat Nov 16, 2019 1:17 pm
by laros
hi,

Is it possible that when i publish it, it does not publish as https://www.kamagra-uzitek.com/tezave-z-erekcijo.html

but to be just:

https://www.kamagra-uzitek.com

Is the solution that i delete the name of the "first page" which was named "index.html" and just leave it blank?

Thank you!

Re: INDEX.HTML

Posted: Sat Nov 16, 2019 1:26 pm
by BaconFries
Yes it is possible by the use of a .htacess file on the server as long as your/host supports Apache. You should contact your host for further help.

Re: INDEX.HTML

Posted: Sat Nov 16, 2019 3:24 pm
by laros
BaconFries wrote:
Sat Nov 16, 2019 1:26 pm
Yes it is possible by the use of a .htacess file on the server as long as your/host supports Apache. You should contact your host for further help.
Thank you. Unfortunately they are not available until Monday, so i am trying to solve it today. I have put several codes into .htaccess but none has worked.

Do you think it would work if i would just delete the name (so that the page name wouldnt be index) ?

Thanks in advance!

Re: INDEX.HTML

Posted: Sat Nov 16, 2019 3:51 pm
by BaconFries
No, a index is required whether it is .html, .php or .net so that the server can load the page(s). The only way is with the use of a .htacess.

Re: INDEX.HTML

Posted: Sun Nov 17, 2019 11:49 am
by Williams
I'm interested :idea: :idea:

Bty, I've contacted my host provide. And the answer was " this's something related to the way you build your project. For example **WP** has an option in the dashboard on how you would like your links to see.

If anybody has a code to be added to .htaccess , pls share with us.

Thank you all..

Re: INDEX.HTML

Posted: Sun Nov 17, 2019 5:13 pm
by BaconFries
Perhaps the following will be useful and provide a insight.
Tools -> Options -> Publish -> Hide file extension for internal links.
Please read the help before enabling this option!

Re: INDEX.HTML

Posted: Mon Nov 18, 2019 4:04 pm
by Williams
This option didn't work for me. I think there's a code should be added into a .htaccess file and that's what Pablo said before but he didn't say what's this code!!

viewtopic.php?f=19&t=86426

Re: INDEX.HTML

Posted: Mon Nov 18, 2019 4:16 pm
by Pablo
Please see the help for an example.
Note that we cannot provide support on server configuration.

Re: INDEX.HTML

Posted: Mon Nov 18, 2019 5:21 pm
by BaconFries
As Pablos reply.... did you read the help before saying it doesn't work!! As this is server related you should contact them for help. You will also need to ensue that your server runs Apache before you can use .htacess

Re: INDEX.HTML

Posted: Tue Nov 19, 2019 12:54 am
by Williams
Pablo wrote:
Mon Nov 18, 2019 4:16 pm
Please see the help for an example.
Note that we cannot provide support on server configuration.
Sorry Pablo i can't find it. could you help me pls!! I've contacted my host provider and they answered that this's something related to the setting on how you build your website nothing related to the host!!

Is there any simple way to do that!!

Re: INDEX.HTML

Posted: Tue Nov 19, 2019 7:00 am
by Pablo
This is 100% related to the host.

1. In the help, search for htaccess.
2. Select first result.
3. Go to 'Hide file extension for internal links '
Carefully read the instructions.

Warning:
We cannot provide support on configuring the server or editing .htaccess. Use at your own risk!

Re: INDEX.HTML

Posted: Tue Nov 19, 2019 5:49 pm
by laros
Pablo wrote:
Tue Nov 19, 2019 7:00 am
This is 100% related to the host.

1. In the help, search for htaccess.
2. Select first result.
3. Go to 'Hide file extension for internal links '
Carefully read the instructions.

Warning:
We cannot provide support on configuring the server or editing .htaccess. Use at your own risk!
Great Pablo! You solved the problem with this post! Thank you!