{"id":4057,"date":"2020-05-15T08:33:50","date_gmt":"2020-05-15T00:33:50","guid":{"rendered":"https:\/\/www.oryon.net\/knowledge-base\/?post_type=ht_kb&amp;p=4057"},"modified":"2020-05-15T08:33:50","modified_gmt":"2020-05-15T00:33:50","slug":"how-to-change-the-url-settings-in-prestashop-1-5-and-older-versions-2","status":"publish","type":"ht_kb","link":"https:\/\/oryon.co.in\/knowledge-base\/knowledge-base\/how-to-change-the-url-settings-in-prestashop-1-5-and-older-versions-2\/","title":{"rendered":"How to change the URL settings in PrestaShop 1.5 and older versions"},"content":{"rendered":"<p>Step 1: Log in to cPanel.<\/p>\n<p>Step 2: In the Databases section of the cPanel home screen, click phpMyAdmin.<\/p>\n<p>Step 3: In the left-hand pane of phpMyAdmin, click the PrestaShop database. A list of tables in the database appears.<\/p>\n<p>Step 4: Typically, the PrestaShop database is username_presXXX, where username represents your cPanel username, and XXX is a three-digit number.<\/p>\n<p>Step 5: Click the ps_configuration table.<\/p>\n<p>Step 6: Click the name column to sort the rows by name.<\/p>\n<p>Step 7: In the name column, locate the PS_SHOP_DOMAIN row. In the value column, double-click the corresponding value for PS_SHOP_DOMAIN, and then type the new domain name that you want PrestaShop to use.<\/p>\n<p>Step 8: In the name column, locate the PS_SHOP_DOMAIN_SSL row. In the value column, double-click the corresponding value for PS_SHOP_DOMAIN_SSL, and then type the new domain name that you want PrestaShop to use.<\/p>\n<p>Step 9: Exit phpMyAdmin.<\/p>\n<p>Step 10: In the Files section of the cPanel home screen, click File Manager.<\/p>\n<p>Step 11: In the cPanel File Manager, navigate to the folder where PrestaShop is installed, and then open the config folder.<\/p>\n<p>Step 12: Right-click the settings.inc.php file, and then click Edit.<\/p>\n<p>Step 13: Locate the line that contains the __PS_BASE_URI__ setting, and then update the value with the base URI.<\/p>\n<p>Step 14: If you installed PrestaShop in the document root directory (for example, public_html), then the base URI is \/. Alternatively, if you installed PrestaShop in a subdirectory, the base URI is \/path, where path represents the folder name. For example, the following line shows the base URI set to the document root directory (\/):<\/p>\n<p>define(&#8216;__PS_BASE_URI__&#8217;, &#8216;\/&#8217;);<\/p>\n<p>Step 15: Click Save Changes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Step 1: Log in to cPanel. Step 2: In the Databases section of the cPanel home screen, click phpMyAdmin. Step 3: In the left-hand pane of phpMyAdmin, click the PrestaShop database. A list of tables in the database appears. Step 4: Typically, the PrestaShop database is username_presXXX, where username represents&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[68],"ht-kb-tag":[],"class_list":["post-4057","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-prestashop"],"_links":{"self":[{"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/ht-kb\/4057","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/comments?post=4057"}],"version-history":[{"count":0,"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/ht-kb\/4057\/revisions"}],"wp:attachment":[{"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/media?parent=4057"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/ht-kb-category?post=4057"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/oryon.co.in\/knowledge-base\/wp-json\/wp\/v2\/ht-kb-tag?post=4057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}