deroxonweb Posted September 29, 2012 Share Posted September 29, 2012 (edited) Hello Sir/Madam, Could somebody please teach me how to change the meta info at the index page? I see the page source of my site, and found that the meta info as below: <meta name="Shop powered by PrestaShop" /> <meta name="shop, prestashop" /> I look through the index file, but doesn't see any related terms. Is it possible to change the index page meta info? Please advice and help. Thank you very much. Best regards, Derox Edited September 30, 2012 by deroxonweb (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 29, 2012 Share Posted September 29, 2012 (edited) You can do it in your shop back office. Go to Preferences tab and SEO & URLS sub tab, exactly as I show on image below: click on edit button near the page you want to edit. In this tool you can edit: Page's title Meta description Meta keywords Rewritten URL Edited September 29, 2012 by vekia (see edit history) Link to comment Share on other sites More sharing options...
deroxonweb Posted September 30, 2012 Author Share Posted September 30, 2012 Thank you very much. I solved this problem. ^^ Link to comment Share on other sites More sharing options...
accessav Posted April 4, 2013 Share Posted April 4, 2013 You can do it in your shop back office. Go to Preferences tab and SEO & URLS sub tab, exactly as I show on image below: click on edit button near the page you want to edit. In this tool you can edit: Page's title Meta description Meta keywords Rewritten URL Hi - first post and it's a desperate cry for help! I've spent a the whole day tinkering with the Prestashop Backoffice of our site (developed by a French gent who died a year or so back) in order to optimise search engine terms etc. In the last 5 minutes I followed the above advice into the Preferences and SEO & URLs page and edited the Index.php file. I changed the Meta description and Meta keywords and hit save. That change has taken down the website completely. When I attempt to get to http://www.accessav.co.uk I now get the message: "Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/17/d249843463/htdocs/site/index.php on line 29" and there is NO access to my back office. Can anyone help me? Link to comment Share on other sites More sharing options...
vekia Posted April 4, 2013 Share Posted April 4, 2013 can you check this file and line 29? what is exactly there? without info about that it will be hard to debug this issue Link to comment Share on other sites More sharing options...
accessav Posted April 5, 2013 Share Posted April 5, 2013 (edited) <?php /* * 2007-2011 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/osl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ require(dirname(__FILE__).'/config/config.inc.php'); ControllerFactory::getController('IndexController')->run(); Edited April 5, 2013 by accessav (see edit history) Link to comment Share on other sites More sharing options...
accessav Posted April 5, 2013 Share Posted April 5, 2013 I've asked the web hosting company to restore the entire site folder from 1st April - before I started tinkering! Link to comment Share on other sites More sharing options...
accessav Posted April 5, 2013 Share Posted April 5, 2013 can you check this file and line 29? what is exactly there? without info about that it will be hard to debug this issue Line 29 is: ControllerFactory::getController('IndexController')->run(); The strange thing is after the hosting company restored the Site folder the website was up and running OK. If I then go into the backoffice and change the Page's title to "Lanarkshire based AV Installation Firm serving Scotland" Meta description to "Access Audio Visual specialise in the installation of Projectors, Video Conferencing, Digital Signage, Distributed Video, Webcasting Solutions and PA Systems." Meta keywords to "Projector Screen Projection Speaker Digital Signage Onelan LCD LED Plasma Flatscreen Amplifier Microphone Cabling Extron Crestron AMX" It kills the entire site! If I compare the two index.php files I have - the one stored locally to the one online after my attempt to change the above then they both seem identical. No idea what is going on here... Link to comment Share on other sites More sharing options...
accessav Posted April 5, 2013 Share Posted April 5, 2013 So I restore the entire site directory (I kept a copy safe) after making the above changes that kill the site and then after I've emptied the browser cache the site is back. And stranger still - the meta data has changed as I want it to..... Now this is making no sense to me! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now