Title: HTACCESS HELP
Last modified: August 19, 2016

---

# HTACCESS HELP

 *  [crashfellow](https://wordpress.org/support/users/crashfellow/)
 * (@crashfellow)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/htaccess-help-2-2/)
 * Hey Guys,
 * Hoping someone can help as i’ve got a rather odd issue.
 * I have two wordpress blogs running in a single host. One on the base level, the
   second in a sub-folder.
 * Now essentially the two wordpress blogs are running off the .htaccess file on
   the base folder.
 * **So basically:**
 * / – blog one
    /.htaccess – htaccess for both blogs /central/ – blog two
 * The issue i’m having is that i’m attempting to install a form mailer however 
   i can seem to exclude the cgi-bin folder at
 * /central/cgi-bin/
 * **From the redirect. The coding in the htaccess is as follows:**
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond%{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] </IfModule>
 * # END WordPress

Viewing 1 replies (of 1 total)

 *  [the5sisters](https://wordpress.org/support/users/the5sisters/)
 * (@the5sisters)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/htaccess-help-2-2/#post-1175171)
 * Read carefully and replace 3 areas.Keep copy of original .htaccess file,in case
   this won’t work for you.
    After necessary 3 changes upload as htaccess.txt and
   then rename by right click to .htaccess (don’t forget the dot at the beginning
   and no dot at the end)Wait 10 minutes aand exit FTP Clear your browser cache 
   and if your site is loaded click CTRL and F5[function key may need to be on with
   some keyboards]
 * ## DISABLE HOTLINKING
    RewriteEngine on # Options +FollowSymlinks RewriteCond%{
   HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?yourblogdomainname.
   com/.*$ [NC] RewriteRule \.(gif|jpg|jpeg|png|js|css)$ – [F]
 * # Link Cloaker Plugin BEGIN
    <IfModule mod_rewrite.c> RewriteEngine On RewriteRule
   link/([^/]*)/([0-9]+)/([0-9]+)/? [http://your](http://your) blogdomainname.com/
   wp-content/plugins/link-cloaking-plugin/wplc_redirector.php?post_id=$2&link_num
   =$3&cloaked_url=$0 [L] RewriteRule link/([^/]+)[/]? [http://yourmaindirectorynameof](http://yourmaindirectorynameof)
   blog1.com/wp-content/plugins/link-cloaking-plugin/wplc_redirector.php?name=$1&
   cloaked_url=$0 [L] </IfModule> # Link Cloaker Plugin ENDS
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME}!-
   f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule
   >

Viewing 1 replies (of 1 total)

The topic ‘HTACCESS HELP’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [the5sisters](https://wordpress.org/support/users/the5sisters/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/htaccess-help-2-2/#post-1175171)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
