Hi All,
I am trying to change my site's address from www.site.com/dir/page.html to www.site.com. I exactly don't know how to do this. Is it any java script or do I have to edit my htaccess file? Any help?
Thanks.

Use a 301 redirect in Apache. It's the best way to do it.

redirect 301 /old/old.htm /

Great help!!! Thanks a lot... :D

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.