Jump to content

all links broken after migrating


froot
 Share

Recommended Posts

after migrating a site from localhost (MAMP) to live server, all the links are broken. I can only access the home-page (e.g. www.example.com), anything after a slash won't work (e.g. www.example.com/en/somepage), including /admin. It works perfectly on the local machine but not on the live server. 

What I did was to move the content from my local machine via ftp to the live server without previously installing a blank PW. Then I created a database, imported the database from my local machine and amended the database credentials (db-name, username, password) and also the httphosts-array.

I had this issue before with another project, I think I fixed it by re-installing a blank PW-installation and only then replace the database with the one from my local machine. Is that the only way?

 

Link to comment
Share on other sites

Has your root .htaccess file made it through the FTP program into the online host? Please double check if it is in place there. Some FTP programs have filters that hide and exclude dot files from transfers per default.

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...