943,844 Members | Top Members by Rank

Ad:
Sep 21st, 2007
0

Changing the address

Expand Post »
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.
Similar Threads
Reputation Points: 46
Solved Threads: 11
Junior Poster
orko is offline Offline
164 posts
since Apr 2006
Sep 21st, 2007
0

Re: Changing the address

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

redirect 301 /old/old.htm /
Moderator
Reputation Points: 161
Solved Threads: 38
He's No Good To Me Dead
stymiee is offline Offline
1,422 posts
since May 2006
Sep 21st, 2007
0

Re: Changing the address

Great help!!! Thanks a lot...
Reputation Points: 46
Solved Threads: 11
Junior Poster
orko is offline Offline
164 posts
since Apr 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in IT Professionals' Lounge Forum Timeline: Outlook closes on accepting an appointment...
Next Thread in IT Professionals' Lounge Forum Timeline: product key





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC