944,184 Members | Top Members by Rank

Ad:
May 5th, 2006
0

How to Redirect A web page

Expand Post »
Hello Every Body

How can i know that the Site runs on the IIS or Apache Webserver.
And how can i redirect a webpage using 301 Redirect in .htaccess..

in Windows and Linux Server.


I write the Coding in .htaccess but it does not work.



Regards
Ujjwal
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
brainpulse01 is offline Offline
1 posts
since May 2006
May 5th, 2006
0

Re: How to Redirect A web page

What have you set for redirection and what is "not working"?

AFAIK, the redirection is a single entry (without breaks) like

redirect [status] oldUrl newUrl

The status is optional and it can be

permanent - (301) resource has moved permanently.
temp - (302). resource has moved temporarily.
seeother - (303) resource has been replaced.
gone - (410) resource has been permanently removed. (When this status is used the new-url argument should not be used.)

Also, check if you have the appropriate read permissions for all the groups.
Reputation Points: 48
Solved Threads: 7
Posting Whiz
aniseed is offline Offline
353 posts
since Apr 2006
May 5th, 2006
0

Re: How to Redirect A web page

I believe that .htaccess files are unique to the Apache web server (although I may be mistaken). Apache is the httpd server of choice for Linux ... there is a Windows port as well, but most Windows servers use IIS. I'm not sure how to do redirection on IIS.
Administrator
Staff Writer
Reputation Points: 1422
Solved Threads: 163
The Queen of DaniWeb
cscgal is offline Offline
13,646 posts
since Feb 2002

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 Search Engine Optimization Forum Timeline: Is SEO a part of your business plan?
Next Thread in Search Engine Optimization Forum Timeline: seo tools





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


Follow us on Twitter


© 2011 DaniWeb® LLC