Just edit app\design\frontend\default\default\template\page\html\head.phtml and add the custom meta tags in there. Or maybe the path is different if you set up a new template for your website (maybe app\design\frontend\yourtemplate\default\template\page\html\head.phtml)
or
Please go to System > Configuration > Design > Html Head and edit “Miscellaneous scripts” field. Unfortunately this works only for static information / meta-tags.
See more about SEO on Magento:
http://www.screenpages.com/about/articles/seo-in-magento
Saturday, December 21, 2013
Tuesday, August 13, 2013
Thursday, August 1, 2013
Start the FTP Server in OS X
Start the FTP Server in OS X
This will start a generic FTP and FTPS server on the Mac, but not an SFTP server:
- Launch the Terminal (/Applications/Utilities) and enter the following command to start the FTP server:
- Confirm the FTP server works by typing:
sudo -s launchctl load -w /System/Library/LaunchDaemons/ftp.plistftp localhost
Create an FTP user and set up an FTP password
Wednesday, July 31, 2013
Transfer a zip file via FTP
Open CyberDuck
type in ftp serverName
Enter your userName
Enter your password
Navigate to your file on your local drive: lcd /Users/UserName/Downloads/xxx/
Upload your zip file in the above directory: Put fileName.zip
Your file will then be uploaded to your ftp server
Go to ssh on terminal, login, type in unzip filename.zip
Go to ssh on terminal, login, type in unzip filename.zip
* Do a 'ls' on your server directory
Files will have a dash (-) as the first character in the leftmost column and folders will have a d listed (the d stands for directory).
* Common Commands
* Common Commands
put filename - Upload a file to the server
get filename - Download a file from the server
mput filename - Put multiple files on the server
mget filename - Get multiple files on the server
ls - Get a list of files in the current directory
cd - Change directory
quit - Ends your ftp session
Move entire content from a folder
Move entire content from a folder
* You can also use mv to move a whole directory and its content:
mv includes/* ./
This will move all files (and folders) in the includes/ directory to the current working directory.
Tuesday, July 30, 2013
How to - Migrate Magento manually
You will need
1. A fresh Magento template folder
2. Existing Magento sql file
3. Existing Magento Media folder
1. Create a Database
2. Import the existing SQL file or run all the SQL commands in myphpadmin
3. Install Magento
4. Copy the entire media folder and replace the content in your existing media directory
1. A fresh Magento template folder
2. Existing Magento sql file
3. Existing Magento Media folder
1. Create a Database
2. Import the existing SQL file or run all the SQL commands in myphpadmin
3. Install Magento
4. Copy the entire media folder and replace the content in your existing media directory
Magento - Complains missing InnoDB when it is available
Navigate within your Magento Folder
Replace:
Replace:
public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW VARIABLES');
return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
}
with
public function supportEngine()
{
$variables = $this->_getConnection()
->fetchPairs('SHOW ENGINES');
return (isset($variables['InnoDB']) && $variables['InnoDB'] != 'NO');
}
Increase Size of import SQL File in phpmyadmin
Modify php.ini
Open text pad, enter
Save as .php on your local machine
Navigate to this file using any Browser
Find
| Configuration File (php.ini) Path | /usr/local/php5/lib |
Open Terminal
Paste: nano /usr/local/php5/lib/php.ini
Modify output buffering
search for "output_buffering" without the quotation mark
change the value to on
restart apache service
Find: (Ctrl + W)
post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M
Change to:
post_max_size = 750M
upload_max_filesize = 750M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M
Restart Apache service: sudo apachectl restart
Subscribe to:
Posts (Atom)