Magento Forum

   
setting url to root instead of /magento/
 
samleaver
Member
 
Total Posts:  45
Joined:  2008-03-04
 

I may be being a bit dim, but is there a way of me setting my magento store to be example.com instead of example.com/magento, or do i have to re-install magento in the root directory instead of the magento directory?

Thanks!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Yoke Lee
Sr. Member
 
Avatar
Total Posts:  80
Joined:  2008-05-08
China - Singapore
 

just give a lit. it can be done.
i just still don’t know how.
but i saw a link that does it !

keep working on it !

 
Magento Community Magento Community
Magento Community
Magento Community
 
lisali
Enthusiast
 
Avatar
Total Posts:  888
Joined:  2008-04-28
London, UK
 

Have you tried just moving (or copying) all your files from example.com/magento into the root of example.com? You may also have to edit the .htaccess file if you have rewrites enabled - find the line with:

RewriteBase /magento/
and change to
RewriteBase /

Can not think of anything else.
Let us know!

smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
mytechfactory
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2007-12-27
New York, NY
 

That should fix it!

 
Magento Community Magento Community
Magento Community
Magento Community
 
samleaver
Member
 
Total Posts:  45
Joined:  2008-03-04
 

Thanks I’ll give it a try smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
bloggleme
Sr. Member
 
Avatar
Total Posts:  101
Joined:  2008-05-06
 

*edited - gave steps for wrong process.

 
Magento Community Magento Community
Magento Community
Magento Community
 
sherrie
Moderator
 
Avatar
Total Posts:  1655
Joined:  2007-12-14
Waterloo, ON
 

Or you could just copy index.php and the .htaccess file to where you want them and edit index.php to set it up like an additional store.  The outside world will see it as your main domain even though technically the files are still located under /magento.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top