<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="https://notiz.blog/wp-content/plugins/pretty-feeds/pretty-feed-v4.xsl" type="text/xsl" media="screen" ?>


<!--

	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:source="http://source.scripting.com/"
xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<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=6.9.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> 
<source:blogroll>https://reader.pfefferle.org/i/?a=opml&amp;get=c_2</source:blogroll>
<creativeCommons:license>https://creativecommons.org/licenses/by-sa/4.0/</creativeCommons:license>
<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" />	<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>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>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>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>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>
<p>You are a true RSS aficionado! While others are drowning in social media noise, you enjoy the simplicity and control of RSS. Congrats!</p>]]></content:encoded>
					
					<wfw:commentRss>https://notiz.blog/2006/12/04/no-www/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
