Author: Oxford

https://www.prestasoo.com/blog/prestashop-login-logout PrestaShop Login: Fix user is automatically logged out of the Admin Panel You need to login to PrestaShop Admin to manage your products, track the orders, change the module configuration settings…etc. A few seconds after login success, you automatically log out. What’s wrong? I’m sure that your computer is not the cause of this. For some reason, it kicks you out of the session. It’s no fun if PrestaShop developers need to configure their addons or check order status immediately. I think that PrestaShop needs to add a timeline to the site so that we can see how…

Read More

In case you are getting 404 page not found error on post page for wordpress website, then you need to edit your .htaccess file and replace the existing wordpress rules with these rules : RewriteBase / RewriteRule ^/index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] “/” is the location WordPress was installed relative to the vhost docroot. Save the file and restart litespeed. Voila, it should work now ! In case you are using cyberpanel, then make sure you edit the .htaccess file from the filemanager and save it once from there. Directly editing the file from terminal…

Read More

This installs self-hosted CyberPanel on your server which is independent of CyberPanel Cloud. The installation of CyberPanel is fairly easy. The installation must be run as root (sudo will not work). Requirements Centos 7.x, Centos 8.x, Ubuntu 18.04, Ubuntu 20.04 Python 3.x 1024MB or above Ram. 10GB Disk Space. CyberPanel vs CyberPanel Ent! CyberPanel comes with two versions one is simply called CyberPanel and the other is Called CyberPanel Ent. CyberPanel comes with OpenLiteSpeed and is completely free for an unlimited number of domains and worker processes. However CyberPanel Ent comes with LiteSpeed Web Server Enterprise, it is free for…

Read More

Dear team, After a fresh installation, when I am configuring the Mod security on the cyber panel I got an error for both OWASP and MODDECURITY 3.0. I also checked both URLs .they are throwing 404 errors for comodo =https://cyberpanel.net/modsec/comodo.tar.gz for OWSAP =https://cyberpanel.net/modsec/owasp.tar.gz Comments /usr/local/CyberCP/plogical/modSec.py and change the mirrorpath from “cyberpanel.net” to “cyberpanel.sh” mirrorPath = “cyberpanel.sh” and try install and it will be ok https://forums.cyberpanel.net/discussion/5172/unable-to-download-owasp-modsecurity-core-rules-and-comodo-modsecurity-3-0

Read More

Last year’s pandemic increased the world’s reliance on technology and most of the business went from brick and mortar stores to online shops. This trend has been increasing over the last several years and will continue to grow over the years too. WordPress now serves more than 40% of websites in existence, taking a lion’s share of the global infrastructure. In this article, we are going to show you how to make the most of it using Gatsby. There are different types of websites and different methods of creating websites. You can create a website on simple HTML pages or…

Read More

https://cyberpanel.net/blog/2019/04/09/how-to-install-magento-on-cyberpanel-enterprise/ Magento is an open-source e-Commerce platform or content management system (CMS) written in PHP, which lends a hand to developers to build eCommerce websites. Magento has two main editions: Enterprise and Community edition. The community edition is for programmers and small business. Comparing to standard set up of Varnish and Nginx, LiteSpeed provide simpler stack, less resources used and HTTP2, QUIC out of box. Magento has the potential to make online shopping sites fully customizable to meet user requirements. Magento proves to the world it’s possible to make fast eCommerce stores. It has the ability to produce fast loading pages and has very few…

Read More

Learn how to do search engine optimization in our complete SEO training course for beginners. Subscribe ► https://www.youtube.com/AhrefsCom?sub… *************************************** Additional SEO Resources SEO Course for Beginners Playlist (14 Videos) ► https://www.youtube.com/playlist?list… SEO For Beginners: A Basic Search Engine Optimization Tutorial for Higher Google Rankings ► https://www.youtube.com/watch?v=DvwS7… Keyword Research Tutorials for SEO ► https://www.youtube.com/playlist?list… On Page SEO Checklist for Higher Google Rankings ► https://www.youtube.com/watch?v=gDYjj… Link Building Tutorials (Step-By-Step) ► https://www.youtube.com/playlist?list… *************************************** It doesn’t matter if you know nothing about SEO. This complete end-to-end course was created to help you learn SEO in an easy and systematic way. This SEO training course…

Read More

Overview WP Remote Users Sync is a free plugin that allows you to synchronize WordPress users, user passwords, and login sessions securely between sites. It is currently our recommended solution for synchronizing WordPress user accounts. Using WP Fusion with WP Remote Users sync, your users’ CRM contact IDs and tags are synced directly between any configured sites. In many cases this can reduce the number of webhooks you need to configure in your CRM. #Setup WP Fusion automatically configures itself for WP Remote Users sync, and there’s no extra setup required to have users’ contact IDs and CRM tags synced automatically between your…

Read More

SEO Tutorial For Beginners: A Step-By-Step Guide https://www.simplilearn.com/tutorials/seo-tutorial?source=sl_frs_nav_playlist_video_clicked Intermediate 8 Lessons 1 hrs of Learning WATCH TUTORIALS Tutorial Highlights ➤ Search Engine Optimization or SEO is the practice of increasing organic traffic on the Search Engine Results Page (SERP). It is also known as organic search or listings. ➤ If you want to rank number one for all the keywords, you need to apply SEO to increase your rank. Our SEO tutorial will help you understand all of it from keyword research to link building, off-page SEO to sitemaps. ➤ So start learning with our SEO tutorial and make sure that your…

Read More

The following guide will highlight the manual steps required to set up a Drupal multisite. This guide is a work in progress with only some example configurations presented. Other options are available, such as HTTPS, other Web servers and databases, and more refined virtual host configurations, etc. Alternatively use the Aegir hosting system. It does most of the heavy lifting and uses secure best practices, including automatically configuring virtual hosts for both Apache and Nginx, adding HTTPS support, running Composer commands, etc. See the documentation for setting up a “platform”, Aegir-speak for a multisite codebase. Overview of the process Install a Drupal…

Read More

Table of contents Requirements Extracting the Nano Server binaries Extracting and Injecting VMware Tools Drivers Building a Nano Server image Converting from VHD to VMDK Hosting Nano Server on ESXi Conclusion Nano Server is a headless server first introduced with the Microsoft Windows Server 2016 line. Headless is the term used for anything that can only be managed remotely. The name Nano is indicative of the server’s tiny footprint, circa 500MB, as opposed to the 10GB taken up by the GUI version. Nano was touted as being the best thing since sliced bread due to the small footprint and less…

Read More

https://computingforgeeks.com/how-to-install-vsphere-esxi-7/ In today’s guide we will be discussing the installation of vSphere ESXi 7 on Cisco UCS bare-metal Servers. The installation process can be used for any other type of server hardware. The two core components of vSphere are ESXi and vCenter Server. In this guide we will perform installation of ESXi 7 which is the virtualization platform on which you can create and run virtual machines and virtual appliances. Our next guide will be on vCenter Server installation. vCenter is a service that acts as a central administrator for ESXi hosts connected in a network. With vCenter Server you…

Read More

https://www.drupal.org/docs/theming-drupal/defining-a-theme-with-an-infoyml-file To create a Drupal 8 or later theme you need to first create a THEMENAME.info.yml file that provides meta-data about your theme to Drupal. This is similar to how modules and installation profiles are being defined, and as such, it is important to set the ‘type’ key in the file.info.yml to ‘theme’ in order to differentiate it. This page provides an example fileTHEMENAME.info.yml and an overview of the information that the file can contain. Name your theme The first step in creating a theme is to choose a human-readable name for it, and a corresponding machine name. The machine name will be used…

Read More

# Global restrictions configuration file. # Designed to be included in any server {} block. location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { allow all; log_not_found off; access_log off; } # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac). # Keep logging the requests to parse later (or to pass to firewall utilities such as fail2ban) location ~ /\. { deny all; } # Restrict access to WordPress dashboard location /wp-admin { allow 127.0.0.1; allow Your_IP; deny all; } # Deny access to any files with a .php extension in…

Read More

server { listen 80; listen 443 ssl http2; server_name fr.audisound.net *.audisound.net; index index.php index.html index.htm default.php default.htm default.html; root /www/wwwroot/fr.audisound.net; #SSL-START SSL相关配置,请勿删除或修改下一行带注释的404规则 #error_page 404/404.html; ssl_certificate /www/server/panel/vhost/cert/fr.audisound.net/fullchain.pem; ssl_certificate_key /www/server/panel/vhost/cert/fr.audisound.net/privkey.pem; ssl_protocols TLSv1.1 TLSv1.2 TLSv1.3; ssl_ciphers EECDH+CHACHA20:EECDH+CHACHA20-draft:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5; ssl_prefer_server_ciphers on; ssl_session_cache shared:SSL:10m; ssl_session_timeout 10m; add_header Strict-Transport-Security “max-age=31536000”; error_page 497 https://$host$request_uri; #SSL-END #ERROR-PAGE-START 错误页配置,可以注释、删除或修改 #error_page 404 /404.html; #error_page 502 /502.html; #ERROR-PAGE-END #PHP-INFO-START PHP引用配置,可以注释或修改 include enable-php-00.conf; #PHP-INFO-END #REWRITE-START URL重写规则引用,修改后将导致面板设置的伪静态规则失效 include /www/server/panel/vhost/rewrite/fr.audisound.net.conf; #REWRITE-END #禁止访问的文件或目录 location ~ ^/(\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md) { return 404; } #一键申请SSL证书验证目录相关设置 location ~ \.well-known{ allow all; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ { expires 30d; error_log /dev/null; access_log /dev/null; } location ~ .*\.(js|css)?$ { expires 12h; error_log /dev/null;…

Read More

<div class=”w3-container”> <h2>Closable List Items</h2> <p>To close/hide the list items, click on the “x”:</p> <ul class=”w3-ul w3-card-4″> <li class=”w3-display-container”>Jill <span onclick=”this.parentElement.style.display=’none'” class=”w3-button w3-transparent w3-display-right”>&times;</span></li> <li class=”w3-display-container”>Adam <span onclick=”this.parentElement.style.display=’none'” class=”w3-button w3-transparent w3-display-right”>&times;</span></li> <li class=”w3-display-container”>Eve <span onclick=”this.parentElement.style.display=’none'” class=”w3-button w3-transparent w3-display-right”>&times;</span></li> </ul> </div> /* W3.CSS 4.15 December 2020 by Jan Egil and Borge Refsnes */ html{box-sizing:border-box}*,*:before,*:after{box-sizing:inherit} /* Extract from normalize.css by Nicolas Gallagher and Jonathan Neal git.io/normalize */ html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} article,aside,details,figcaption,figure,footer,header,main,menu,nav,section{display:block}summary{display:list-item} audio,canvas,progress,video{display:inline-block}progress{vertical-align:baseline} audio:not([controls]){display:none;height:0}[hidden],template{display:none} a{background-color:transparent}a:active,a:hover{outline-width:0} abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted} b,strong{font-weight:bolder}dfn{font-style:italic}mark{background:#ff0;color:#000} small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} sub{bottom:-0.25em}sup{top:-0.5em}figure{margin:1em 40px}img{border-style:none} code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{box-sizing:content-box;height:0;overflow:visible} button,input,select,textarea,optgroup{font:inherit;margin:0}optgroup{font-weight:bold} button,input{overflow:visible}button,select{text-transform:none} button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button} button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0} button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText} fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em} legend{color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto} [type=checkbox],[type=radio]{padding:0} [type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto} [type=search]{-webkit-appearance:textfield;outline-offset:-2px} [type=search]::-webkit-search-decoration{-webkit-appearance:none} ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit} /* End extract */…

Read More

<!DOCTYPE html> <html> <head> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <style> .container { position: relative; text-align: center; color: white; } .bottom-left { position: absolute; bottom: 8px; left: 16px; } .top-left { position: absolute; top: 8px; left: 16px; } .top-right { position: absolute; top: 8px; right: 16px; } .bottom-right { position: absolute; bottom: 8px; right: 16px; } .centered { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } </style> </head> <body> <h2>Image Text</h2> <p>How to place text over an image:</p> <div class=”container”> <img src=”img_snow_wide.jpg” alt=”Snow” style=”width:100%;”> <div class=”bottom-left”>Bottom Left</div> <div class=”top-left”>Top Left</div> <div class=”top-right”>Top Right</div> <div class=”bottom-right”>Bottom Right</div> <div class=”centered”>Centered</div> </div> </body>…

Read More

[client] #password = your_password port = 3306 socket = /tmp/mysql.sock [mysqld] binlog_cache_size = 64K thread_stack = 256K join_buffer_size = 2048K max_heap_table_size = 384M port = 3306 socket = /tmp/mysql.sock datadir = /www/server/data default_storage_engine = InnoDB performance_schema_max_table_instances = 400 table_definition_cache = 400 skip-external-locking key_buffer_size = 256M max_allowed_packet = 100G table_open_cache = 192 sort_buffer_size = 768K net_buffer_length = 4K read_buffer_size = 768K read_rnd_buffer_size = 512K myisam_sort_buffer_size = 16M thread_cache_size = 96 tmp_table_size = 384M default_authentication_plugin = mysql_native_password lower_case_table_names = 1 sql-mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES explicit_defaults_for_timestamp = true #skip-name-resolve max_connections = 200 max_connect_errors = 100 open_files_limit = 65535 #log-bin=mysql-bin #binlog_format=mixed server-id = 1 binlog_expire_logs_seconds = 600000…

Read More

If you visit your-domain.com/wp-admin/admin.php?page=w3tc_install W3 Total Cache will show you all the additional configuration information that you need. Included in that information will be some Nginx configurations which I’ve also listed below. Copy and paste it into your WordPress installation’s Nginx server block (a.k.a VirtualHosts). # BEGIN W3TC Minify cache location ~ /wp-content/cache/minify.*\.js$ { types {} default_type application/x-javascript; add_header Vary “Accept-Encoding”; } location ~ /wp-content/cache/minify.*\.css$ { types {} default_type text/css; add_header Vary “Accept-Encoding”; } location ~ /wp-content/cache/minify.*js\.gzip$ { gzip off; types {} default_type application/x-javascript; add_header Vary “Accept-Encoding”; add_header Content-Encoding gzip; } location ~ /wp-content/cache/minify.*css\.gzip$ { gzip off; types {} default_type text/css; add_header…

Read More

If you are lucky enough to have attracted some traffic on your WordPress blog, you may find yourself stuck with an overloaded web server that gets bombarded from links on Google, Digg or Twitter. Tags: iis infrastructure seo wordpress Overview Prerequisites Installing the Plug-in Configuring URL Rewriting Enabling Caching in WordPress Activating the Plug-in Overview Sooner or later you will discover the WP Super Cache plug-in for WordPress, but perhaps you’re running it on IIS 7 instead of Apache, and support for that is somewhat limited. Luckily, a two year old blog post on IIS Blogs still appears to work…

Read More

Use the Windows Cache Extension for PHP Introduction The Windows Cache Extension for PHP is a PHP accelerator that is used to significantly increase the speed of PHP applications running on the Windows® operating system. Any PHP application can take advantage of the functionality provided by the Windows Cache Extension for PHP without any code modifications. All that is required is that the extension is enabled and loaded by the PHP engine. The Windows Cache Extension includes three different types of caches: PHP Opcode Cache PHP is a script processing engine that reads an input stream of data that…

Read More

by Eric Woersching Introduction WordPress is a blog publishing application and content management system. According to wordpress.org,WordPress is “a state-of-the-art semantic personal publishing platform with a focus on aesthetics, Web standards, and usability.” The following sections describe how to install and configure WordPress for use with FastCGI on Internet Information Services 7 (IIS 7) and above. This document assumes that you have completed the setup and configuration of the FastCGI extension and PHP libraries. The easiest way to install WordPress is by downloading it from the Windows® Web App Gallery. If you need the Microsoft® Web Platform, you can install…

Read More

This question already has an answer here: preg_match(): Compilation failed: invalid range in character class at offset 4 answers preg_match compilation failed: invalid range in character class [duplicate] 3 answers PHP 7.3 update – preg Compilation failed [duplicate] 1 answer I am using simple_html_dom.inc.php for url extractor. The codes are working normaly without problem. But i am getting the following Warning from PHP7.3 Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in 1387 You can see the error line in this link: Error Line 1387 if (!preg_match(“/^[\w-:]+$/”, $tag)) { $node->_[HDOM_INFO_TEXT] = ‘<‘ . $tag . $this->copy_until(‘<>’); if ($this->char==='<‘) { $this->link_nodes($node, false); return true; }…

Read More