Jump to content

How to create subdomain & add city name in joomla virtuemart?


shah_ankitb
 Share

Recommended Posts

I'm using Joomla 2.5 & Virtuemart.I have website like yellow pages. I have to show records city wise.I have enabled SEO & enabled .htaccess.Currently my url ishttp://localhost/mywebsite/yellowpagesNow i want if i'm accessing from toronto then it should behttp://yellowpages.mywebsite.com/torontohow can i do this??

Link to comment
Share on other sites

If you do a search for IP address geolocation then you'll get information about translating an IP address to a place. It's not perfect, it relies on database lookups. But if you look up your user's IP address then you can figure out where they are and redirect them to their local site.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...