Hi,
Is there an easy way to remove the (.html) from page URLs. Notice the html is included automatically on the "edit page", page.
Any help would be appreciated,
Thanks
Hi,
Is there an easy way to remove the (.html) from page URLs. Notice the html is included automatically on the "edit page", page.
Any help would be appreciated,
Thanks
Hello,
The quick solution is to remove .html from links in menus: go to ftp > templates > your template > tpl > menus > replace .html with / in these 3 files
also disable .html in your listing type: Category Settings > Enable .html at the end of category URLs > No
completely removing .html from the site is a bit difficult, you need to look through all the php and tpl files in includes and tpl directories and replace .html
Last edited by Rudi; January 15, 2019 at 05:01 AM.
Thanks, that got me in the right direction. Those are the main links I wanted changed. I also had to make a change to the main index.php file, cause it was redirecting and adding the ".html" back, so that needed a little change too.
Thank you for your help.
I'm interested in this, too
Hi Jason,
you can deactivating or delet this code at the main index.php:
Code:Only registered members can view the code.
Good luck!
Sripai
Hi Sripai,
Thanks!
Do you know how to remove .html from the actual listings, too?
Go to ftp://includes>>classes>>reefless.class.php in the method: url
find the code:
and replace to:PHP Code:
Only registered members can view the code.
PHP Code:
Only registered members can view the code.
Also, need to change rewrite rule in the .htaccess file.
open the file in the root directory. Find line:
and replace to:Code:Only registered members can view the code.
save and check again.Code:Only registered members can view the code.
Last edited by Viktor; October 1, 2019 at 04:51 AM.
Viktor,
Flynax technical department,
Best wishes.
That worked perfectly. Thank you!
completely removing .html from the site is a bit difficult, you need to look through all the php and tpl files in includes and tpl directories and replace .html[/QUOTE]
I do this ( replace all .html with / ) and most ".html" replaced with "/"
But i see https://www.zanta.gr/autos/search-results.html and https://www.zanta.gr/autos.html.
All categories and search results have the .html