Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6578333
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:45:28+00:00 2026-05-25T15:45:28+00:00

I have been building a website that should be launching in approximately 1 month

  • 0

I have been building a website that should be launching in approximately 1 month and the site is almost done, with one large exception: it’s on the wrong domain.

On the main page of our domain (www.example.com) there is an under construction page which is collecting email addresses, as well as just a general landing page. Meanwhile at subdomain.example.com I have built the website.

The question then is: is there a way that I can keep the under construction landing page up but also move the wordpress site from subdomain.example.com to run in the background on example.com somewhere. My concern is that when the site is finally ready and if I just ftp all the wordpress files to example.com there will be issues and I want to hammer those out before launch.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:45:28+00:00Added an answer on May 25, 2026 at 3:45 pm

    Yes, you can, by using .htaccess to filter the access.

    RewriteEngine On
    RewriteBase /
    
    # Your IP Address
    RewriteCond %{REMOTE_ADDR} !^192\.168\.0\.1$
    
    # More IPs
    #RewriteCond %{REMOTE_ADDR} !^255\.255\.255\.255$
    
    RewriteCond %{REQUEST_URI} !^/soon.html$
    
    # If you need to also give access to some specific folder (for example images)
    # you can use the following instruction
    #RewriteCond %{REQUEST_URI} !^/images/.*$
    
    # This line says: redirect to soon.html.
    # This is a redirect (sent back to the browser), so the full URL is required.
    # We're using 302 because sooner or later you'll open the website for everyone.
    RewriteRule ^(.*)$ http://www.example.com/soon.html [R=302,L]
    

    Just put this in your .htaccess (before all other instructions you might have in there) and everyone that doesn’t have that IP will be redirected to soon.html.

    This way you can keep developing on the same path that the final website will reside.

    Notes:
    This will filter all other IPs, including pingbacks from third party entities. If you’re using PayPal IPN or any other gateway that needs to comunicate with your website you will have to manually add that IP to the .htaccess (as explained on the code itself).

    Hopefully this will help you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been building a game for a while (nearly done) - But the
So i have been building an AR engine that makes use of the magnetic
I have been working on building my first CSS site using divs and am
So I have been experimenting with building a new site... http://zergxost.com/test.html - it will
I am building a web application and have been told that using object oriented
In building my responsive website I have come across a bug that appears only
I have been building a website and using it on Chrome, however for completeness
So i have been building a website for quite some time for a client
Recently, I have been building a website and I really want to have a
i have been building a website using a windows development box so far. the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.