{"id":29,"date":"2008-04-20T12:43:21","date_gmt":"2008-04-20T11:43:21","guid":{"rendered":"http:\/\/www.christian-pansch.de\/blog\/?p=29"},"modified":"2008-04-20T12:44:33","modified_gmt":"2008-04-20T11:44:33","slug":"standard-domain-per-htaccess-festlegen","status":"publish","type":"post","link":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/","title":{"rendered":"Standard-Domain per htaccess festlegen"},"content":{"rendered":"<p>So l\u00e4sst sich mit wenig Aufwand eine Standard-Domain \u00fcber htaccess festlegen. Sehr praktisch F\u00fcr die Suchmaschinen-Optimierung, wenn man mehrere Domains reserviert hat und \u00fcber die Oberfl\u00e4che des Hosters wenig M\u00f6glichkeiten vorgegeben sind die Domains vern\u00fcnftig mit 301-Weiterleitungen zu konfigurieren.<\/p>\n<p>Durch diese htaccess-Regel wird www.christian-pansch.de als Standord-Domain festgelegt und Aufrufe z.B. ohne www (bspw. http:\/\/christian-pansch.de) auf die entsprechende www-Variante per 301-Redirect umgeleitet.<\/p>\n<p><code><br \/>\nRewriteEngine on<br \/>\nRewriteCond %{HTTP_HOST} !^www\\.christian-pansch\\.de$<br \/>\nRewriteRule ^(.*)$ http:\/\/www.christian-pansch.de\/$1 [l,r=301]<br \/>\nRewriteCond %{the_request} ^[A-Z]{3,9}\\ \/.*index\\.htm\\ HTTP\/<br \/>\nRewriteRule ^(.*)index\\.htm$ http:\/\/www.christian-pansch\\.de\/$1 [l,r=301]<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So l\u00e4sst sich mit wenig Aufwand eine Standard-Domain \u00fcber htaccess festlegen. Sehr praktisch F\u00fcr die Suchmaschinen-Optimierung, wenn man mehrere Domains reserviert hat und \u00fcber die Oberfl\u00e4che des Hosters wenig M\u00f6glichkeiten vorgegeben sind die Domains vern\u00fcnftig mit 301-Weiterleitungen zu konfigurieren. Durch diese htaccess-Regel wird www.christian-pansch.de als Standord-Domain festgelegt und Aufrufe z.B. ohne www (bspw. http:\/\/christian-pansch.de) auf [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,9],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-seo-online-marketing","category-web-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Standard-Domain per htaccess festlegen - Social Media . Web Blog<\/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:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Standard-Domain per htaccess festlegen - Social Media . Web Blog\" \/>\n<meta property=\"og:description\" content=\"So l\u00e4sst sich mit wenig Aufwand eine Standard-Domain \u00fcber htaccess festlegen. Sehr praktisch F\u00fcr die Suchmaschinen-Optimierung, wenn man mehrere Domains reserviert hat und \u00fcber die Oberfl\u00e4che des Hosters wenig M\u00f6glichkeiten vorgegeben sind die Domains vern\u00fcnftig mit 301-Weiterleitungen zu konfigurieren. Durch diese htaccess-Regel wird www.christian-pansch.de als Standord-Domain festgelegt und Aufrufe z.B. ohne www (bspw. http:\/\/christian-pansch.de) auf [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/\" \/>\n<meta property=\"og:site_name\" content=\"Social Media . Web Blog\" \/>\n<meta property=\"article:published_time\" content=\"2008-04-20T11:43:21+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2008-04-20T11:44:33+00:00\" \/>\n<meta name=\"author\" content=\"Christian Pansch\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Christian Pansch\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u00a0Minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/\"},\"author\":{\"name\":\"Christian Pansch\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/#\\\/schema\\\/person\\\/af4b04e973030b73eb5d7cbb4597d4eb\"},\"headline\":\"Standard-Domain per htaccess festlegen\",\"datePublished\":\"2008-04-20T11:43:21+00:00\",\"dateModified\":\"2008-04-20T11:44:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/\"},\"wordCount\":75,\"commentCount\":0,\"articleSection\":[\"SEO &amp; Online Marketing\",\"Web-Development\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/\",\"url\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/\",\"name\":\"Standard-Domain per htaccess festlegen - Social Media . Web Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/#website\"},\"datePublished\":\"2008-04-20T11:43:21+00:00\",\"dateModified\":\"2008-04-20T11:44:33+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/#\\\/schema\\\/person\\\/af4b04e973030b73eb5d7cbb4597d4eb\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/standard-domain-per-htaccess-festlegen-29\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Standard-Domain per htaccess festlegen\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/\",\"name\":\"Social Media . Web Blog\",\"description\":\"Das Blog von Christian Pansch \u00fcber Social Media, Webgeschehen, Mobile, Design, TYPO3 &amp; Co.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/#\\\/schema\\\/person\\\/af4b04e973030b73eb5d7cbb4597d4eb\",\"name\":\"Christian Pansch\",\"sameAs\":[\"http:\\\/\\\/www.christian-pansch.de\"],\"url\":\"https:\\\/\\\/www.christian-pansch.de\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Standard-Domain per htaccess festlegen - Social Media . Web Blog","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:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/","og_locale":"de_DE","og_type":"article","og_title":"Standard-Domain per htaccess festlegen - Social Media . Web Blog","og_description":"So l\u00e4sst sich mit wenig Aufwand eine Standard-Domain \u00fcber htaccess festlegen. Sehr praktisch F\u00fcr die Suchmaschinen-Optimierung, wenn man mehrere Domains reserviert hat und \u00fcber die Oberfl\u00e4che des Hosters wenig M\u00f6glichkeiten vorgegeben sind die Domains vern\u00fcnftig mit 301-Weiterleitungen zu konfigurieren. Durch diese htaccess-Regel wird www.christian-pansch.de als Standord-Domain festgelegt und Aufrufe z.B. ohne www (bspw. http:\/\/christian-pansch.de) auf [&hellip;]","og_url":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/","og_site_name":"Social Media . Web Blog","article_published_time":"2008-04-20T11:43:21+00:00","article_modified_time":"2008-04-20T11:44:33+00:00","author":"Christian Pansch","twitter_card":"summary_large_image","twitter_misc":{"Verfasst von":"Christian Pansch","Gesch\u00e4tzte Lesezeit":"1\u00a0Minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/#article","isPartOf":{"@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/"},"author":{"name":"Christian Pansch","@id":"https:\/\/www.christian-pansch.de\/blog\/#\/schema\/person\/af4b04e973030b73eb5d7cbb4597d4eb"},"headline":"Standard-Domain per htaccess festlegen","datePublished":"2008-04-20T11:43:21+00:00","dateModified":"2008-04-20T11:44:33+00:00","mainEntityOfPage":{"@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/"},"wordCount":75,"commentCount":0,"articleSection":["SEO &amp; Online Marketing","Web-Development"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/","url":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/","name":"Standard-Domain per htaccess festlegen - Social Media . Web Blog","isPartOf":{"@id":"https:\/\/www.christian-pansch.de\/blog\/#website"},"datePublished":"2008-04-20T11:43:21+00:00","dateModified":"2008-04-20T11:44:33+00:00","author":{"@id":"https:\/\/www.christian-pansch.de\/blog\/#\/schema\/person\/af4b04e973030b73eb5d7cbb4597d4eb"},"breadcrumb":{"@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.christian-pansch.de\/blog\/standard-domain-per-htaccess-festlegen-29\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/www.christian-pansch.de\/blog\/"},{"@type":"ListItem","position":2,"name":"Standard-Domain per htaccess festlegen"}]},{"@type":"WebSite","@id":"https:\/\/www.christian-pansch.de\/blog\/#website","url":"https:\/\/www.christian-pansch.de\/blog\/","name":"Social Media . Web Blog","description":"Das Blog von Christian Pansch \u00fcber Social Media, Webgeschehen, Mobile, Design, TYPO3 &amp; Co.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.christian-pansch.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/www.christian-pansch.de\/blog\/#\/schema\/person\/af4b04e973030b73eb5d7cbb4597d4eb","name":"Christian Pansch","sameAs":["http:\/\/www.christian-pansch.de"],"url":"https:\/\/www.christian-pansch.de\/blog\/author\/admin\/"}]}},"publishpress_future_action":{"enabled":false,"date":"2026-05-28 12:50:44","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":0,"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.christian-pansch.de\/blog\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}