php - How to make Magento run in my subdomain -


i'm trying build magento (1.9.3.1) staging site in subdomain can't work properly. site working no images, js or css files being loaded. i've searched around answers i've found don't work me.

my main website structure www.domain.com has it's own website (not magento) have subdomain.domain.com magento installed.

following answer tried editing .htaccess , added following:

rewritecond %{http_host} ^subdomain\.domain.com$ rewriterule ^/(.*) http://subdomain.domain.com/index.php [l] 

but didn't work. tried different variations of too.

any ideas i'm doing wrong? have dedicated server , domain structure is:

/httpdocs /subdomain.domain.com 

where main website root in httpdocs. issue?

the subdomain set correctly in core_config_data table well.

most packages magento require root access.. may issue. also, try check path youre images.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -