WordPress

WordPress TutorialRemove Version from WordPress and StylesheetsRun WordPress local with XAMPPSecurity in WordPress - EscapingSecurity in WordPress - SanitizationThe Loop (main WordPress loop)Update WordPress ManuallyWordPress Actions and FiltersWordPress add action()WordPress add editor style()WordPress add menu page()WordPress Add ShortcodeWordPress add submenu page()WordPress add theme support()WordPress Add/remove contact info for users with user contactmethods filter hookWordPress Admin Dashboard WidgetsWordPress AJAXWordPress Alternating main loop (pre get posts filter)WordPress Child Theme BasicsWordPress Create a Post ProgrammaticallyWordPress Create Template for Custom Post TypeWordPress Creating a custom templateWordPress Custom exerpts with excerpt length and excerpt moreWordPress Custom Post TypesWordPress Customizer Basics (Add Panel, Section, Setting, Control)WordPress Customizer Hello WorldWordPress DebuggingWordPress Enqueuing scriptsWordPress Enqueuing StylesWordPress Function : wp trim words()WordPress Function: add action()WordPress get bloginfo()WordPress get home path()WordPress get option()WordPress get permalink()WordPress get template part()WordPress get the category()WordPress get the title()WordPress home url()WordPress How Can I integrate Markdown editor with Advance Custom Fields repeater Add-on.WordPress initWordPress Installation and ConfigurationWordPress Making network requests with HTTP APIWordPress Meta BoxWordPress Options APIWordPress Plugin creationWordPress Plugin developmentWordPress Post FormatsWordPress Querying postsWordPress Remove Auto Line Breaks from Content and ExcerptWordPress REST APIWordPress Secure your installationWordPress ShortcodeWordPress Shortcode with attributeWordPress ShortcodesWordPress SidebarsWordPress Site MigrationWordPress TaxonomiesWordPress Template hierarchyWordPress template includeWordPress the $wpdb ObjectWordPress the Admin Bar (aka The Toolbar)WordPress the title()WordPress theme and child-theme developmentWordPress ThemesWordPress wp get current user()WordPress WP Query() LoopWordPress WP-CLIWordPress WP-Cron



Run WordPress local with XAMPP

From WikiOD

With XAMPP you can install a web server on your local pc. It has an Apache web server, the database MariaDB (MySQL) and works with Perl and PHP. After the installation you are able to run and debug e.g. content management systems like WordPress on your local pc. You can use it with Windows, Linux, Mac OS X and Solaris.

1. Installing XAMPP[edit | edit source]

  1. Download the installer for the current version of XAMPP
  2. Go through the installation wizard and change nothing if you are not sure what you are changing.
  3. After the installation you see the XAMPP control panel. Just click the start button of Apache and MySQL to run both with the basic configuration.
  4. If your computer is connected to a local network, and you want access the web server from other computers too, be sure that your firewall allows it.

2. Setup a database after installing XAMPP[edit | edit source]

To run WordPress on your computer you need to configurate a database first. Be sure that Apache and MySQL are running (see Installing XAMPP step 3)

  1. Start a web browser of your choice and enter "localhost" in the address.
  2. Choose your preferred language and select in the category "Tools" -> phpMyAdmin.
  3. Select the tab Databases.
  4. Enter the name of your database (you will need this name later) below "Create database" and choose utf8_general_ci in the dropdown "Collation".
  5. Click at your created database at the left side and select the tab Users.
  6. Add a new user by clicking at Add user.
  7. Enter your username, choose local in the "Host" dropdown (if you want access the database from other computers in the network choose Any host) and enter your password (you will need this later too).
  8. Check if below "Database for user" Grant all privileges on wildcard name is checked.
  9. Press Go.

3. Installing WordPress after setup the database[edit | edit source]

After you installed XAMPP and setup the MySQL database you can install WordPress.

  1. Download the latest version of WordPress.
  2. Unzip the file and insert the folder in the root directory of your webserver (if you used the suggested path during the setup of XAMPP it is "c:\xampp\htdocs").
  3. All files which existing twice can be replaced.
  4. Enter in the address field of your webbrowser "localhost/wordpress/wp-admin/install.php".
  5. After choosing your language click Continue and then Let's go.
  6. Replace all the default text fields with your chosen configuration (see "Setup a database"). Don't change "Database Host" and "Table Prefix", except you want to migrate your local WordPress installation online. Then keep in mind that security is important. You find more information in Set Prefix in New WordPress Installation.
  7. Press Submit and than Run the install.
  8. Now you have to enter the name of your site, an username, password and a valid e-mail.
  9. Click Install WordPress to finish the setup and log into your new local WordPress site.

Credit:Stack_Overflow_Documentation