Assignment WDT
Assignment WDT
Assignment WDT
Assignment
Submitted in partial fulfillment of the requirements for
the award of degree of Bachelors of Computer
Applications
(2023-2026)
Submitted by
Guided by
JATIN RAJPUT Ms.
SHALZA AGGARWAL
ERP ID: 0231BCA129
CLASS: BCA-3
SEM: 2
ASSIGNMENT QUESTIONS
Q1. STEPS OF INSTALLATION OF XAMPP AND
WORDPRESS?
Step 1: Download XAMPP
Go to the Apache Friends website.
Download the appropriate version of XAMPP for your operating system
(Windows, macOS, Linux).
Step 2: Install XAMPP
Once the download is complete, run the installer.
Follow the on-screen instructions to install XAMPP.
Choose the components you want to install. For WordPress, you'll need Apache,
MySQL, and PHP.
Select the installation directory (by default, it's usually C:\xampp on
Windows, /Applications/XAMPP on macOS).
Complete the installation process.
Step 3: Start Apache and MySQL
After installation, open XAMPP Control Panel.
Start the Apache and MySQL services by clicking on the "Start" buttons next to
them.
Step 4: Download WordPress
Go to the WordPress website.
Download the latest version of WordPress.
Step 5: Install WordPress
Extract the WordPress zip file you downloaded in Step 4.
Copy the extracted folder (usually named wordpress) to the htdocs directory
within your XAMPP installation directory. For example, C:\xampp\htdocs on
Windows, /Applications/XAMPP/htdocs on macOS.
Rename the wordpress folder to whatever you want your WordPress site to be
called. For example, mywordpresssite.
Open your web browser and navigate to http://localhost/phpmyadmin.
Click on "Databases" and create a new database for your WordPress
installation. Note down the database name.
Open a web browser and go to http://localhost/your-wordpress-folder-name
(replace your-wordpress-folder-name with the name you gave to your WordPress
folder in step 3).
Follow the WordPress installation wizard:
Select your language and click "Continue".
Enter the database name, username (root by default), and leave the password
blank.
Click "Submit" and then "Run the Installation".
Enter your site title, username, password, and email address.
Click "Install WordPress".
After installation, click "Login" and enter your credentials to access the
WordPress dashboard.
Creating a Post:
Log in to WordPress Dashboard:
Go to your WordPress website's admin area. Typically, you can access it by
adding "/wp-admin" to your site's URL and logging in with your credentials.
Navigate to the Posts Section:
In the WordPress Dashboard, locate and click on "Posts" in the left-hand menu.
Add New Post:
Click on "Add New" to start creating a new post.
Enter Post Title and Content:
In the editor area, enter the title of your post in the provided field.
Write your post content in the main editor box below the title. You can format
text, add images, embed videos, and more using the toolbar provided.
Add Categories and Tags (Optional):
On the right side of the editor, you can add categories and tags to organize your
post. This step is optional but can help with site navigation and SEO.
Set Featured Image (Optional):
Below the post editor, you'll find an option to set a featured image for your post.
Click on "Set featured image" to upload or select an image from your media
library. This image will represent your post in listings and archives.
Save Draft:
Periodically, click on the "Save Draft" button to save your progress as a draft.
Editing a Post:
Navigate to Posts:
Go to the WordPress Dashboard and click on "Posts" in the left-hand menu.
Find the Post to Edit:
Locate the post you want to edit from the list of posts displayed.
Edit the Post:
Click on the post title or the "Edit" link below the title to open the post editor.
Make Changes:
Edit the post title, content, categories, tags, featured image, or any other aspect
of the post as needed.
Save Changes:
Once you've made your edits, click on the "Update" button to save the changes.
Publishing a Post:
Navigate to Posts:
Go to the WordPress Dashboard and click on "Posts" in the left-hand menu.
Find the Post to Publish:
Locate the post you want to publish from the list of posts displayed.
Edit the Post (If Necessary):
If you haven't already, make any final edits to the post.
Publish the Post:
In the post editor, locate the "Publish" meta box on the right side.
Click on the "Publish" button to make your post live on your website.
View Published Post:
After publishing, you can click on the "View Post" link to see your post live on
your website.