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

How do I take out the word Magento in the url
 
justinae
Jr. Member
 
Total Posts:  10
Joined:  2009-04-09
 

I’m a web developer but new to Magento.

I want to use http://www.mydomain.com as the url and right now I have to use http://www.mydomain.com/magento to see my store. How do I change this?

thanks much!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Angstrom Systems
Jr. Member
 
Total Posts:  2
Joined:  2009-04-22
 

One way might be to just have your domain entry point be your magento directory.

Right now you’re probably using a structure like:

[root dir] -> [magento]

and your http://www.mydomain.com is pointing to [root dir].

If you don’t need to use anything in [root dir] just point http://www.mydomain.com to [magento].

This should be something you can configure in the control panel of your hosting company or your own server.

When someone lands on mydomain it should just go directly to magento and not display it in the address bar.

Hope this makes sense.

Good luck!

 
Magento Community Magento Community
Magento Community
Magento Community
 
thesun4you
Jr. Member
 
Total Posts:  11
Joined:  2009-03-14
 

i am new to all of this a virgin if you will and iam having the same problem with the path/magento for my frontend....so i’m trying to understand:  am i to move the magento folder from under public html into it’s own directory? if so how will it then become visible to the public without it being in the public html directory? please help me

 
Magento Community Magento Community
Magento Community
Magento Community
 
Periculi
Sr. Member
 
Total Posts:  249
Joined:  2009-02-03
 

Really quite easily you can use the multisite functionality to change the entry point.

Copy the index.php and .htaccess file to the root or folder you want the store entry to be in such as http://www.example.com instead of http://www.example.com/magento

Alter index.php so that the path to the app/Mage.php is instead magento/app/Mage.php like so:

$mageFilename 'app/Mage.php';

Changes to:

$mageFilename 'magento/app/Mage.php';

Then you will have 2 entry points for your default store.  If you don’t want an entry point in magento/ any longer, you can either just rename or delete the index, or write a new index.php to redirect to the proper entry point if you know how to do that.

You will then need to change the web settings in the admin to reflect the new base domain and links.  (System->Configuration->Web)

You can use this same technique to add multiple store fronts at subdomains or other domains hosted on your account as well.  I have one install just for fun that runs through 30 some odd subdomains, each as it’s own seperate store. smile

For each install I created a Website/Store/StoreView and gave them their own Web Settings in the Configuration so that on each specific subdomain or domain the correct urls are added for the links and yet all the skin, media and js is drawn from the single original install.

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