• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Clean Installation of WordPress on a Live Domain without Maintenance Mode

By Abhishek Ghosh August 19, 2012 5:01 pm Updated on August 19, 2012

Clean Installation of WordPress on a Live Domain without Maintenance Mode

Advertisement

Clean Installation of WordPress on a Live Domain without Maintenance Mode means you can browse this post page but we are installing WordPress freshly behind. The main reason is basically to get a fresh WordPress because of huge usage, database often get cluttered for medium to bigger commercial blogs. Following the previous method Repairing WordPress Database sometimes not actually solves the problem fully. This method to perform Clean Installation of WordPress on a Live Domain without Maintenance Mode will keep your visitors supplying the webpages while you are actually upgrading or reinstall WordPress.

 

Mantra of Clean Installation of WordPress on a Live Domain without Maintenance Mode

 

Basically you have to make the whole WordPress frontend converted to HTML pages, just like we do by using WordPress Cache Plugins – Cache is not on the root. Its the .htaccess that plays the Tricks.

 

How to Perform a Clean Installation of WordPress on a Live Domain without Maintenance Mode

 

Its quite easy to perform a Clean Installation of WordPress on a Live Domain without Maintenance Mode but it will take time and we will suggest to test it on non important other website of you first.

Advertisement

---

WordPress is a content management system. Physically there is no directory which actually present like this :

 

Vim
1
thecustomizewindows.com/2012/08/clean-installation-of-wordpress-on-a-live-domain/

 

Neither a php page. Its generated from database actively. This is the basic reason we use Cache Plugins. But the Cache Plugins needs PHP function to convert them, this is itself a server intense work. But the ultimate result is a faster frontend.

 

Second point is, a HTML page will always get more importance than any real or virtual webpage. If you want to test, simply create a index.html named file on your web site’s root and load the homepage – it will show that HTML page.

 

Clean Installation of WordPress : Step 1

 

There are many ways to convert thousands of pages, posts, tags, categories to real HTML pages. There is a Plugin named Really Static, that can serve the purpose. Just like Cache Plugins, it will take time to generate the pages, make sure by allowing a good time.

Before activating this Really Static plugin, switch off / deactivate all kind of Cache Plugins and make the comment system to off. Now depending on your settings of Really Static Settings :

 

Clean Installation of WordPress on a Live Domain without Maintenance Mode

 

The default path is :

 

Vim
1
./wp-content/plugins/really-static/static/

 

where the HTML pages are saved :

 

Clean Installation of WordPress on a Live Domain

Copy all the contents from here. Logically, if you put on the root, WordPress will loss control. This statement itself has no value on this guide itself.

There will be no change made in .htaccess. But what we need is a clean system, otherwise we would paste all on the root. Create a subfolder suppose named static and paste the contents. This is needed because when we will perform Clean Installation of WordPress on a Live Domain, the plugin will get vanished.

Take a backup of only few tables minimally needed (but also keep a full backup in hand) and the full wp-content folder.  Follow the previous method Repairing WordPress Database Guide for this purpose.

 

In other words, you are taking sql backup of :

 

wp_commentmeta
wp_comments
wp_links
wp_postmeta
wp_posts
wp_terms
wp_term_relationships
wp_term_taxonomy
wp_usermeta
wp_users

 

And the wp-content folder. Open the .htaccess of the root. Take backup of this religiously. Delete everything from there, depending upon where your that static folder is, we are taking that its on the root, the .htaccess should be :

 

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Profile} !^[a-z0-9"]+ [NC]
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{HTTPS} !on
RewriteCond /Full Linux Path/static/%{SERVER_NAME}/$1/index.html -f
RewriteRule ^(.*) "/static/%{SERVER_NAME}/$1/index.html" [L]
</IfModule>

 

What we have done, we directed that, whatever the file is asked through browser with GET request, like in browser, it will show the old HTML Page and mask the URL. It will never :

 

Vim
1
thecustomizewindows.com/static/2012/08/clean-installation-of-wordpress-on-a-live-domain/

 

But :

 

Vim
1
thecustomizewindows.com/2012/08/clean-installation-of-wordpress-on-a-live-domain/

 

 

It depends on your server and your ability to modify accordingly whether it will work out of box or not.

 

The maximum loss can be of CSS. Test it before delete all old WordPress files. Instead of  Really Static plugin, you can use WP-Super Cache, do not deactive the plugin in that case, make sure your full website is cache and will not be flushed suddenly.

Do not delete wp-content folder in either case. You will delete other WordPress files and folders and run the installation script for fresh WordPress installation. Do not change permalink structure. Restore the old database properly. Delete the .htaccess and now change the permalink like you had. It will automatically make the proper .htaccess file. You can delete the static folder now. Done the Clean Installation of WordPress on a Live Domain without Maintenance Mode.

 

In case the above method fails, you can scrap your own website (you need to CHMOD properly, change .htaccess rules), Download a free software  WinHTTracker Website Copier and it will create a working HTML copy of your website. You have to upload it to the root and delete all the files.  Delete the .htaccess file at root  and do Clean Installation of WordPress and restore.

 

Signature

This Article Has Been Shared 593 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Clean Installation of WordPress on a Live Domain without Maintenance Mode

  • WordPress Security : Master Guide to Make WordPress Hackerproof

    Wordpress Security is an important factor today as WordPress is used for excellent blogs,corporate website,online shop. MySQL, .htaccess and plugins can harden.

  • Wrongs Done By Self Hosted WordPress Newbies

    Wrongs Done By Self Hosted WordPress Newbies has probably never listed by any Advanced WordPress forum user or Codex user.We frequently find some common errors.

  • Get Absolute Path of Server with Simple PHP Script

    Get Absolute Path of Server using a simple PHP Script using either a plugin or just running script on browser. Practically no knowledge of coding is required.

  • WordPress Website Hosting : Handy Guide for the Dummies

    Wordpress Website Hosting to many beginner Bloggers is a scary episode of life. Follow our tips, learn and understand before renting a web server for WordPress.

  • Twitter Bootstrap Guide For Newbies

    Twitter Bootstrap guide is written in a way, so that the basic users can use Free Twitter Bootstrap Source Code and use customize for own website design.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • The Importance of Voice and Style in Essay Writing April 1, 2023
  • What Online Casinos Have No Deposit Bonus in Australia March 30, 2023
  • Four Foolproof Tips To Never Run Out Of Blog Ideas For Your Website March 28, 2023
  • The Interactive Entertainment Serving as a Tech Proving Ground March 28, 2023
  • Is it Good to Run Apache Web server and MySQL Database on Separate Cloud Servers? March 27, 2023

About This Article

Cite this article as: Abhishek Ghosh, "Clean Installation of WordPress on a Live Domain without Maintenance Mode," in The Customize Windows, August 19, 2012, April 1, 2023, https://thecustomizewindows.com/2012/08/clean-installation-of-wordpress-on-a-live-domain-without-maintenance-mode/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT