Note that there are some explanatory texts on larger screens.

plurals
  1. PO.htaccess poiting a domain to another domain/directory
    primarykey
    data
    text
    <p>I need to modify .htaccess file so that I can override my domain. First I tell you that I don't know anything about .htaccess file. And there is already a lot of stuff in that .htaccess file.</p> <p>What I want is to redirect my </p> <pre><code>www.one-domain.com </code></pre> <p>to</p> <pre><code>www.second-domain.com/abc </code></pre> <p>I don't want anything else to change. Only one-domain.com start showing content of second-domain.com/abc</p> <p>Between both sites for domain are of wordpress.</p> <p>one-domain.com content is at <code>root/</code> second-domain.com content is at <code>root/direcoty</code></p> <p>Below is content of my .htaccess file that it already has.</p> <pre><code># -FrontPage- IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* &lt;Limit GET POST&gt; order deny,allow deny from all allow from all &lt;/Limit&gt; &lt;Limit PUT DELETE&gt; order deny,allow deny from all &lt;/Limit&gt; &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress # BEGIN WordPress &lt;IfModule mod_rewrite.c&gt; RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] &lt;/IfModule&gt; # END WordPress </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload