+ Reply to Thread
Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: Remove extension (.html) from pages URLs

Hybrid View

  1. #1
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Check tpl files for search

    from tpl > controllers and tpl > blocks

  2. #2
    Master
    Join Date
    Oct 2019
    Location
    Hungary
    Posts
    416
    As described here based on if you do it should be everywhere without .html.

  3. #3
    Remove .html from all site it is a very long way and not so easy. Because exist many static pages that need to remove .html
    I suggest you create a new ticket with the request.
    Viktor,
    Flynax technical department,
    Best wishes.

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Hello,

    You need to replace 'html' with '/' in reefless.class.php > url

  5. #5
    Senior Member
    Join Date
    Mar 2019
    Location
    Philadelphia, PA, USA
    Posts
    120
    Thanks Rudi. Am I replacing each instance of 'html'?

  6. #6
    Quote Originally Posted by Rudi View Post
    Hello,

    You need to replace 'html' with '/' in reefless.class.php > url
    Hello. After replacing the menu in the header, it redirects to the home page. Can you please tell me where else to replace html with / ?
    I am using version 4.9.1
    Thanks in advance.
    2023-02-01_104616.png

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,195
    Hello,

    Try this solution:

    in includes/classes/rlListings.class.php > public function prepareListingTypeLinks

    replace:
    PHP Code:
    Only registered members can view the code
    with:
    PHP Code:
    Only registered members can view the code

  8. #8
    Great, it all worked out. Thank you very much! The only thing is that it's impossible to login to the account (it redirects to the same login ...login.html), I guess I need to remove the html from the list of listed files specified in the previous posts of this thread.
    Have a nice day everyone!

+ Reply to Thread