Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Modification Magento URL
 
dridri34
Jr. Member
 
Total Posts:  2
Joined:  2013-04-02
 

hi everybody smile

In the first place I’m French, so my english is’nt excellent and I apologize for it.

I have a problem, I have created my website with magento but to reach my website I have to do : www.mywebsite.com/magento/ to reach my own website.

I would directly reach my website by drafting www.mywebsite.com without the /magento

It’s possible ? If yes, how can I do it ?

Thank you in advance for your answers smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
jbalca
Jr. Member
 
Avatar
Total Posts:  11
Joined:  2013-02-04
 

You have to configure a virtual host on your apache configuration. I don\’t know which operative system you are using but you have to find the file httpd-vhosts.conf under the apache folder.

And then you add something like this:

<VirtualHost *:80>
        
DocumentRoot "/path/to/htdocs/magento"
        
ServerName www.mywebsite.com
        
<Directory "/path/to/htdocs/magento/">
                
Options All
                AllowOverride All
                Order allow
,deny
                Allow from all
        
</Directory>
</
VirtualHost>

Restart the apache server and go to www.mywebsite.com and see if it\’s working.

Cheers,
José

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