I have Magento store installed in folder called magento and it is working fine and i managed to remove the index.php using .htaccess
Now the URL for my store is
www.example.com/magento/
I don't want to move my files to the root directory but i need to remove /magento from the URL and i think the only way will be using the .htaccess but i can't understand it clearly.
I did find some links but every one have another situation and because my weak knowledge of the .htaccess file it didn't help me.
What i need simply
www.example.com/magento/
to
www.example.com
Can someone can guide me how to rewrite the URL ? Thanks in advance!