Ready to get started?Download WordPress


htaccesss rewrite command removal? (1 post)

  1. Harvey
    Posted 7 years ago #

    Hello everyone.

    I recently got another domain, and want to run it off the same server that my old domain, http://www.japannewbie.com, is running off of.

    Now, when I access the new domain... http://www.tarvey.com/ it
    goes to my new WP installation. However, when I click on any links, the domain name reverts to http:// http://www.japannewbie.com/tarvey/?m=200706 for

    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!


    RewriteEngine On RewriteRule ^blog/(.+)?$
    http://www.japannewbie.com/$1 [QSA,L]
    DirectoryIndex index.html index.shtml index.htm home.html
    welcome.html index.php Deny From
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress
    RewriteCond %{HTTP_USER_AGENT} ^Bitacle´╝╝ bot [NC]
    RewriteRule ^.* - [F,L]

Topic Closed

This topic has been closed to new replies.

About this Topic