htmly icon indicating copy to clipboard operation
htmly copied to clipboard

Where can I change the search path

Open AutomationMan808 opened this issue 4 years ago • 2 comments

I used readfile to port htmly blog index to my main page. The search feature doesn't probably due to virtual links. I need to edit that section.

Rick

AutomationMan808 avatar Jul 10 '21 02:07 AutomationMan808

Hello,

Bit unclear with your goal actually.

<?php     
    if (isset($_GET['search'])) {
        $search = $_GET['search'];
        $url = site_url() . 'search/' . remove_accent($search);
        header("Location: $url");
    }

The /search/ is in htmly.php

danpros avatar Jul 11 '21 00:07 danpros

My apologies I need to be able to search from my main index of which htmly is now copied as the main index page with a little PHP from the subfolder where the blog actually resides.

Rick

AutomationMan808 avatar Jul 11 '21 06:07 AutomationMan808