.htaccess edited, to always redirect to https instead of http, in a http staging site. Now I am locked out

i pasted this code into .htaccess as per the instructions from superiors. However, i didn't know it was to be pasted in the production (https) site only. `Options -Indexes RewriteEngine On RewriteCond %{HTTP_HOST} ^deskflex.com [NC] RewriteRule ^(.*)$ https://www.staging.zenapay.com/$1 [L,R=301] RewriteCond %{SERVER_PORT} 80 RewriteCond %{HTTP_HOST} ^(www\.)?staging.zenapay\.com RewriteRule ^(.*)$ https://www.staging.zenapay.com/$1 [R,L]` I dont have FileZila access to […]

How to Disable JavaScript popup [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 8 hours ago. Improve this question I made a WordPress website and I installed […]

Set custom product sorting as default Woocommerce sorting option

In Woocommerce, I ma using the following code that adds a custom sorting option to shop catalog by modified date. add_filter( 'woocommerce_get_catalog_ordering_args', 'enable_catalog_ordering_by_modified_date' ); function enable_catalog_ordering_by_modified_date( $args ) { if ( isset( $_GET['orderby'] ) ) { if ( 'modified_date' == $_GET['orderby'] ) { return array( 'orderby' => 'modified', 'order' => 'DESC', ); } } return […]