WordPress.org

Ready to get started?Download WordPress

Forums

move site to zeus webserver (8 posts)

  1. amygibbsuk
    Member
    Posted 1 year ago #

    I'm trying to move a site from a test server to a clients server. The client is using a Zeus webserver and has a current wordpress site in the web directory, eg http://www.mydomain.com/web

    I've tried moving the test site a few times now and get a variety of errors. I have copied the test database and installed it in a new database on the client server. I have also changed the home and siyeurls in the database to the new location. When I uploaded the files images would not appear and I could not login as I got a 405 error. Links also led to 404 pages. I assume I need to reset the permalinks but as I could not login to the admin I could not do this.

    I've put the clients old site back in the original location and thought I would get the new site set up in a different subdir and once working just move the directories. However, when I try to go to the new site in http://www.mydomain.com/newsite it tries to go to a newsite page in the old site as the permalinks are set up so that http://www.mydomain.com/web/newsite resolves to http://www.mydomain.com/newsite

    How to I get around this?

  2. esmi
    Forum Moderator
    Posted 1 year ago #

    Try reviewing Moving_WordPress.

  3. amygibbsuk
    Member
    Posted 1 year ago #

    I had reviewed that page, I think the issue is to do with the Zeus server. I have followed a number of suggested methods but no success. I have also followed
    http://www.craniumstorm.com/how-to-move-a-wordpress-site/

    I get stuck trying to login to the admin side to reset/resave the permalinks, I got an error 405 trying to login to wp-login.php, I could not access the wp-admin at all, just a blank page or a 404 error

  4. sudrixbiaggi
    Member
    Posted 1 year ago #

    I am facing the same issue while moving a wordpress site from apache to zeus server, I made the changes & when trying to access the site it just throws a while screen. I removed .htaccess and created the rewrite.script as necessary for zeus server following is my rewrite script. Dont know what else am I missing.
    any help would be appreciated.

    RULE_0_START:
    # get the document root
    map path into SCRATCH:DOCROOT from /
    # initialize our variables
    set SCRATCH:ORIG_URL = %{URL}
    set SCRATCH:REQUEST_URI = %{URL}
    
    # see if theres any queries in our URL
    match URL into $ with ^(.*)?(.*)$
    if matched then
    set SCRATCH:REQUEST_URI = $1
    set SCRATCH:QUERY_STRING = $2
    endif
    RULE_0_END:
    
    RULE_1_START:
    # prepare to search for file, rewrite if its not found
    set SCRATCH:REQUEST_FILENAME = %{SCRATCH:DOCROOT}
    set SCRATCH:REQUEST_FILENAME . %{SCRATCH:REQUEST_URI}
    
    # check to see if the file requested is an actual file or
    # a directory with possibly an index.  don’t rewrite if so
    look for file at %{SCRATCH:REQUEST_FILENAME}
    if not exists then
    look for dir at %{SCRATCH:REQUEST_FILENAME}
    if not exists then
    set URL = /index.php?q=%{SCRATCH:REQUEST_URI}
    goto QSA_RULE_START
    endif
    endif
    
    # if we made it here then its a file or dir and no rewrite
    goto END
    RULE_1_END:
    
    QSA_RULE_START:
    # append the query string if there was one originally
    # the same as [QSA,L] for apache
    match SCRATCH:ORIG_URL into % with ?(.*)$
    if matched then
    set URL = %{URL}&%{SCRATCH:QUERY_STRING}
    endif
    goto END
    QSA_RULE_END:
  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    @sudrixbiaggi, Why are you using WordPress 3.5?

  6. sudrixbiaggi
    Member
    Posted 1 year ago #

    this is what that installed on the other server using the script install on godaddy, now i am trying to move this site to a different host with zeus server. Is there any problem with Zeus & WordPress 3.5 ?

  7. Andrew
    Forum Moderator
    Posted 1 year ago #

    I think 7 security fixes have been rolled out since WordPress 3.5, is it worth the risk?

  8. sudrixbiaggi
    Member
    Posted 1 year ago #

    Once I will be able to login & have the access to the site upon fixing this current issue I definitely can go ahead and upgrade to the new version however at this time the prime concern is to get it working. :(

Topic Closed

This topic has been closed to new replies.

About this Topic