This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| File: qa-plugin/webinoly-custom/qa-plugin.php | |
| Description: Anti SPAM Registration Plugin for Question2Answer | |
| This program is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU General Public License | |
| as published by the Free Software Foundation; either version 2 | |
| of the License, or (at your option) any later version. | |
| This program is distributed in the hope that it will be useful, | |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| File: qa-plugin/webinoly-custom/qa-plugin.php | |
| Description: Anti SPAM Registration Plugin for Question2Answer | |
| This program is free software; you can redistribute it and/or | |
| modify it under the terms of the GNU General Public License | |
| as published by the Free Software Foundation; either version 2 | |
| of the License, or (at your option) any later version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Plugin Name: SEO Custom Meta-Robots | |
| Plugin URI: https://qrokes.com/ | |
| Plugin Description: SEO Custom Meta Robots | |
| Plugin Version: 1.0 | |
| Plugin Date: | |
| Plugin Author: QROkes | |
| Plugin Author URI: https://qrokes.com/ | |
| Plugin License: GPLv3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 80; | |
| listen [::]:80; | |
| server_name domain.com; | |
| location / { | |
| proxy_set_header Host $host; | |
| proxy_set_header X-Forwarded-Host $host; | |
| proxy_set_header X-Forwarded-Server $host; | |
| proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='UTF-8'?> | |
| <!DOCTYPE properties SYSTEM 'http://java.sun.com/dtd/properties.dtd'> | |
| <properties> | |
| <entry key="config.default">./conf/default.xml</entry> | |
| <!-- DataBase MariaDB --> | |
| <entry key='database.driver'>com.mysql.jdbc.Driver</entry> | |
| <entry key='database.url'>jdbc:mysql://[HOST]:3306/[DATABASE]?useSSL=false&allowMultiQueries=true&autoReconnect=true&useUnicode=yes&characterEncoding=UTF-8&sessionVariables=sql_mode=''</entry> | |
| <entry key='database.user'>[USER]</entry> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es-MX"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Tituo de la pagina</title> | |
| <meta name="description" content="Agregar descripcion"> | |
| <style type="text/css"> <!--Fix width, height and margin --> | |
| img { | |
| width: 600px; | |
| height: 340px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Modify entry comments | |
| function qr_admin_author($comment_data){ | |
| if ($comment_data['comment_author_email'] == 'mail@domain.com') { | |
| $comment_data['user_ID'] = 1; | |
| $comment_data['comment_author'] = 'Author Name'; | |
| $comment_data['comment_author_url'] = 'Author URL'; | |
| } | |
| return $comment_data; | |
| } | |
| add_filter('preprocess_comment','qr_admin_author'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html lang="es-MX" xmlns:fb="http://ogp.me/ns/fb#" prefix="og: http://ogp.me/ns#"/> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <title>Titulo de la página</title> | |
| <meta name="description" content="Descripción de la página"/> | |
| <link rel="canonical" href="http://mydomain.com/pagina" /> | |
| <meta name="robots" content="index,follow" /> |