Remove .html on html export

Sorrow Finest
41 Posts
Sorrow Finest posted this 10 May 2023
Ask a Question

Please add the function that you have the possibility to remove the ending with .html also with the HMTL export because the SEO properties deteriorates. And I would like to host externally on my own webspace

Please add the function that you have the possibility to remove the ending with .html also with the HMTL export because the SEO properties deteriorates. And I would like to host externally on my own webspace
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 10 May 2023

Hello Sorrow,

You can turn " Create Links Without .HTML" while publishing your website.
We are sorry for your wish about HTML export, we can not remove it, because many people use this feature, we can send to the developer team your wish about improve this but not remove it.
...................................................
Sincerely,
George B.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello Sorrow, You can turn " Create Links Without .HTML" while publishing your website. We are sorry for your wish about HTML export, we can not remove it, because many people use this feature, we can send to the developer team your wish about improve this but not remove it. ................................................... Sincerely, George B. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Sorrow Finest
41 Posts
Sorrow Finest posted this 10 May 2023

you don't have to remove it completely, you also have to offer a possibility for the html export, e.g. put a tick where it says remove .html by Html Export. That would be a great solution.

you don't have to remove it completely, you also have to offer a possibility for the html export, e.g. put a tick where it says remove .html by Html Export. That would be a great solution.
Support Team
Support Team posted this 10 May 2023

Hello,

You can remove the .html extensions from the website links on websites hosted in Nicepage hosting.

To remove the .html extension from your website links on your hosting, you must configure your web server to use URL rewriting. This is a process where URLs that end with .html are rewritten to appear without the extension.

The specific steps to achieve this will depend on your web server. If you are using Apache, you can accomplish this by creating an .htaccess file in your website's root directory and adding the following code:

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^(.*)$ $1.html

This code will check if the requested URL corresponds to a directory or if the requested URL with the .html extension exists as a file. If both conditions are true, it will rewrite the URL to remove the .html extension.

After adding this code to your .htaccess file, you can access your website pages without the .html extension in the URL.

If you are hosting your website on web hosting services, contact them for assistance so they can help you.
...................................................
Sincerely,
Ahmad.
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, You can remove the .html extensions from the website links on websites hosted in Nicepage hosting. To remove the .html extension from your website links on your hosting, you must configure your web server to use URL rewriting. This is a process where URLs that end with .html are rewritten to appear without the extension. The specific steps to achieve this will depend on your web server. If you are using Apache, you can accomplish this by creating an .htaccess file in your website's root directory and adding the following code: RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html This code will check if the requested URL corresponds to a directory or if the requested URL with the .html extension exists as a file. If both conditions are true, it will rewrite the URL to remove the .html extension. After adding this code to your .htaccess file, you can access your website pages without the .html extension in the URL. If you are hosting your website on web hosting services, contact them for assistance so they can help you. ................................................... Sincerely, Ahmad. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments