简体   繁体   中英

301 redirect from friendly url iis7

I have a site in joomla and IIS 7. Joomla and reformatted my urls amicably . I changed the name of a category so that old links page gives a 404 error . What I need is to make a dynamic rule to change the word designating the former category in the url by the word now means the new category to keep access or link the old url.

Example:

http://www.formacionalcala.es/cursos-a-distancia/ aux-enfermeria /1005/anatomofisiologia-patologias-basicas-detalles

  • >

http://www.formacionalcala.es/cursos-a-distancia/ auxiliar-enfermeria /1005/anatomofisiologia-patologias-basicas-detalles.

Just that one word . I have tried several rules in the web.config but I have not succeeded.

Thanks and sorry for my bad English .

You Know that Joomla! was born on Lamp and 301 redirect are managed in .htaccess file (in the root). Here you can read a Microsoft guide on how to modify .htaccess on IIS7 then you can do, I think, one or more normal 301 redirect.

Microsoft guide

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM