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.
orko
36
Junior Poster
Recommended Answers
Jump to PostUse a 301 redirect in Apache. It's the best way to do it.
redirect 301 /old/old.htm /
All 2 Replies
Reply to this topic
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.