can someone tell me what should be written in .htaccess file to achieve:
or point me the link of similar theme.
http://localhost/magento/index.php/admin -> http://localhost.com/magento/index.php/admin
I made host file line that is 127.0.0.1 to localhost.com, but now every link is going to localhost/(.*) instead localhost.com(*.) and I need to type it manualy in order to get it.
I tried to add
to .htaccess file but I am getting Internal server error with.
RewriteRule ^localhost/magento/index\.php/admin(*.) ^localhost\.com/magento/index\.php/admin$1
I am still learning apache configuration, so can you give me some advice or tell what is wrong I have done here?
Thanks in advance
edit: Sorry for placing theme in wrong section. Just saw it after whole morning of surfing.
I hope mod will be kind to move it to propper area. Or even just delete it. I’ll write new one.