Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   Developing a wordpress site non-public? (https://www.warriorforum.com/programming/420268-developing-wordpress-site-non-public.html)

marcv 24th July 2011 02:03 AM

Developing a wordpress site non-public?
 
I'm switching from Magento to Wordpress for an ecommerce store (only a few products in the store) and I want to keep the new store private while in development and leave the old store public?

Any advice?

rufaswan 24th July 2011 03:27 AM

Re: Developing a wordpress site non-public?
 
Definitely. I mean, why risk your sales and profit?

And, just a friendly reminder, make sure all your old URL are 301 redirect to the correspond page on your new site. It is better than sent them to 404 page and risk losing some potential sales.

- Rufas

SJL 24th July 2011 12:40 PM

Re: Developing a wordpress site non-public?
 
You have 2 options... well ok, you have more, but here's 2.

1. Create a subdomain and install your WordPress there.
Something like beta.yourstore.com
And then make that folder password protected with .htaccess.

You can do the password protection manually if you know how or if you have a cPanel then there should be a tool called "Password Protect Directories" that you can do it with.

2. Get private development server
There's many ways for this, but I will give you the free one, that I use myself.

What you need is to install Apache server with PHP and MySQL to your computer.
This isn't as hard as it may first sound like, because there is this package called XAMPP and it contains all of these and comes with phpMyAdmin also, so you can have easy access to your database. (that's the same tool your cPanel has)

Just install the software, start up your new private development server and you are done.

mojojuju 24th July 2011 12:44 PM

Re: Developing a wordpress site non-public?
 
If you're using Apache, you can create an .htaccess file with the following contents.


order deny,allow
deny from all
allow from 111.111.111.111
allow from 222.222.222.222

Only those with the IP addresses listed will be able to access the site. You can add as many IP's as you'd like.


All times are GMT -6. The time now is 09:22 PM.