{"id":17972,"date":"2021-05-07T14:38:43","date_gmt":"2021-05-07T14:38:43","guid":{"rendered":"https:\/\/webhostingprof.com\/hur-man-skapar-301-omdirigeringar-i-wordpress\/"},"modified":"2022-07-12T05:52:15","modified_gmt":"2022-07-12T05:52:15","slug":"hur-man-skapar-301-omdirigeringar-i-wordpress","status":"publish","type":"post","link":"https:\/\/webhostingprof.com\/sv\/hur-man-skapar-301-omdirigeringar-i-wordpress\/","title":{"rendered":"Hur man skapar 301 omdirigeringar i WordPress"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"17972\" class=\"elementor elementor-17972 elementor-17893\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-13fc658 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"13fc658\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9a6aa7d\" data-id=\"9a6aa7d\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-a7f32e5 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a7f32e5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-558a9ad\" data-id=\"558a9ad\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e87a646 elementor-widget elementor-widget-text-editor\" data-id=\"e87a646\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Vill du veta vad en omdirigering \u00e4r? F\u00f6rs\u00f6ker du skapa en omdirigering i WordPress? V\u00e5r nyb\u00f6rjarguide om WordPress-omdirigeringar hj\u00e4lper dig att f\u00f6rst\u00e5 vad en omdirigering \u00e4r och hur du enkelt och snabbt skapar en omdirigering i WordPress.<\/p><p>Innan vi b\u00f6rjar med den h\u00e4r guiden ska vi f\u00f6rst f\u00f6rklara vad en omdirigering i WordPress egentligen \u00e4r. Detta hj\u00e4lper dig att fastst\u00e4lla om du beh\u00f6ver en omdirigering och i s\u00e5 fall hur du skapar en s\u00e5dan.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-bdf1bf0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"bdf1bf0\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-fd82984\" data-id=\"fd82984\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-43426b6 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents\" data-id=\"43426b6\" data-element_type=\"widget\" data-settings=\"{&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;],&quot;exclude_headings_by_selector&quot;:&quot;a,i&quot;,&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}\" data-widget_type=\"table-of-contents.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-toc__header\">\n\t\t\t<h4 class=\"elementor-toc__header-title\">\n\t\t\t\tInneh\u00e5llsf\u00f6rteckning\t\t\t<\/h4>\n\t\t\t\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--expand\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__43426b6\" aria-expanded=\"true\" aria-label=\"\u00d6ppna inneh\u00e5llsf\u00f6rteckning\"><i aria-hidden=\"true\" class=\"fas fa-chevron-down\"><\/i><\/div>\n\t\t\t\t<div class=\"elementor-toc__toggle-button elementor-toc__toggle-button--collapse\" role=\"button\" tabindex=\"0\" aria-controls=\"elementor-toc__43426b6\" aria-expanded=\"true\" aria-label=\"St\u00e4ng inneh\u00e5llsf\u00f6rteckning\"><i aria-hidden=\"true\" class=\"fas fa-chevron-up\"><\/i><\/div>\n\t\t\t\t\t<\/div>\n\t\t<div id=\"elementor-toc__43426b6\" class=\"elementor-toc__body\">\n\t\t\t<div class=\"elementor-toc__spinner-container\">\n\t\t\t\t<i class=\"elementor-toc__spinner eicon-animation-spin eicon-loading\" aria-hidden=\"true\"><\/i>\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-ebd4231 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ebd4231\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-c412018\" data-id=\"c412018\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b164ce elementor-widget elementor-widget-heading\" data-id=\"2b164ce\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Vad \u00e4r en omdirigering i WordPress?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7a63f59 elementor-widget elementor-widget-text-editor\" data-id=\"7a63f59\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>En omdirigering \u00e4r en metod f\u00f6r din webbplats att l\u00e5ta anv\u00e4ndarens webbl\u00e4sare veta att en sida som de f\u00f6rs\u00f6ker bes\u00f6ka har flyttats till en ny plats. Webbl\u00e4saren kommer automatiskt att leda dem till den nya sidan som du har valt att omdirigera dem till.<\/p><p>Det finns flera omdirigeringar, varav du kanske har h\u00f6rt talas om n\u00e5gra tidigare, bland annat 301 redirect, 302 redirect och 307 redirect.  <\/p><p>Antalet omdirigeringar kan vara f\u00f6rvirrande, s\u00e5 i den h\u00e4r artikeln fokuserar vi bara p\u00e5 301-omdirigeringar. L\u00e5t oss ta en titt p\u00e5 n\u00e4r du beh\u00f6ver anv\u00e4nda en 301-omdirigering i WordPress.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-2e155af elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2e155af\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-9230578\" data-id=\"9230578\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2024494 elementor-widget elementor-widget-heading\" data-id=\"2024494\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">N\u00e4r ska du anv\u00e4nda en 301-omdirigering i WordPress?<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-226ce22 elementor-widget elementor-widget-text-editor\" data-id=\"226ce22\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Den fr\u00e4msta anledningen till att man anv\u00e4nder 301-omdirigeringar \u00e4r n\u00e4r webbplatsen eller sidan p\u00e5 webbplatsen har flyttats. Det \u00e4r ett enkelt s\u00e4tt f\u00f6r dina anv\u00e4ndare att omdirigeras till den nya sidan utan att f\u00e5 ett 404-fel eller n\u00e5got annat.<\/p><p>H\u00e4r \u00e4r n\u00e5gra scenarier d\u00e4r du vill anv\u00e4nda en 301-omdirigering i WordPress:<\/p><ul><li>Om du planerar att ta bort ett inl\u00e4gg eller en sida och ers\u00e4tta det med nytt inneh\u00e5ll<\/li><li>Om du planerar att \u00e4ndra permal\u00e4nkarna f\u00f6r dina inl\u00e4gg eller sidor<\/li><\/ul><div>Om du inte anv\u00e4nder en omdirigering kommer dina anv\u00e4ndare att f\u00e5 se ett 404-fel, vilket inte \u00e4r optimalt. Detta g\u00f6r dem f\u00f6rvirrade, p\u00e5verkar din webbplats SEO och \u00e4r helt enkelt d\u00e5lig praxis.<\/div>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-dae9c9b elementor-widget elementor-widget-image\" data-id=\"dae9c9b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/404-error.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f7353b7 elementor-widget elementor-widget-text-editor\" data-id=\"f7353b7\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>D\u00e4rf\u00f6r \u00e4r 301-omdirigeringar mycket viktiga. Den talar om f\u00f6r anv\u00e4ndarens webbl\u00e4sare och s\u00f6kmotorer att sidan de f\u00f6rs\u00f6ker komma \u00e5t har flyttats. Eventuell gammal trafik eller backlinks kan \u00f6verf\u00f6ras till det nya inl\u00e4gget eller den nya sidan, vilket inneb\u00e4r att du inte f\u00f6rlorar p\u00e5 dina anstr\u00e4ngningar.<\/p><p>Om du st\u00f6ter p\u00e5 ett 404-fel \u00e4r sannolikheten stor att du \u00f6verger din nuvarande webbplats och g\u00e5r vidare till en annan. Med en 301-omdirigering kan du vara s\u00e4ker p\u00e5 att trafiken p\u00e5 din webbplats inte drabbas om inneh\u00e5llet inte l\u00e4ngre \u00e4r tillg\u00e4ngligt.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-0fdb37c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0fdb37c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-15a94fd\" data-id=\"15a94fd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-b4b795d elementor-widget elementor-widget-heading\" data-id=\"b4b795d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Hur man skapar en 301-omdirigering i WordPress<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3907658 elementor-widget elementor-widget-text-editor\" data-id=\"3907658\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Vi kommer att titta p\u00e5 flera olika s\u00e4tt att skapa 301-omdirigeringar i WordPress. Vi kommer f\u00f6rst att prata om plugins och sedan g\u00e5 \u00f6ver till att anv\u00e4nda .htaccess. Oroa dig inte, vi kommer att g\u00e5 igenom varje steg s\u00e5 att du kan vara s\u00e4ker p\u00e5 att dina 301-omdirigeringar lyckas.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-0e95830 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0e95830\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-db2e1dd\" data-id=\"db2e1dd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ec12fed elementor-widget elementor-widget-heading\" data-id=\"ec12fed\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Plugin f\u00f6r omdirigering<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5b63d91 elementor-widget elementor-widget-text-editor\" data-id=\"5b63d91\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Det snabbaste s\u00e4ttet att hantera omdirigeringar i WordPress \u00e4r att anv\u00e4nda <a href=\"https:\/\/en-gb.wordpress.org\/plugins\/redirection\/\" target=\"_blank\" rel=\"noopener\">insticksprogrammet Redirection<\/a>. Du m\u00e5ste installera det kostnadsfria insticksprogrammet och aktivera det f\u00f6r att st\u00e4lla in omdirigeringar.  <\/p><p>N\u00e4r du har aktiverat den klickar du p\u00e5 <b>Verktyg &gt; Omdirigering <\/b>s\u00e5 att du kan st\u00e4lla in dina omdirigeringar.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a6f1c82 elementor-widget elementor-widget-image\" data-id=\"a6f1c82\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/redirection-plugin.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c032959 elementor-widget elementor-widget-text-editor\" data-id=\"c032959\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Med Redirection plugin kan du konfigurera omdirigeringar och hitta 404-fel p\u00e5 din WordPress-webbplats. N\u00e4r du har hittat eventuella 404-fel kan du omdirigera URL:erna till r\u00e4tt destination.<\/p><p>Det h\u00e4r \u00e4r ett fantastiskt plugin som g\u00f6r att du kan f\u00f6rb\u00e4ttra din webbplats SEO och anv\u00e4ndarupplevelsen. Jag rekommenderar den starkt.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-af8f807 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"af8f807\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-bc16cbb\" data-id=\"bc16cbb\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-104cb40 elementor-widget elementor-widget-heading\" data-id=\"104cb40\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Sidl\u00e4nkar till insticksprogrammet<\/h3>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7edd198 elementor-widget elementor-widget-text-editor\" data-id=\"7edd198\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Om du vill beh\u00e5lla ett inl\u00e4gg eller en sida men omdirigera anv\u00e4ndarna till ett annat st\u00e4lle \u00e4r <a href=\"https:\/\/wordpress.org\/plugins\/page-links-to\/\" target=\"_blank\" rel=\"noopener\">insticksprogrammet Page Links To<\/a> mycket anv\u00e4ndbart. Insticksprogrammet l\u00e4gger till en metaruta p\u00e5 sk\u00e4rmen f\u00f6r inl\u00e4ggsredigering, s\u00e5 att du kan ange URL:en f\u00f6r den nya platsen dit du vill att dina anv\u00e4ndare ska omdirigeras.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c32d2d0 elementor-widget elementor-widget-image\" data-id=\"c32d2d0\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"http:\/\/webhostingprof.com\/wp-content\/uploads\/2021\/05\/page-links-to.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-04e5d3f elementor-widget elementor-widget-text-editor\" data-id=\"04e5d3f\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Insticksprogrammet Page Links To \u00e4r gratis att anv\u00e4nda och har \u00f6ver 200 000 aktiva installationer. Det finns flera anv\u00e4ndningsomr\u00e5den f\u00f6r detta insticksprogram som \u00e4r v\u00e4rda att utforska.<\/p><p>Det \u00e4r enkelt att st\u00e4lla in 301-omdirigeringar med hj\u00e4lp av ett insticksprogram, men det kan uppst\u00e5 vissa mindre prestandaproblem. Beroende p\u00e5 din <a href=\"https:\/\/webhostingprof.com\/sv\/basta-webbhotell-for-wordpress-2022\/\" target=\"_blank\" rel=\"noopener\">WordPress-hostingleverant\u00f6r<\/a> kan dina omdirigeringar vara lite l\u00e5ngsammare. Men om du vill f\u00f6rs\u00e4kra dig om att det inte finns n\u00e5gra prestandaproblem kan du f\u00f6lja n\u00e4sta metod.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-66855c6 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"66855c6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-52a0746\" data-id=\"52a0746\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c2c0cc elementor-widget elementor-widget-heading\" data-id=\"6c2c0cc\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Konfigurera 301 omdirigeringar med .htaccess<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-75d5e88 elementor-widget elementor-widget-text-editor\" data-id=\"75d5e88\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>WordPress-anv\u00e4ndare kan st\u00e4lla in 301 omdirigeringar med hj\u00e4lp av konfigurationsfilen .htaccess. Innan du \u00e4ndrar p\u00e5 den h\u00e4r filen \u00e4r det viktigt att du s\u00e4kerhetskopierar din .htaccess-fil eftersom minsta misstag kan orsaka ett fel.<\/p><p>F\u00f6r att redigera din .htaccess-fil m\u00e5ste du anv\u00e4nda en FTP-klient som <a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"noopener\">FileZilla<\/a>. .htaccess-filen finns i rotkatalogen f\u00f6r din WordPress-webbplats, s\u00e5 du m\u00e5ste ansluta till din webbplats via FTP.<\/p><p>Du hittar dina FTP-informationer p\u00e5 ditt <a href=\"https:\/\/webhostingprof.com\/blog\/cheap-wordpress-hosting\/\" target=\"_blank\" rel=\"noopener\">WordPress-hotellkonto<\/a>. Om du inte \u00e4r s\u00e4ker p\u00e5 var dessa finns kan du prata med ditt webbhotell s\u00e5 kan de visa dig i r\u00e4tt riktning.<\/p><p>Du kan redigera .htaccess-filen med Anteckningsblock. L\u00e4gg till f\u00f6ljande kodrad i slutet av .htaccess-filen:<\/p><div style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">RewriteEngine On<\/code><\/div><div style=\"font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace; font-weight: 400; font-style: normal; font-size: 15px; color: #464646; border-radius: 0px !important; background-image: none !important; background-position: initial !important; background-size: initial !important; background-repeat: initial !important; background-attachment: initial !important; background-origin: initial !important; background-clip: initial !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; padding-right: 1em !important; padding-left: 1em !important; position: static !important; width: auto !important; box-sizing: content-box !important; direction: ltr !important; box-shadow: none !important; white-space: pre-wrap !important;\"><code style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: black !important;\">Redirect 301 \/an-old-blog-post\/ http:<\/code><code style=\"border-radius: 0px !important; background: none !important; inset: auto !important; float: none !important; height: auto !important; line-height: 1.1em !important; overflow: visible !important; position: static !important; width: auto !important; box-sizing: content-box !important; font-family: Monaco, Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace !important; font-size: 1em !important; direction: ltr !important; box-shadow: none !important; display: inline !important; color: #008200 !important;\">\/\/yourwebsite.com\/a-new-blog-post\/<\/code><\/div><p><span style=\"font-size: 16px; font-style: normal; font-weight: 400;\"><br>Kom ih\u00e5g att om du g\u00f6r ett misstag eller om webbplatsen visar ett fel kan du kopiera din gamla (s\u00e4kerhetskopierade) .htaccess-fil tillbaka till servern.<\/span><\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-f9b43dc elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f9b43dc\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-inner-column elementor-element elementor-element-b5391e7\" data-id=\"b5391e7\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5f8b1b7 elementor-widget elementor-widget-heading\" data-id=\"5f8b1b7\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Slutsats<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-66741cd elementor-widget elementor-widget-text-editor\" data-id=\"66741cd\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<p>Jag hoppas att du har funnit den h\u00e4r artikeln anv\u00e4ndbar. Nu f\u00f6rst\u00e5r du inte bara vad en 301-omdirigering \u00e4r, du vet ocks\u00e5 n\u00e4r du ska anv\u00e4nda den och hur du skapar en 301-omdirigering i WordPress.<\/p><p>Om du vill ut\u00f6ka dina WordPress-kunskaper kan du g\u00e4rna kolla in v\u00e5ra andra WordPress-resurser, t.ex. <a href=\"https:\/\/webhostingprof.com\/sv\/sa-har-lagger-du-till-en-favicon-till-din-wordpress-webbplats\/\" target=\"_blank\" rel=\"noopener\">hur du l\u00e4gger till en webbplatsikon p\u00e5 din webbplats<\/a>, <a href=\"https:\/\/webhostingprof.com\/blog\/change-font-size-wordpress\/\" target=\"_blank\" rel=\"noopener\">hur du \u00e4ndrar typsnittsstorleken p\u00e5 din WordPress-webbplats<\/a> och <a href=\"https:\/\/webhostingprof.com\/blog\/fix-database-connection-error\/\" target=\"_blank\" rel=\"noopener\">hur du \u00e5tg\u00e4rdar felet med att uppr\u00e4tta en databasanslutning<\/a>.<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Vill du veta vad en omdirigering \u00e4r? F\u00f6rs\u00f6ker du skapa en omdirigering i WordPress? V\u00e5r nyb\u00f6rjarguide om WordPress-omdirigeringar hj\u00e4lper dig att f\u00f6rst\u00e5 vad en omdirigering \u00e4r och hur du enkelt och snabbt skapar en omdirigering i WordPress. Innan vi b\u00f6rjar med den h\u00e4r guiden ska vi f\u00f6rst f\u00f6rklara vad en omdirigering i WordPress egentligen \u00e4r. &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/webhostingprof.com\/sv\/hur-man-skapar-301-omdirigeringar-i-wordpress\/\"> <span class=\"screen-reader-text\">Hur man skapar 301 omdirigeringar i WordPress<\/span> L\u00e4s mer &raquo;<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","site-sidebar-layout":"default","site-content-layout":"default","ast-global-header-display":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","footnotes":"","_glsr_average":0,"_glsr_ranking":0,"_glsr_reviews":0},"categories":[],"tags":[],"modified_by":null,"_links":{"self":[{"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/posts\/17972"}],"collection":[{"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/comments?post=17972"}],"version-history":[{"count":0,"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/posts\/17972\/revisions"}],"wp:attachment":[{"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/media?parent=17972"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/categories?post=17972"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostingprof.com\/sv\/wp-json\/wp\/v2\/tags?post=17972"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}