• So I’m moving WordPress from a Windows server to Linux and a couple of problems I’ve run into:

    1. we had configured the site address to include index.php since we were using a index.htm to hide the site from the public while working on it. So all the permalinks include index.php in the path, worked fine in windows. But on Linux even though the path shows correctly when hovering on the story link when you click on it the index.php gets stripped out and an error page not found occurs. So it should be somedomain.com/index.php/1043/ but somehow it redirects to somedomain.com/1043/. Does Linux do something to the index.php that is causing the problem?

    2. The other problem is more specialized. We installed the sitepress-multilingual-cms plugin and I have to disable that to get into the wp-admin. I looked at the dB tables and notice some of the info for this plugin contains the file path, so for example in the table wp_icl_string_positions there will be records like: D:\\hshome\\c311632\\somedomain.com/wp-content/themes… so obviously this will be different on the Linux server. Has anyone run into this problem and successfully moved this plugin from one server to another?

    Anyway I’m going to float this out hoping that some good soul will be able to point me in the right direction for either or both issues.

    Thanks…

Viewing 1 replies (of 1 total)
  • Hi McBryant,

    So it should be somedomain.com/index.php/1043/ but somehow it redirects to somedomain.com/1043/

    Login to your wp-admin and go to: Settings -> Permalinks

    Select custom structure and enter: /index.php/%postname% – or – /index.php/%post_id%

    Not sure why you’d want the index.php in the url though? I’m guessing your .htaccess is setup this way, but I’d remove it and just use %postname% or %postid%. Try backing up your .htaccess file via FTP and create a new one by going to the permalinks page as described above.

    I looked at the dB tables and notice some of the info for this plugin contains the file path

    You will need to do a search and replace to remove all the windows paths and replace them with your URL. Easiest way to do this is to export the database via phpmyadmin, do a search and replace on your PC, then upload the new data.

    Hope this helps ??

Viewing 1 replies (of 1 total)
  • The topic ‘Moving WordPress from Windows to Linux’ is closed to new replies.