• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 402
  • Last Modified:

How do you move an existing magento installation to another directory?

How do you move an existing "community" (free) magento installation from its existing directory to another directory on the site?

What is step-by-step instructions to reconnect EVERYTHING where everything works as the original installation but in the new directory?
0
NerdsOfTech
Asked:
NerdsOfTech
  • 2
  • 2
3 Solutions
 
miked2004Commented:
Here are the steps:
Assuming you are moving from /public_html to /public_html/magento.

1. Move all file into "public_html/magento/"
2. Edit your .htaccess file. See the code below. You will need to uncomment the RewriteBase and set it to your directory.


This works for moving Magento root around in the current webroot. If you were moving it to a different Home directory on your server that would be a little more involved.
############################################
## you can put here your magento root folder
## path relative to web root

    RewriteBase /magento/

############################################

Open in new window

0
 
miked2004Commented:
P.S. clear /var/cache/ and /var/session/
0
 
NerdsOfTechTechnology ScientistAuthor Commented:
I must admit, this platform requires SSH methods in so many cases.

Thanks for both methods experts.
0
 
tbsgadiCommented:
Glad to help!
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now