Page is a not externally linkable
calvinmicklefinger - 5:32 pm on Jul 15, 2010 (gmt 0)
I have a wordpress blog at www.example.com and a page at www.example.com/parent/page/
I also have a second domain (www.seconddomain.com) pointing to the same hosting account. I would like to have this domain actually point to the specific page at www.example.com/parent/page/
I have experimented with adding a Rewrite Condition and Rewrite Rule, as shown in the code below, but it is having no effect.
Can anyone advise me what to correct?
# I inserted these two lines
RewriteEngine On
RewriteBase /
# I also inserted these two lines
RewriteCond %{REQUEST_URI} =payclerk.com
RewriteRule ^ /niches/payclerk-payroll/ [R=301]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress