<?xml version="1.0" encoding="UTF-8"?>

<!--

	Feeds whisper secrets,
	In the RSS Club's embrace,
	Knowledge blooms in grace.

-->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
xmlns:source="https://source.scripting.com/"
>

<channel>
	<title>htaccess &#8211; notizBlog</title>
	<atom:link href="https://notiz.blog/tag/htaccess/feed/" rel="self" type="application/rss+xml" />
	<link>https://notiz.blog</link>
	<description>a weblog mainly about the open, portable, interoperable, small, social, synaptic, semantic, structured, distributed, (re-)decentralized, independent, microformatted and federated social web</description>
	<lastBuildDate>Thu, 29 Apr 2021 13:44:04 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://notiz.blog/wp-content/uploads/2019/10/cropped-notizblog-icon-1-32x32.png</url>
	<title>htaccess &#8211; notizBlog</title>
	<link>https://notiz.blog</link>
	<width>32</width>
	<height>32</height>
</image> 
<creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/</creativeCommons:license>
	<script xmlns="http://www.w3.org/1999/xhtml" type="application/json" id="pretty-feed-translations">{"translation-revision-date":"2026-07-06T10:30:00+00:00","generator":"WP-CLI\/2.12.0","source":"assets\/js\/pretty-feed.js","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","lang":"de_DE","plural-forms":"nplurals=2; plural=(n != 1);"},"RSS feed icon":["RSS-Feed-Symbol"],"Web Feed":["Web-Feed"],"&lt;strong&gt;Look at you, following along the old-school way.&lt;\/strong&gt; Subscribe by copy-pasting the URL into your feed reader, or by clicking %1$shere%2$s...":["&lt;strong&gt;Sieh dich an, ganz old-school unterwegs.&lt;\/strong&gt; Abonniere den Feed, indem du die URL in deinen Feed-Reader kopierst oder %1$shier%2$s klickst ..."],"Visit %1$sAbout Feeds%2$s to get started with newsreaders and subscribing. It\u2019s free.":["Besuche %1$sAbout Feeds%2$s, um mit Newsreadern und dem Abonnieren zu starten. Es ist kostenlos."],"Visit Website":["Website besuchen"],"Recent Items":["Neueste Eintr\u00e4ge"],"Published:":["Ver\u00f6ffentlicht:"]}}}</script>
	<script xmlns="http://www.w3.org/1999/xhtml" src="https://notiz.blog/wp-includes/js/dist/hooks.min.js?ver=f0f188028580e8dc1255" defer=""/>
	<script xmlns="http://www.w3.org/1999/xhtml" src="https://notiz.blog/wp-includes/js/dist/i18n.min.js?ver=1dfe7db3940c23ea9216" defer=""/>
	<script xmlns="http://www.w3.org/1999/xhtml" src="https://notiz.blog/wp-content/plugins/pretty-feeds/assets/js/pretty-feed.js?ver=1.0.0" defer=""/>
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/>
<atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/>
<atom:link rel="hub" href="https://switchboard.p3k.io/"/>
<atom:link rel="self" href="https://notiz.blog/tag/htaccess/feed/"/>
<atom:link rel="search" type="application/opensearchdescription+xml" title="Search notizBlog" href="https://notiz.blog/wp-api/opensearch/1.1/document" />
	<source:account service="rss.chat">notizBlog</source:account>
	<source:self>https://notiz.blog/tag/htaccess/feed/</source:self>
<source:blogroll>https://notiz.blog/blogroll/?opml</source:blogroll>
	<item>
		<title>no www</title>
		<link>https://notiz.blog/2006/12/04/no-www/</link>
					<comments>https://notiz.blog/2006/12/04/no-www/#respond</comments>
		
		<dc:creator><![CDATA[Matthias Pfefferle]]></dc:creator>
		<pubDate>Mon, 04 Dec 2006 12:21:14 +0000</pubDate>
				<category><![CDATA[Open Web]]></category>
		<category><![CDATA[Canonical-URL]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">http://notizblog.org/2006/12/04/no-www/</guid>

					<description><![CDATA[Wer braucht schon das blöde www vor der URL, sieht doch ohne viel schöner aus&#8230; Das ganze hat aber auch noch einen wirtschaftlichen Aspekt (SEO). Um einen guten Pagerank bei Google zu erreichen sollte man nur unter einer URL gelistet (Canonical URL Problem) sein (z.B. https://notiz.blog und http://www.notiz.blog). Google empfielt einen 301 Redirect einzurichten, hierzu [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Wer braucht schon das blöde <code>www</code> vor der URL, sieht doch ohne viel schöner aus&#8230;<br> Das ganze hat aber auch noch einen wirtschaftlichen Aspekt (SEO). Um einen guten Pagerank bei Google zu erreichen sollte man nur unter einer URL gelistet (<a href="https://support.google.com/webmasters/answer/139066?hl=de">Canonical URL Problem</a>) sein (z.B. https://notiz.blog und http://www.notiz.blog).</p>



<p class="wp-block-paragraph">Google empfielt einen 301 Redirect einzurichten, hierzu 2 Vorschläge:</p>



<h2 class="wp-block-heading"><strong>HTACCESS</strong>
</h2>


<pre class="wp-block-code"><span><code class="hljs language-javascript">RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.domain\.com$ &#91;NC]
RewriteRule ^(.*)$ http:<span class="hljs-comment">//domain.com/$1 &#91;R=301,L]</span></code></span></pre>


<p class="wp-block-paragraph">Mehr Infos auf <a href="http://no-www.org">no-www.org</a></p>



<h2 class="wp-block-heading"><strong>PHP</strong>
</h2>


<pre class="wp-block-code"><span><code class="hljs language-xml"><span class="php"><span class="hljs-meta">&lt;?php</span>
Header( <span class="hljs-string">"HTTP/1.1 301 Moved Permanently"</span> );
Header( <span class="hljs-string">"Location: http://www.domain.de"</span> );
<span class="hljs-meta">?&gt;</span></span></code></span></pre>


<p class="wp-block-paragraph">Wer WordPress benutzt und zu faul das ganze selber zu machen, der sollte das <a href="https://ma.tt/2006/06/wordpress-no-www/">no-www Plugin</a> von <a href="https://ma.tt/">Matt</a> einsetzen.</p>
<hr /><p>Hey, RSS-Fan! Du gehörst zu den wenigen Besonderen, die diesen altbewährten und trotzdem großartigen Weg wählen, um informiert zu bleiben. Hut ab!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2006/12/04/no-www/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
