pmagony
asked on
IIS 301 Redirect @ Server Level not Page Level
Good Day,
Happy World Cupping to all! I finally feel warm and fuzzy inside again...
Question:
I recently overhauled an old site and I am looking to redirect the old indexed pages over to the new ones. With Apache I simply add a few lines of code to the .htaccess file, badda-bing, and I'm done.
Now with IIS, I am learning that you have to have the file on the server (ugh) and right click -> properties -> permenantly redirect to: -> yadda yadda.
I can easily say I have a good 30-40 pages I need to redirect. I don't want to have to upload these blank .html files to the server just to do so. Can I not control this at the server level from one file - such as an .htaccess?
Site is using PHP at its core.
Thanks,
Happy World Cupping to all! I finally feel warm and fuzzy inside again...
Question:
I recently overhauled an old site and I am looking to redirect the old indexed pages over to the new ones. With Apache I simply add a few lines of code to the .htaccess file, badda-bing, and I'm done.
Now with IIS, I am learning that you have to have the file on the server (ugh) and right click -> properties -> permenantly redirect to: -> yadda yadda.
I can easily say I have a good 30-40 pages I need to redirect. I don't want to have to upload these blank .html files to the server just to do so. Can I not control this at the server level from one file - such as an .htaccess?
Site is using PHP at its core.
Thanks,
ASKER
Hi Meverest,
Thanks for the response. I need a little clarification, however. Not so much with the steps and location of how to execute this but more over on the end result.
If I look up pages indexed on google for my site, i see a lot of the older pages being listed. If someone clicks that link, they are going to obviously be taken to a page that does not exist. But according to your solution, if I redirect the home directory, won't that effect all pages indexed for the site? And not just the ones that are old?
Thanks-
Thanks for the response. I need a little clarification, however. Not so much with the steps and location of how to execute this but more over on the end result.
If I look up pages indexed on google for my site, i see a lot of the older pages being listed. If someone clicks that link, they are going to obviously be taken to a page that does not exist. But according to your solution, if I redirect the home directory, won't that effect all pages indexed for the site? And not just the ones that are old?
Thanks-
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you-
you are welcome... so why the 'B'?
Cheers.
Cheers.
Cheers.