aran384
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Stop WordPress From Loading In Sub DirectoriesThis is my current .htaccess file in my root directory.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^/([0-9][0-9])/([0-9][0-9])/([0-9][0-9][0-9][0-9])/$ /$3/$2/$1/ [R=301,L]
RewriteRule ^/[A-Za-z]/([0-9][0-9])/([0-9][0-9])/([0-9][0-9][0-9][0-9])/$ /$4/$3/$2/$1/ [R=301,L]</IfModule>
Forum: Fixing WordPress
In reply to: Stop WordPress From Loading In Sub DirectoriesI want WordPress to not load on Password Protected Folders.
So basically Don’t want WordPress to handle 404s or sub directories that don’t exist things like that.
Forum: Fixing WordPress
In reply to: Stop WordPress From Loading In Sub DirectoriesI know its my .htaccess, just need a fix for it.
I am unable to access the folder when it is password protected.
Forum: Fixing WordPress
In reply to: Stop WordPress From Loading In Sub DirectoriesNo the blog it self appears. Basically the front page.
The front page was being displayed because a 404 page was not in the theme. I have now added a 404 page and is displayed when trying to access the folder with password protection on it.
Forum: Fixing WordPress
In reply to: Stop WordPress From Loading In Sub DirectoriesWhen I protect the folder with htaccess username and password. My wordpress blog starts to appear. But when I don’t protect it I see the contents of the folder.
So I am looking for a way to stop the WordPress blog from showing up when a sub directory is entered.