{"id":10395,"date":"2015-07-19T19:16:32","date_gmt":"2015-07-19T17:16:32","guid":{"rendered":"https:\/\/gks.com.ua\/magento-reshenie-10-populyarnyx-problem.html"},"modified":"2021-10-17T14:55:19","modified_gmt":"2021-10-17T11:55:19","slug":"magento-reshenie-10-populyarnyx-problem","status":"publish","type":"post","link":"https:\/\/gks.com.ua\/en\/magento-reshenie-10-populyarnyx-problem.html","title":{"rendered":"Magento. Decision 10 popular issues."},"content":{"rendered":"<p>Today Magento &#8211; one of the most popular systems for the <strong> Create an online store <\/strong>. But Magento, for that matter, with other engines, there may be situations in which a programmer need help.<\/p>\n<p>In this article we describe the solution 10 popular issues that you may experience when you set up an online store on Magento.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 1. How to configure Magento for working with the new domain (after the transfer of the site, for example) <\/span><\/p>\n<p>There are two things you must do to configure Magento for working with the new domain:<\/p>\n<p>1) Edit the database Magento<br \/>\nLogin to your hosting in cPanel-&gt; PhpMyAdmin. Select the database Magento, find a table, which is called <em> core_config_data <\/em> and click on it. Click the Summary tab and edit the first two fields:<\/p>\n<pre class=\"code_art\"><code> web \/ unsecure \/ base_urlweb \/ secure \/ base_url <\/code><\/pre>\n<p>Replace the old to the new domain, and then click <em> \u00abGo\u00bb <\/em>, to save the changes.<\/p>\n<p>2) Clear the cache Magento.<br \/>\nMagento cache folder located in the installation directory <em> Magento&gt; \/ var \/ cache <\/em>. To clear your cache, just delete the contents of this folder.<br \/>\nVery often problems for Magento solution due to the fact that the cache was cleared. Therefore, in the event of a problem situation suggested to start clearing your cache Magento.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 2. How to reset the administrator password on Magento <\/span><\/p>\n<p>To change the administrator password Magento, go to the <em> cPanel&gt; PhpMyAdmin <\/em>, select the database Magento, click the SQL tab and paste this query:<\/p>\n<pre class=\"code_art\"><code> UPDATE admin_user SET password = CONCAT (MD5 ('sGnewpass'), ': sG') WHERE username = 'AdminUsername'; <\/code><\/pre>\n<p>Note: The new password, insert the desired line <em> MD5 (&#8216;sGnewpass&#8217;) <\/em>, and insert the new name of the administrator in place: <em> * AdminUsername *. <\/em><\/p>\n<p>Execute the query by clicking on the <em> &#8220;Go&#8221; <\/em>, and your password will be changed.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 3. How to connect the NC addresses for Magento <\/span><\/p>\n<p>To connect the NC addresses in Magento, you must be logged into the administrative part of the Magento: <em> System-&gt; Configuration-&gt; Internet <\/em>.<\/p>\n<p>Go to the tab &#8220;Search Engine Optimization (SEO)\u00bb and enable use <em> Web Server Rewrites <\/em>. Then click on the &#8220;Save Configuration&#8221; above. Now links in your online store will have a view of the NC.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 4. How to speed up Magento <\/span><\/p>\n<p>Many issues are caused by low productivity Magento online store and a low speed of loading pages. The recommended way to speed up the performance of Magento is the possibility of its compilation function. Increase productivity with the compilation: from 25% to 50% for the page is loaded.<\/p>\n<p>You can include a compilation for your store on Magento&#8217;s admin site: <em> System&gt; Tools&gt; Compilation <\/em>.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 5. How to redirect Magento, the site was available only at a WWW <\/span><\/p>\n<p>For SEO and usability purposes you can redirect visitors to your site only through the WWW (http:\/\/www.yourdomain.com).<\/p>\n<p>To do this, Magento, you must open the file <em> .htaccess <\/em> in the folder where you installed Magento. It get <em> RewriteEngine <\/em>, and right after it, add the following lines:<\/p>\n<pre class=\"code_art\"><code> RewriteCond% {} ^ HTTP_HOST yourdomain.com $ [NC]\r\nRewriteRule ^ (. *) $ Http:\/\/www.yourdomain.com\/$1 [R = 301, L] <\/code><\/pre>\n<p>Note: Be sure to replace yourdomain.com to your domain.<\/p>\n<p>Once you do this, save the file <em> .htaccess <\/em> and enter the admin panel site in Magenta: <em> System&gt; Configuration-&gt; Internet <\/em>.<\/p>\n<p>On the &#8220;Unsafe Connection&#8221; change base URL c http:\/\/yourdomain.com on http:\/\/www.yourdomain.com.<\/p>\n<p>Save your changes and your shop to Magento will only be available at the following address: <em> www.yourdomain.com <\/em>!<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 6. How to disable the function for comparing products Magenta <\/span><\/p>\n<p>You can disable the product comparisons for Magento, the following steps:<br \/>\n1) Edit the file, which is located at:<\/p>\n<pre class=\"code_art\"><code> app \/ code \/ core \/ Mage \/ Catalog \/ Helper \/ Product \/ Compare.php <\/code><\/pre>\n<p>replace the line<\/p>\n<pre class=\"code_art\" style=\"text-align: left;\"><code> public function getAddUrl ($ product) {return $ this -&gt; _ getUrl ('catalog \/ product_compare \/ add', $ this -&gt; _ getUrlParams ( $ product));} <\/code><\/pre>\n<p>on<\/p>\n<pre class=\"code_art\" style=\"text-align: left;\"><code> public function getAddUrl ($ product) {\/\/ return $ this -&gt; _ getUrl ('catalog \/ product_compare \/ add', $ this-&gt; _getUrlParams ($ product)); return false;} <\/code><\/pre>\n<p>2) Edit the file, which is located at:<\/p>\n<pre class=\"code_art\"><code> \/app\/design\/frontend\/base\/default\/layout\/catalog.xml <\/code><\/pre>\n<p>If you are not using the theme &#8220;default\u00bb (default) for Magenta, you need to edit a file that is located in your theme.<\/p>\n<p>And comment out the line:<\/p>\n<pre class=\"code_art\" style=\"text-align: left;\"><code> block ENGINE= \"catalog \/ product_compare_sidebar\" before = \"cart_sidebar\" name = \"catalog.compare.sidebar\" template = \"catalog \/ product \/ compare \/ sidebar.phtml \"<\/code><\/pre>\n<p>Then clean the cache of your online store on Magento&#8217;s admin panel:<br \/>\nSystem&gt; Cache Management. Select all the blocks, and update.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 7. How to create a blog in Magento <\/span><\/p>\n<p>Create a blog on Magenta &#8211; it&#8217;s easy. However, note that this feature is not enabled by default, and you have to use a custom plug-in to add it.<\/p>\n<p>Necessary extensions can be found on <em> Magento Connect <\/em>, which will fully meet your needs. One of the popular free extensions, you can use, &#8211; <em> Magento Blog &#8211; Community Edition <\/em>.<\/p>\n<p>After installing the extension, you will have an extra section in the top menu of your admin to Magenta called <em> \u00abBlog\u00bb <\/em>. From there you can configure the newly installed options for the blog, add news, etc.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 8. How to add the form &#8220;Contact us&#8221; in Magento <\/span><\/p>\n<p>Magento includes a function of the contact form for feedback by default. A link to the contact form can usually be found in the basement of your store on Magento.<\/p>\n<p>Of course, you can add a contact form to any page. All you have to do is:<\/p>\n<p>1) Log into the admin site to Magenta.<br \/>\n2) Go to the <em> CMS&gt; Pages <\/em>.<br \/>\n3) Select the page you want to edit or create a new page.<\/p>\n<p>Paste the following code using HTML version of the editor WYSIWYG:<\/p>\n<pre class=\"code_art\"><code> {{block ENGINE= 'core \/ template' name = 'contactForm' template = 'contacts \/ form.phtml'}} <\/code><\/pre>\n<p>Save the changes, and a contact form will appear on the correct page.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 9. &#8220;Access Denied&#8221; <\/span><\/p>\n<p>If you get the message &#8220;Access Denied,&#8221; the first thing to do &#8211; is to get out and go back to the admin panel Magenta.<br \/>\nIf this fails, you have to reset the administrator rights. This can be done through the admin panel Magenta: <em> System&gt; Permissions&gt; Roles&gt; Administrators <\/em>.<br \/>\nClick on the <em> \u00abResources roles\u00bb <\/em> in the left menu and ensure that access to a resource selected &#8220;All&#8221;.<br \/>\nClick on the <em> \u00abSave the role\u00bb <\/em>.<\/p>\n<p><span style=\"color: #d50808; margin-left: 20px; font-weight: bold;\"> 10. How to add a new user group for the online store at Magenta. <\/span><\/p>\n<p>You can add a new group of admin Magento: <em> Customers&gt; Customer Groups&gt; Add a group of clients <\/em>.<\/p>\n<p>When a client is already registered on the site you can change a user group for it via the admin Magenta: <em> Clients&gt; Client Management <\/em>. Click on &#8220;Edit&#8221; next to the client. In the tab &#8220;Account Information&#8221;, select the group for the customer. Click &#8220;Save Client.&#8221;<\/p>\n<p><span style=\"color: #5f5450; margin-left: 20px; font-weight: bold;\"> We hope that the above 10 tips on how to solve common problems with online shopping Magenta help you. &lt;\/span &gt;<\/span><\/p>\n<p><span style=\"color: #5f5450; margin-left: 20px; font-weight: bold;\"> GKS Web Studio offers a <a style=\"text-decoration: underline;\" href=\"https:\/\/gks.com.ua\/internet-magazin\"> creating <\/a> and <a style=\"text-decoration: underline;\" href=\"https:\/\/gks.com.ua\/seo-site-promotion\"> promotion of online stores <\/a> on Magento.<br \/>\nAlso, we will help you resolve problems that you experience with your store on Magento. We are finalizing the stores to Magento and set extensions. <\/span><\/p>\n<p><span style=\"color: #5f5450; margin-left: 20px; font-weight: bold;\"> If you want to order a website or promotion on Magento, you can contact us in any convenient manner specified at <a style=\"text-decoration: underline;\" href=\"https:\/\/gks.com.ua\/contact\"> Contact <\/a> or write to us via the feedback form. <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today Magento &#8211; one of the most popular systems for the Create an online store . But Magento, for that matter, with other engines, there may be situations in which a programmer need help. In this article we describe the solution 10 popular issues that you may experience when you set up an online store <\/p>\n","protected":false},"author":2,"featured_media":9065,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[362],"tags":[392,400,373,424,387],"_links":{"self":[{"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/posts\/10395"}],"collection":[{"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/comments?post=10395"}],"version-history":[{"count":2,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/posts\/10395\/revisions"}],"predecessor-version":[{"id":10400,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/posts\/10395\/revisions\/10400"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/media\/9065"}],"wp:attachment":[{"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/media?parent=10395"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/categories?post=10395"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gks.com.ua\/en\/wp-json\/wp\/v2\/tags?post=10395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}