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
##################################### | |
# | |
# Add this HTACCESS file to your Apache web server to determine if mod_rewrite is enabled | |
# provided by http://magentosupport.help | |
# | |
# once installed, visit yourdomain.com/testing_mod_rewrite.html | |
RewriteEngine On | |
Options +FollowSymLinks | |
RewriteRule ^testing_mod_rewrite\.html$ http://magentosupport.help/? [R=302,L] |
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
<rewrite> | |
<rules> | |
<rule name="Imported Rule 1” stopProcessing="true"> | |
<match url=".*" ignoreCase="false" /> | |
<conditions> | |
<add input="{URL}" pattern="^/(media|skin|js)/" ignoreCase="false" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" /> | |
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" /> | |
</conditions> | |
<action type="Rewrite\" url="index.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 | |
/** | |
* http://magentosupport.help/knowledgebase/enable-magento-debug-mode-and-the-magento-profiler/ | |
*/ | |
/** | |
* Write SQL debug data to file | |
* |
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 | |
/** | |
* http://magentosupport.help/knowledgebase/enable-magento-debug-mode-and-the-magento-profiler/ | |
*/ | |
Varien_Profiler::enable(); | |
Mage::setIsDeveloperMode(true); |
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 | |
/** | |
* http://magentosupport.help/knowledgebase/enable-magento-debug-mode-and-the-magento-profiler/ | |
*/ | |
echo $query->printLogQuery(true); |
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 | |
/** | |
* [solved] Enabling developer bypass IP check | |
* Learn HOW TO http://magentosupport.help/knowledgebase/solved-enable-magento-maintenance-mode-with-custom-503-page/ | |
* | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* | |
* This source file is subject to the Open Software License (OSL 3.0) |
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 | |
/** | |
* [solved] Enabling developer bypass IP check | |
* Learn HOW TO http://magentosupport.help/knowledgebase/solved-enable-magento-maintenance-mode-with-custom-503-page/ | |
* | |
* This code needs to be added just before the maintenance flag file checking in index.php or it will not work. | |
* @see the referenced url above for instructions. | |
*/ | |
$ip = $_SERVER['REMOTE_ADDR']; |
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
<!DOCTYPE html> | |
<!-- | |
SIMPLE LANDING PAGE | |
Created to replace the 503 maintenance notice | |
http://magentosupport.help/knowledgebase/solved-enable-magento-maintenance-mode-with-custom-503-page/ | |
---> | |
<!DOCTYPE html> | |
<html lang="en"><head> |
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 | |
/** | |
* SIMPLE LANDING PAGE | |
* Created to replace the 503 maintenance notice | |
* http://magentosupport.help/knowledgebase/solved-enable-magento-maintenance-mode-with-custom-503-page/ | |
*/ | |
require_once $contentTemplate; | |
?> |
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 | |
/** | |
* Enhancing Magento's Search operator AND OR | |
* @see tutorial http://magentosupport.help/knowledgebase/optimizing-the-magento-search-algorithm/ | |
* @ver Magento v1.9.0.1 | |
* | |
* Magento | |
* | |
* NOTICE OF LICENSE | |
* |
OlderNewer