htaccesss rewrite command removal?
-
Hello everyone.
I recently got another domain, and want to run it off the same server that my old domain, https://www.japannewbie.com, is running off of.
Now, when I access the new domain… https://www.tarvey.com/ it
goes to my new WP installation. However, when I click on any links, the domain name reverts to https:// https://www.japannewbie.com/tarvey/?m=200706 for
example.Is there anyway that I can hide the fact that /tarvey/
is a subfolder in the domain?My web host said that the Rewrite commands in my htaccess are causing the issue, and I could either remove them, or some how make them not recursive, as now they affect everything in my blog directory and all the subdirectories as well.
Is it OK in WP to remove this HT Access content? I think that would screw up permalinks right?
Is there anyway to control the recursive-ness, so I could have two WP installations, one which is in a directory below that of another?
Hard to explain, but any help appreciated!
—HTACCESS—
RewriteEngine On RewriteRule ^blog/(.+)?$ https://www.japannewbie.com/$1 [QSA,L] DirectoryIndex index.html index.shtml index.htm home.html welcome.html index.php Deny From 80.36.223.107 80.58.39.174 # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress RewriteCond %{HTTP_USER_AGENT} ^Bitacle\ bot [NC] RewriteRule ^.* - [F,L]
- The topic ‘htaccesss rewrite command removal?’ is closed to new replies.