How do you rewrite URLs and redirect files on WIN server ? Is there something like .htaccess file on win server ?
You could use a meta refresh. Here is an example: <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <DIV ALIGN="CENTER"><a href="YOUR SITE URL HERE"><FONT SIZE="1" COLOR="#000000">If you have not been redirected to our home page, please click here.</FONT></a></DIV><META HTTP-EQUIV="Refresh" CONTENT="0; URL=http://www.YOUR SITE URL HERE">
Meta refresh wouldn't be a smart choice in this example. Look into a ASAPI filter for it. I think it's called ASAPIrewrite or something like that.
I don't use meta refresh for redirection, I am searching for something like 301 permanent redirect in .htaccess on apache ?? Is there something like that on IIS ? and for rewriting I've found something, you can use ISAPI rewrite.
You DO NOT want to do client side meta refresh. Search engines wont like it and neither will you website users. Rewriting the url will allow you to do this The url will look like this to everyone: www.xxxx.com/article-1/using-mod-rewrite The server will rewrite it like this internally allowing you to use querystring variables, but not see any adverse effects with the serach engines www.xxxx.com/article.php?articleID=1
I'm not talking about URL rewriting, I'm talking about redirection. Example I wan't to redirect some page to some other page. Example www.xxx.com/xx.htm to www.xxx.com/new.htm I do redirection to not lose visitors and not to lose PR and backlinks. Redirection ?
you can use a 'rewrite' to re-write the URL that you would for redirection. when the 'old' URL s entered, the rewrite will force it to use the 'new URL' address. htaccess is not standard on windows machines and can only be used once isapi-rewrite is installed on the server and the server gets rebooted. I'm not even sure that it's called htaccess, but a true htaccess file is brought to you by the fine community of Apache. isapi_rewrite for IIS handles what mod_rewrite does for Apache (301 redirects).
Can I do something else . Because I do not want to rewrite URLs that I want to redirect. I want to hold visitors, PR and backlinks. I wont only redirect one page to another not rewriting URL. ??
yes, you would need to do a 301 redirect, which you can do with the ISAPI filter or on the page level by sending a 301 redirect in the HTTP Headers. Good luck...
It looks that this is good way to redirect pages : http://support.microsoft.com/default.aspx?scid=kb;en-us;310177&sd=tech