sitecore - Using the/?sc_item={guid} URL and error 404's -


a quick question on sc7.5 - have large legacy system directing users sitecore content. know guid , want redirect user seamlessly via url www.mysite.com/?sc_item={guid}

we want able check if content still there , if not produce error 404 allow (and others) clean our links via 404 reports.

is there solution @ ?

one approach might consider using reverse proxy. can install application request routing module on iis. allow inspect , rewrite incoming requests arr site , forward them on 1 or more backend servers. can rewrite responses backend servers (adjust relative links on page, fix response location in header, etc.)

i've implemented solution client has large legacy website , incrementally transitioning content sitecore. reverse proxy allows me mask end-users. urls remain same always.

what makes technique powerful can write own rewrite provider arr. means during runtime of arr can execute arbitrary code rather rely on rules achieve desired effect. rewrite provider communicates sitecore determine incoming request , routes accordingly.

i wrote blog post covers idea little more explicitly: http://sitecoreblog.patrickperrone.com/2015/05/create-reverse-proxy-controlled-by.html


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -