I have developed a D7 website locally (WAMP), now I want to move it to a production server.
The production server has a SVN repository, so when I want to move my local files to the server I do a commit of all the changed files. To sync the databases I get a dump of the local DB and I import it in the DB on the server. First of all, is this a proper way to move my site to production or is there a better workflow?
The problems I encounter are these:
When I enable caching and aggregation on my local site and then sync the two databases, when I go to the production site it's like all my stylesheets are gone. There's no css styles applied whatsoever.
When I disable caching and aggregation and sync the databases, the styles are back but it's like it's the design of a month ago. The design of the local site doesn't resemble the design of the production site. When I look at the page source, I see the CSS files getting called as: pages.css?mmtwln. What does this ?mmtwln mean?
I can't login to the admin pages on the production site. When I enter my username and password nothing happens but the page getting refreshed. No error message, no red border around the textboxes. The rewrite module is enabled on the production site. I also set the $base_url and $cookie_domain in the settings.php (I have a multisite configuration, should $base_url and $cookie_domain go in sites/default/settings.php or sites/mysite/settings.php?).
If anyone can help me with any of these questions, or point me in the right direction I'll be forever grateful.