Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Website transfer

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 1699 Views
  • Bootje
    Avatar
    Community Member
    8 Posts

    Website transfer Link to this post

    I want to transfer my website to another server.

    With the information I have so far, it's enough to do this:

    - Copy the files
    - Export the mysql table
    - Import this dump (and use the same names and acces user)

    I've done this, but all I get is this: "The requested document was not found on this server. "

    Can somebody help me?

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Website transfer Link to this post

    - You also need to check the _config.php vars in the project directory.
    - Silverstripe needs a specific .htaccess , did you copy that one as well ?

  • Bootje
    Avatar
    Community Member
    8 Posts

    Re: Website transfer Link to this post

    I've copied all the files and the config files are correct.
    Also the config file in mysite is correct, but I still don't see the website...

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Website transfer Link to this post

    Are rewrites enabled on the webserver ?

  • Blackdog
    Avatar
    Community Member
    156 Posts

    Re: Website transfer Link to this post

    make sure you clear your silverstripe-cache folder.

    I have seen this cause a problem in some transfers.

    do a db/build?flush=1 and see what happens. If you have moved your db succesfully it shouldn't try to rebuild all your custom pagetypes.

  • Bootje
    Avatar
    Community Member
    8 Posts

    Re: Website transfer Link to this post

    Cache is cleared and rewritables is enabled.

    Still page not found...

  • simon_w
    Avatar
    Forum Moderator
    473 Posts

    Re: Website transfer Link to this post

    This is most likely because of a RewriteBase problem. Edit the .htaccess file and update the RewriteBase (it should be relative to the server root. Say your URL is http://your-site/silverstripe/, then the RewriteBase should be /silverstripe/)

  • Bootje
    Avatar
    Community Member
    8 Posts

    Re: Website transfer Link to this post

    Yes!

    It's working now.

    The problem was that in htaccess was written:

    RewriteBase /folder

    and this is changed now in:

    RewriteBase /

    Thanks a lot!

    1699 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.