View .htaccess
This file contains 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
AddDefaultCharset UTF-8 | |
ServerSignature Off | |
Options -Indexes | |
FileETag none | |
<IfModule mod_headers.c> | |
Header unset ETag | |
Header unset Cookie | |
Header unset Set-Cookie | |
</IfModule> |
View robots.txt
This file contains 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
# If the Joomla site is installed within a folder | |
# eg www.example.com/joomla/ then the robots.txt file | |
# MUST be moved to the site root | |
# eg www.example.com/robots.txt | |
# AND the joomla folder name MUST be prefixed to all of the | |
# paths. | |
# eg the Disallow rule for the /administrator/ folder MUST | |
# be changed to read | |
# Disallow: /joomla/administrator/ | |
# |
View test.html
This file contains 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
<h1>Testing display of HTML elements</h1> | |
<h2>This is 2nd level heading</h2> | |
<p>This is a test paragraph.</p> | |
<h3>This is 3rd level heading</h3> | |
<p>This is a test paragraph.</p> | |
<h4>This is 4th level heading</h4> | |
<p>This is a test paragraph.</p> | |
<h5>This is 5th level heading</h5> | |
<p>This is a test paragraph.</p> |
View robots.txt
This file contains 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
# robots.txt for Magento 1.9.x / v0.1 2018-05-23 / Simone Bussoni / inspired by Peeter Marvet | |
# # based on: | |
# https://gist.github.com/petskratt/016c9dbf159a81b9d6aa | |
# http://inchoo.net/ecommerce/ultimate-magento-robots-txt-file-examples/ | |
# http://www.byte.nl/blog/magento-robots-txt/ | |
# https://astrio.net/blog/optimize-robots-txt-for-magento/ | |
# | |
# comment and clone at https://gist.github.com/petskratt/016c9dbf159a81b9d6aa | |
# Keep in mind that by standard robots.txt should NOT contain empty lines, except between UA blocks! | |
# |
View Filter.php
This file contains 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
If you look at line 29 in /components/com_roksprocket/lib/RokSprocket/Provider/K2/Filter.php you should see the following: | |
$this->query->select('CONCAT_WS(",", t.id) AS tag_ids, CONCAT_WS(",", t.name) AS tag_names'); | |
If you change this line to the following | |
$this->query->select('CONCAT_WS(",", t.id) AS tag_ids, CONCAT_WS(",", t.name) AS tags'); |
View local.xml
This file contains 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"?> | |
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: |
View gist:a49ff537b1cda1fe9f87b0df17574c59
This file contains 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"?> | |
<!-- | |
/** | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Academic Free License (AFL 3.0) | |
* that is bundled with this package in the file LICENSE_AFL.txt. | |
* It is also available through the world-wide-web at this URL: |
View htaccess php max 5.6 magento 1.9.x
This file contains 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
<IfModule mime_module> | |
AddType application/x-httpd-ea-php56 .php .php5 .phtml | |
</IfModule> |
View jimage_resize.php
This file contains 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 | |
if (!is_dir(JPATH_SITE .'/cache/Qcache/')) { | |
mkdir(JPATH_SITE .'/cache/Qcache/', 0755, true); | |
} | |
$imgPath = JPATH_SITE . '/cache/Qcache/' . basename($immagineURL); | |
$imgURL = '/cache/Qcache/' . basename($immagineURL); | |
if (!file_exists($imgPath)) { | |
// Create our image object |
View local.xml
This file contains 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"?> | |
<layout version="0.1.0"> | |
<!-- add rel="prev" and rel="next" for Google SEO --> | |
<catalog_category_default> | |
<reference name="head"> | |
<block type="page/html_pager" name="relprev.next" as="rel_prev_next" template="page/html/rel_prev_next.phtml"/> | |
</reference> | |
</catalog_category_default> | |
NewerOlder