Answer the question
In order to leave comments, you need to log in
Apache + Magento - how to hide the full path?
Tell.
First time trying to set up a server, installed ubuntu 14.04 + LAMP.
I set everything up, chose the /home/magento directory and uploaded the site there.
Installed magento, but how to hide the absolute path?
<link rel="stylesheet" type="text/css" href="/home/magento/js/calendar/calendar-win2k-1.css" />
- this is what the links look like and that's why neither js nor css works. Answer the question
In order to leave comments, you need to log in
you need to go to the admin panel and find the path settings there, in these settings you need to specify the site address
I haven’t worked with Magento for a long time, from memory here: System> Configuration> Web
- then there will be "tabs" on the right side
- somewhere there you need set the correct secure/unsecure "Base url" (http :// site.ru / )
- then you need to save everything
- and reset the cache if it is enabled
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question