Jump to content

how to eliminate /prestashop/ from url?


Recommended Posts

Link to comment
Share on other sites

The key is that you do not have another website running in the root domain (i.e. not in folder). 

 

please follow search link below, read various articles to learn more about moving from sub-directory to root or vice versa.  there are loads of tutorials and advice. good for shop owner to learn this.

 

https://www.google.com/search?q=prestashop+blog+moving+domains&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb

Link to comment
Share on other sites

do you have access to phpmyadmin from hosting control panel?

 

look at ps_shop_url, there you will see your old sub directoryname,  this will now be a slash /

 

then access your back office using same url as before minus the sub directory name.

 

tip: you .htaccess file will need to be regenerated. (you may need to rename to ._htaccess in order to access back office, you can then regnerate from bo by turning on and off friendly url or vice versa.

Link to comment
Share on other sites

thank you. see after all i got a msg on my shop website

Warning: tempnam(): open_basedir restriction in effect. File(/customers/1/3/7/all4hairdressers.com/httpd.wwwcache) is not within the allowed path(s): (/customers/1/3/7/all4hairdressers.com/httpd.www:/customers/1/3/7/all4hairdressers.com/httpd.private:/customers/1/3/7/all4hairdressers.com/tmp:/customers/all4hairdressers.com/all4hairdressers.com:/var/www/diagnostics:/usr/share/php) in /customers/1/3/7/all4hairdressers.com/httpd.www/classes/PrestaShopAutoload.php on line 151 Warning: Cannot modify header information - headers already sent by (output started at /customers/1/3/7/all4hairdressers.com/httpd.www/classes/PrestaShopAutoload.php:151) in /customers/1/3/7/all4hairdressers.com/httpd.www/classes/shop/Shop.php on line 419 Warning: Cannot modify header information - headers already sent by (output started at /customers/1/3/7/all4hairdressers.com/httpd.www/classes/PrestaShopAutoload.php:151) in /customers/1/3/7/all4hairdressers.com/httpd.www/classes/shop/Shop.php on line 420

Link to comment
Share on other sites

Your move failed.  That does not mean strategy described was not good and does not invalidate the idea.

 

You have enough information to follow through 'again' on recommended move to root.  (move files/set base uri)

 

If you are unable to move the shop yourself or with more community help then I suggest posting in job offers, good workers for very reasonable rates.  (this rather than bumping the thread or posting something that was not recommened, i.e. multishop)

Link to comment
Share on other sites

×
×
  • Create New...