<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1-alpha-2539" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>WordPress.com Forums &#187; Topic: WordPress acts strange in combination with other .htaccess</title>
		<link>http://en.forums.wordpress.com/topic/wordpress-acts-strange-in-combination-with-other-htaccess</link>
		<description>WordPress.com Forums &#187; Topic: WordPress acts strange in combination with other .htaccess</description>
		<language>en</language>
		<pubDate>Sat, 18 May 2013 16:30:43 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1-alpha-2539</generator>
				<atom:link href="http://en.forums.wordpress.com/rss/topic/wordpress-acts-strange-in-combination-with-other-htaccess" rel="self" type="application/rss+xml" />

		<item>
			<title>1tess on "WordPress acts strange in combination with other .htaccess"</title>
			<link>http://en.forums.wordpress.com/topic/wordpress-acts-strange-in-combination-with-other-htaccess#post-1100579</link>
			<pubDate>Fri, 21 Dec 2012 09:25:41 +0000</pubDate>
			<dc:creator>1tess</dc:creator>
			<guid isPermaLink="false">1100579@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<blockquote><p>I have my wordpress installed…</p></blockquote>
<p>You are asking in the wrong forum. Head over to wordpress.org for help.</p>
<p>There are various sorts of wordpress, and this forum is for wp.com: our answers won't help you because our platform is different.<br />
<a href="http://en.support.wordpress.com/com-vs-org/" rel="nofollow">http://en.support.wordpress.com/com-vs-org/</a></p>
<p><a href="http://wordpress.org/" rel="nofollow">http://wordpress.org/</a>
</p>
]]></description>
					</item>
		<item>
			<title>doppiej on "WordPress acts strange in combination with other .htaccess"</title>
			<link>http://en.forums.wordpress.com/topic/wordpress-acts-strange-in-combination-with-other-htaccess#post-1100574</link>
			<pubDate>Fri, 21 Dec 2012 09:01:00 +0000</pubDate>
			<dc:creator>doppiej</dc:creator>
			<guid isPermaLink="false">1100574@http://en.forums.wordpress.com/</guid>
			<description><![CDATA[<p>I have my wordpress installed on <a href="http://www.domain.nl/wp.domain.nl" rel="nofollow">http://www.domain.nl/wp.domain.nl</a><br />
With htaccess in my main directory I rewrite the url <a href="http://wp.domain.nl" rel="nofollow">http://wp.domain.nl</a> to <a href="http://www.domain.nl/wp.domain.nl" rel="nofollow">http://www.domain.nl/wp.domain.nl</a><br />
When I go to the shorter url I see my wordpress site.</p>
<p>But now I want to change the wordpress- and site address in the general settings to the shorter url, which is causing troubles.<br />
I first only changed the site address, because the other one can be the longer one. If I then go to: <a href="http://domain.nl/wp.domain.nl/sample-page/" rel="nofollow">http://domain.nl/wp.domain.nl/sample-page/</a> it shows the error page instead of the page I want to see when I have the longer url filled in.</p>
<p>The htaccess I use for the main domain is:<br />
<code>php_value upload_max_filesize 20M&lt;br /&gt;
php_value post_max_size 20M&lt;br /&gt;
php_value max_execution_time 200&lt;br /&gt;
php_value max_input_time 200&lt;/p&gt;
&lt;p&gt;AddHandler application/x-httpd-php .gif .jpg .jpeg .png&lt;br /&gt;
php_flag short_open_tag Off&lt;br /&gt;
php_flag display_errors off&lt;/p&gt;
&lt;p&gt;RewriteEngine on&lt;br /&gt;
Options +FollowSymlinks&lt;br /&gt;
RewriteBase /&lt;/p&gt;
&lt;p&gt;# REDIRECT MAIN DOMAIN&lt;br /&gt;
RewriteCond %{HTTP_HOST} ^(www.)?domain.nl$&lt;br /&gt;
# /subfolder/&lt;br /&gt;
RewriteCond %{REQUEST_URI} !^/www.domain.nl/&lt;br /&gt;
# Don&#039;t change this line.&lt;br /&gt;
RewriteCond %{REQUEST_FILENAME} !-f&lt;br /&gt;
RewriteCond %{REQUEST_FILENAME} !-d&lt;br /&gt;
# /subfolder/&lt;br /&gt;
RewriteRule ^(.*)$ /www.domain.nl/$1&lt;br /&gt;
# site&lt;br /&gt;
# subfolder/&lt;br /&gt;
RewriteCond %{HTTP_HOST} ^(www.)?domain.nl$&lt;br /&gt;
RewriteRule ^(/)?$ www.domain.nl/ [L]&lt;/p&gt;
&lt;p&gt;# SUBDOMAINS to /sub.domain.nl/&lt;br /&gt;
RewriteCond %{HTTP_HOST} ^([^.]+)\.domain\.nl$ [NC]&lt;br /&gt;
RewriteCond %{HTTP_HOST} !^www\.domain\.nl$ [NC]&lt;br /&gt;
RewriteRule ^(.*)$ http://domain.nl/%1.domain.nl/$1 [P,L]</code></p>
<p>This should do the following:<br />
<a href="http://www.domain.nl" rel="nofollow">http://www.domain.nl</a> -&#62; <a href="http://www.domain.nl/www.domain.nl" rel="nofollow">http://www.domain.nl/www.domain.nl</a><br />
sub.domain.nl -&#62; <a href="http://www.domain.nl/sub.domain.nl" rel="nofollow">http://www.domain.nl/sub.domain.nl</a>
</p>
]]></description>
					</item>

	</channel>
</rss>
