{"id":2616,"date":"2023-05-06T07:49:00","date_gmt":"2023-05-06T07:49:00","guid":{"rendered":"https:\/\/jonathanbjorkskog.com\/?p=2616"},"modified":"2023-10-06T10:50:41","modified_gmt":"2023-10-06T10:50:41","slug":"redirects-net","status":"publish","type":"post","link":"https:\/\/jonathanbjorkskog.com\/it\/redirects-net","title":{"rendered":"Come posso fare i redirect come in .htaccess ma in un ambiente .NET?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Molti siti e negozi web con cui lavoro vivono in un ambiente Linux \/ Apache \/ php. Nei rilanci o nelle pulizie, o semplicemente nei normali <a href=\"https:\/\/jonathanbjorkskog.com\/it\/12-rules-for-seo\/\">seo<\/a> lavoro, dobbiamo utilizzare spesso i reindirizzamenti 301. Questo di solito si fa facilmente con il file .htaccess o con un semplice file\/strumento php con i redirect. Ma cosa succede quando ci troviamo in un ambiente .NET e vogliamo fare le stesse cose?<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Reindirizzamenti 301 in ambiente .NET<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In un ambiente .NET, \u00e8 possibile ottenere i reindirizzamenti degli URL utilizzando vari metodi, a seconda dell'architettura e dei requisiti dell'applicazione. Ecco alcuni modi comuni per gestire i reindirizzamenti in un'applicazione .NET:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. <strong>Utilizzo di Web.config:<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c8 possibile configurare i reindirizzamenti degli URL direttamente nel file <code>web.config<\/code> utilizzando il file <code>&lt;httpRedirect><\/code> elemento. Ecco un esempio di reindirizzamento da un URL a un altro:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In questo esempio, le richieste a <code>vecchia pagina<\/code> sar\u00e0 permanentemente reindirizzato a <code>nuova pagina<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">2. <strong>Utilizzo di Global.asax:<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Nel file Global.asax, \u00e8 possibile gestire i reindirizzamenti nel file <code>Applicazione_IniziaRichiesta<\/code> evento. Ecco un esempio:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>void Application_BeginRequest(object sender, EventArgs e)\r\n{\r\n    if (Request.Path.ToLower() == \"\/old-page\")\r\n    {\r\n        Response.RedirectPermanent(\"\/nuovapagina\");\r\n    }\r\n}\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In questo codice, se il percorso richiesto \u00e8 <code>\/vecchia pagina<\/code>, sar\u00e0 reindirizzato in modo permanente a <code>\/nuova pagina<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">3. <strong>Utilizzo dell'instradamento MVC:<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Se si utilizza ASP.NET MVC, \u00e8 possibile gestire i reindirizzamenti nel file <code>RouteConfig.cs<\/code> file. Ecco un esempio:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>classe pubblica RouteConfig\r\n{\r\n    public static void RegisterRoutes(RouteCollection routes)\r\n    {\r\n        routes.IgnoreRoute(\"{resource}.axd\/{*pathInfo}\");\r\n\r\n        routes.MapRoute(\r\n            nome: \"OldPageRedirect\",\r\n            url: \"old-page\",\r\n            defaults: new { controller = \"Home\", action = \"NewPage\" }.\r\n        );\r\n\r\n        \/\/ ... altri percorsi ...\r\n    }\r\n}\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In questo esempio, le richieste a <code>\/vecchia pagina<\/code> sar\u00e0 reindirizzato alla cartella <code>NewPage<\/code> azione nel <code>HomeController<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">4. <strong>Utilizzo del modulo di riscrittura degli URL di IIS:<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Se l'applicazione \u00e8 ospitata su IIS, \u00e8 possibile utilizzare il modulo URL Rewrite per impostare i reindirizzamenti. Questo metodo offre un modo pi\u00f9 potente e flessibile di gestire i reindirizzamenti.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00c8 possibile creare regole di riscrittura in IIS Manager o modificando il file <code>web.config<\/code> direttamente. Ecco un esempio di regola di riscrittura nel file <code>web.config<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\r<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In questa regola, le richieste di <code>\/vecchia pagina<\/code> sar\u00e0 permanentemente reindirizzato a <code>\/nuova pagina<\/code>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Scegliete il metodo pi\u00f9 adatto all'architettura e ai requisiti della vostra applicazione. Ogni metodo ha i suoi vantaggi, quindi considerate il caso d'uso specifico e scegliete quello pi\u00f9 adatto a voi.<\/p>","protected":false},"excerpt":{"rendered":"<p>Molti siti e negozi web con cui lavoro vivono in un ambiente Linux \/ Apache \/ php. Nei rilanci o nelle pulizie, o semplicemente nel normale lavoro seo, dobbiamo usare spesso i reindirizzamenti 301. Questo di solito si fa facilmente con il file .htaccess o con un semplice file\/strumento php con redirect....<\/p>","protected":false},"author":1,"featured_media":2618,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[59,49],"tags":[],"class_list":["post-2616","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo","category-technical"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How can I do redirects like i do in .htaccess but in a .NET environment - Jonathan Bj\u00f6rkskog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jonathanbjorkskog.com\/it\/redirects-net\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How can I do redirects like i do in .htaccess but in a .NET environment - Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"og:description\" content=\"A lot of sites and web shops I work with live in a Linux \/ Apache \/ php environment. In relaunches or cleanups, or just normal seo work, we have to use 301 redirects a lot. This is usually done easily with the .htaccess file or just a simple php file \/ tool with redirects....\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jonathanbjorkskog.com\/it\/redirects-net\/\" \/>\n<meta property=\"og:site_name\" content=\"Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/Jonathan.Bjorkskog\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-06T07:49:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-06T10:50:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jonathan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/JonathanBJ\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net\"},\"author\":{\"name\":\"Jonathan\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\"},\"headline\":\"How can I do redirects like i do in .htaccess but in a .NET environment\",\"datePublished\":\"2023-05-06T07:49:00+00:00\",\"dateModified\":\"2023-10-06T10:50:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net\"},\"wordCount\":330,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png\",\"articleSection\":[\"SEO\",\"Technical\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net\",\"name\":\"How can I do redirects like i do in .htaccess but in a .NET environment - Jonathan Bj\u00f6rkskog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png\",\"datePublished\":\"2023-05-06T07:49:00+00:00\",\"dateModified\":\"2023-10-06T10:50:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#primaryimage\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2023\\\/10\\\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png\",\"width\":1024,\"height\":1024,\"caption\":\"do redirects like i do in htaccess but in a NET environment\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/redirects-net#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"SEO\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/category\\\/seo\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How can I do redirects like i do in .htaccess but in a .NET environment\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"description\":\"Growth Marketing since 2009\",\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"width\":\"391\",\"height\":\"401\",\"caption\":\"Jonathan Bj\u00f6rkskog\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\",\"name\":\"Jonathan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"caption\":\"Jonathan\"},\"description\":\"Jonathan Bj\u00f6rkskog is a marketer \\\/ Growth Hacker from Finland, that has been working full time with marketing for big corporations and some of the largest e-commerce sites in Northern Europe. With a passion for organic search, content, and growth, and a background in tech and coding, he has a broad overview of the strategies and tactics of online marketing. Having started up an agency with over 100 employees also helps to get a broad overview of what any kind of business could do to be successful online.\",\"sameAs\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/Jonathan.Bjorkskog\",\"https:\\\/\\\/www.instagram.com\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/JonathanBJ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Come posso fare i redirect come in .htaccess ma in un ambiente .NET - Jonathan Bj\u00f6rkskog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jonathanbjorkskog.com\/it\/redirects-net\/","og_locale":"it_IT","og_type":"article","og_title":"How can I do redirects like i do in .htaccess but in a .NET environment - Jonathan Bj\u00f6rkskog","og_description":"A lot of sites and web shops I work with live in a Linux \/ Apache \/ php environment. In relaunches or cleanups, or just normal seo work, we have to use 301 redirects a lot. This is usually done easily with the .htaccess file or just a simple php file \/ tool with redirects....","og_url":"https:\/\/jonathanbjorkskog.com\/it\/redirects-net\/","og_site_name":"Jonathan Bj\u00f6rkskog","article_author":"https:\/\/www.facebook.com\/Jonathan.Bjorkskog","article_published_time":"2023-05-06T07:49:00+00:00","article_modified_time":"2023-10-06T10:50:41+00:00","og_image":[{"width":1024,"height":1024,"url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png","type":"image\/png"}],"author":"Jonathan","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/JonathanBJ","twitter_misc":{"Scritto da":"Jonathan","Tempo di lettura stimato":"2 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#article","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net"},"author":{"name":"Jonathan","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0"},"headline":"How can I do redirects like i do in .htaccess but in a .NET environment","datePublished":"2023-05-06T07:49:00+00:00","dateModified":"2023-10-06T10:50:41+00:00","mainEntityOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net"},"wordCount":330,"commentCount":0,"publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png","articleSection":["SEO","Technical"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jonathanbjorkskog.com\/redirects-net#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jonathanbjorkskog.com\/redirects-net","url":"https:\/\/jonathanbjorkskog.com\/redirects-net","name":"Come posso fare i redirect come in .htaccess ma in un ambiente .NET - Jonathan Bj\u00f6rkskog","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#primaryimage"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png","datePublished":"2023-05-06T07:49:00+00:00","dateModified":"2023-10-06T10:50:41+00:00","breadcrumb":{"@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jonathanbjorkskog.com\/redirects-net"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#primaryimage","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png","width":1024,"height":1024,"caption":"do redirects like i do in htaccess but in a NET environment"},{"@type":"BreadcrumbList","@id":"https:\/\/jonathanbjorkskog.com\/redirects-net#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jonathanbjorkskog.com\/"},{"@type":"ListItem","position":2,"name":"SEO","item":"https:\/\/jonathanbjorkskog.com\/category\/seo"},{"@type":"ListItem","position":3,"name":"How can I do redirects like i do in .htaccess but in a .NET environment"}]},{"@type":"WebSite","@id":"https:\/\/jonathanbjorkskog.com\/#website","url":"https:\/\/jonathanbjorkskog.com\/","name":"Jonathan Bj\u00f6rkskog","description":"Marketing della crescita dal 2009","publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jonathanbjorkskog.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/jonathanbjorkskog.com\/#organization","name":"Jonathan Bj\u00f6rkskog","url":"https:\/\/jonathanbjorkskog.com\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","width":"391","height":"401","caption":"Jonathan Bj\u00f6rkskog"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0","name":"Jonathan","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","caption":"Jonathan"},"description":"Jonathan Bj\u00f6rkskog \u00e8 un marketer \/ Growth Hacker finlandese che ha lavorato a tempo pieno nel marketing di grandi aziende e di alcuni dei pi\u00f9 grandi siti di e-commerce del Nord Europa. Con una passione per la ricerca organica, i contenuti e la crescita, e un background in tecnologia e codifica, ha un'ampia visione delle strategie e delle tattiche del marketing online. L'aver avviato un'agenzia con pi\u00f9 di 100 dipendenti aiuta inoltre ad avere un'ampia visione di ci\u00f2 che ogni tipo di azienda pu\u00f2 fare per avere successo online.","sameAs":["https:\/\/jonathanbjorkskog.com\/","https:\/\/www.facebook.com\/Jonathan.Bjorkskog","https:\/\/www.instagram.com\/jonathanbjorkskog\/","https:\/\/www.linkedin.com\/in\/jonathanbjorkskog\/","https:\/\/x.com\/https:\/\/twitter.com\/JonathanBJ"]}]}},"uagb_featured_image_src":{"full":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png",1024,1024,false],"thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-150x150.png",150,150,true],"medium":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-620x620.png",620,620,true],"medium_large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-768x768.png",768,768,true],"large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-620x620.png",620,620,true],"1536x1536":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png",1024,1024,false],"2048x2048":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png",1024,1024,false],"trp-custom-language-flag":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment.png",12,12,false],"ptam-block-post-grid-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-600x400.png",600,400,true],"ptam-block-post-grid-square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-600x600.png",600,600,true],"ptam-block-post-grid-featured-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-1000x600.png",1000,600,true],"wplb_square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-500x500.png",500,500,true],"web-stories-poster-portrait":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-640x853.png",640,853,true],"web-stories-publisher-logo":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-96x96.png",96,96,true],"web-stories-thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2023\/10\/do-redirects-like-i-do-in-htaccess-but-in-a-NET-environment-150x150.png",150,150,true]},"uagb_author_info":{"display_name":"Jonathan","author_link":"https:\/\/jonathanbjorkskog.com\/it\/author\/admin"},"uagb_comment_info":0,"uagb_excerpt":"A lot of sites and web shops I work with live in a Linux \/ Apache \/ php environment. In relaunches or cleanups, or just normal seo work, we have to use 301 redirects a lot. This is usually done easily with the .htaccess file or just a simple php file \/ tool with redirects....","_links":{"self":[{"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/posts\/2616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/comments?post=2616"}],"version-history":[{"count":1,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/posts\/2616\/revisions"}],"predecessor-version":[{"id":2617,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/posts\/2616\/revisions\/2617"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/media\/2618"}],"wp:attachment":[{"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/media?parent=2616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/categories?post=2616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/it\/wp-json\/wp\/v2\/tags?post=2616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}