Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have wordpress installed and permalink structure set to /%postname%/

In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some unreleased features.

However, whenever I navigate to http://mysite.com/beta , I get the WordPress message saying "Sorry, but you're looking for something that isn't there".

So the question is how do I make the folder take higher priority/preference than the wordpress slugs? :/

Thanks!

Edit: here's the .htaccess file:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
share|improve this question
    
Have you tried http://mysite.com/beta/ (with a trailing slash?) Also please update your question and include the contents of the /public_html/.htaccess file, and the contents of the /public_html/beta/.htaccess file if one exists. –  MikeSchinkel Mar 13 '11 at 9:03
    
@Mike, yes I did try that too, that was the first thing I tried. I switched the permalink structure to /%category%/%postname%/, it doesn't help either. –  user3911 Mar 13 '11 at 9:11
    
Okay, here's the thing. My /beta/ folder was password-protected. Removing the protection makes it work. I need the password protection, so this is really weird :/ –  user3911 Mar 13 '11 at 9:17
    
Remove the password protection and use the Members plugin which will force people to have a user account in order to access your beta site. –  MikeSchinkel Mar 13 '11 at 21:46
    
@MikeSchinkel Please add your last comment as an answer. I'll upvote it then and we have one unanswered question less. –  toscho May 1 '12 at 21:26

1 Answer 1

For beta testing use either a separate domain or at least a subdomain in another directory than your live site.

If you absolutely have to use the current setup install a plugin that offers password protection like Members or change the .htaccess rules to:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
# exclude /beta
RewriteCond %{REQUEST_URI} !/beta
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

… and create a separate .htaccess for the beta site.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.