Posts by ellimondo

    SSL is working so you just need to get the htaccess right. It's hard to tell what will work as you haven't shared any code with us so something further down the rules might override these examples.

    It can be different for different hosts so you need to experiment. I have several for differing hosts. Some hosts also won't update htaccess unless you unlock the file in the control panel. Others have a time delay.

    1. RewriteEngine On
    2. RewriteCond %{HTTPS} off
    3. RewriteCond %{HTTP_HOST} [NC]
    4. RewriteRule ^(.*)$$1 [R=301,L)

    You can test in this excellent tool:

    What happens when you try to log into the Perch admin? Do you get a database error message?

    You'd need to share more information so someone can help you further. I would suggest if you are using a switch statement in the config file that your settings aren't quite right at the moment.

    SSL is not relevant.


    It's definitely store on your live site not shop. There's no shop page I can see. You need to resolve that bit first. Upgrading core and apps shouldn't affect your shop settings as that is are stored in the database.

    You need to ensure that:

    • The correct page path is set up to the store page template as well as a single product page to handle the shop requests
    • The shop settings match the product page for your product path above
    • You have rewriting rules in place to create SEO friendly URLs (optional)

    As an aside your indexed pages in Google are following the .php?s= format. That may suggest that url-rewriting had either broken or was never working when pushed live.

    NB If you are working on a live site (which makes me a bit sweaty ;) ) then you should always backup first.

    I don't think you're in the minority at all here seoMatt . I'd say it's very much the opposite. I continue to use Perch every day in my businesses because I love using it too. People wouldn't be leaving comments here if they didn't care about the product.

    I'm happy with the one-off cost and yearly update fee/sub model; as long as it means that product development can be resumed and online support is fairly responsive, rather than solely relying on the community to answer questions.

    When more support is required then a yearly dev-to-dev type subscription could also be introduced.


    If you are using normal Perch (not Runway) then you will need to use htaccess or similar rewriting rules to achieve this. This is because Perch doesn't make assumptions about the server you are running it on.

    You can then remove the extension from any Perch-generated navigation urls using the option 'hide-extensions' => true

    Here's some more info from the docs.…rted/installing/rewrites/

    I hope this helps get you sorted.


    There are several functions available to you and you'd probably want to use perch_gallery_images(). I am not sure if it takes the sort and count options but don't see why not with something like the code below. I haven't used Gallery since Perch 1 which is quite a while ago!

    1. perch_gallery_images([
    2.     'template' => 'your_template_here.html,
    3.     'sort' => 'your sort id here',
    4.     'sort-order => 'random', // For a random set of images
    5.     'count' => 6
    6. ]);

    Give it a go and let us know!

    NB For the future – the Gallery app as it stands is end of life and no longer supported so be warned!

    Hi Robert

    You can move the script into a perch template and then pass the same region through a perch_content_custom function.

    This is a bit rough and untested but hopefully it gives you an idea on how to get started:

    1. perch_content_custom('Playlist', [
    2. 'template' => 'song_script.html',
    3. ]);

    The perch:showall will display all the regions available to you at runtime. You can delete it when you are done.

    If you want to add numerical counting etc to the titles then there are special ids available to you. They are listed here.


    I am getting the following Runway backup error for a client on Ionos shared hosting. Any ideas how to resolve?

    Thanks in advance,


    1. SQLSTATE[HY000]: General error: 1785 Statement violates GTID consistency: Updates to non-transactional tables can only be done in either autocommitted statements or single-statement transactions, and never in the same statement as updates to transactional


    Categories and collections are two core parts of Perch (and Runway) so I don't think you are going to have to transfer categories to collections, unless your categories start storing large amounts of data or relationships.

    The biggest issue you are going to have is that (as far as I am aware) the Events app is not being updated or developed and therefore won't receive support anymore. If there's a new version coming then you'd need to ask the owners. It's all a bit quiet on that front at the moment…

    Most of the Events app can be replicated using Collections as far as I know. Not used Events myself.