Moving site to my local server

Permalink
Hi,

I'm trying to move a site for a customer to my local (MAMP) server, but I can't get the site to work, though there is some kind of access to the database.

The process:
Exporting database from client using PHPadmin.
Importing on my computer using PHPadmin

Moving all files from client directory "public_html" to my computer (localhost/concrete5)
Changing the config/site.php file to to access the imported database.

The weird thing is, that I can't get access to the homepage, without styles though. I can see the unstyled navbar, some text and some pictures.

When I push links in the navbar, I get a "page not found"-page" just as any other link on the webpage.

The theme stylesheet reffered to is:
<link rel="stylesheet" href="/s2etech/s2etech/packages/s2etech/themes/s2etech/_/css/main.css">

I believe the right url should be:
href="/packages/s2etech/themes/s2etech/_/css/main.css">

I can actually access thehttp://localhost/s2etech/index.php/login,... but I get an error as well, when I log in.

The client homepage is:http://www.s2etech.com/

Kind regards

 
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Try using this
<link rel="stylesheet" type="text/css" media="all" href="<?php  echo $this->getStyleSheet('css/main.css');?>"  />
ConcreteOwl replied on at Permalink Best Answer Reply
ConcreteOwl
You might want to remove all unnecessary code from your htaccess file and delete the contents of the root/files/cache folder and the root/files/temp folder..
J1skristian replied on at Permalink Reply
Thanks, I'll try that. But in which file do I put it?
khaledusto replied on at Permalink Reply
Hi friends, thank you.