hi, WILL IT WORK IF I HAVE 2 THINGS IN MY .htaccess file (in my root folder) or do i need to include a extra script BECAUSE
I NEED THE FIRST IMAGE FOR MY WEBISTE TO BE SECURE(https)
AND
I NEED THE SECOND IMAGE FOR MY WEBSITE FILES EXTENSIONS TO BE HIDDEN from my url .html(https://www.yourwebsitename.com/aboutus)
PLEASE PROVIDE IF NEEDED , WILL RATE YOU GOOD


Yes, It will work if you have two files in your .htaccess file (in root folder). Mostly we use only one file, but we can also use multiple .htaccess files in your root folder.
From First file :
From the first file in your root folder your website will be secured as you have used https server.
"RewriteRule ^(.*)$ https://www.yourwebsitename.com/$1 [R, L]" will add https server to your website URL. Using this, your website will be secured.
From Second File :
From second file, you can hide the extensions of each and every link in your website. I your file, you have hidden .html extension. We can also hide any extension like php, etc..
RewriteRule ^([^\.]+)$ $1.html [NC, L] will hide the .html extension from the website url's.
If you have any doubts regarding this, ask me in the comment section.
hi, WILL IT WORK IF I HAVE 2 THINGS IN MY .htaccess file (in my root...
WHATS WRONG WITH MY SCRIPT?
or what am i missing in order for my website extension file to
not show..
example: www.yourwebsite.com/aboutus.html
I WANT IT TO BE: www.yourwebsite.com/aboutus
THIS IS MY .htaccess file i need
.htaccess X 1 RewriteEngine on 2. 3 RewriteCond ${request_FILENAME} !-d 4 5 RewriteCond ${request_FILENAME} \.html -f 6 7 RewriteRule ^(.*)$ $1.html [NC, L] 8 9
How do i make my html show 10 results per page, and how do i make the books clickable to show results about them? <!DOCTYPE html> <html> <head> <title>Google Books Search</title> <script src="https://code.jquery.com/jquery-2.1.4.min.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script> <style> body{ background:lightblue } .wrap{ max-width:400px; margin:auto; margin-top:10px; } .pagination, pagination-last{ float:left; } a{ text-decoration:none; padding:15px 20px; border:1px solid black; border-right:none; background:#f2f2f2; font-size:18px; font-weight:bold; } .pagination-last a{ border-right:1px solid black; } a:hover { background:orange; color;white; } </style> <!-- <script src="js/main.js"></script> --> <script> function B_Search()...
I need help with my javascript project, I've started on it but I can't seem to get ym java scripts to work with my index.html. Can someone please help me fix my code? I need the main.js & scratchpad.js to work with my index.html .Thank you Directions: Go to the following link: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics On that page, scroll down to "A 'hello world' example". Follow the step-by-step instructions to download their code and edit it in your text editor of choice....
Hello! I need help setting my program up to initiate certain tasks! We are using a Centos Server as a root user! Use the CentOS Server and as root user perform the following: Setup two ext4 partitions on /dev/sdc at 1 GB each Mount sdc1 to /var/www (create any directories as needed) Mount sdc2 to /var/data (create any directories as needed) Install the httpd package Create a file called final.txt in /var/www/html (in that put your name/date on the first...
// I need help in creating and publishing a website with two pages for this assignment, I am new to this and need a bit of help as to what and how many HTML files I need to create, and CSS files. If anyone could send me a sample code or anything to start out with it would be appreciated ! I have attached the specifications and requirements below CPI 101 Introduction to Informatics Homework #1 Check Out My Website!...
Python with Pandas dataframe
I have a csv file that contains a large number of columns and
rows. I need to write a script that concatenates some elements of
the first row with some elements of the 2 row. Something like # if
data[1][0] starts with ch then concatenate the element right below
it. I have attached a picture of just a sample of my data. The
booleans have to stay on there as is. But I must drop the...
Hello, I am designing a website for my class. I am using HTML/CSS/Jscript. I need to have my text in the body, white. All text and the picture centered but how do I have margins on the left and right side?. I have a figcaption and I dont know have to place it under the picture but I am having a hard time. Can you help me? Thank you! HTML <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet"...
I'm need help in the Pacific Trails section of
the assignment. I posted my chapter 2 assignment on the bottom of
the picture. I'm using Notepad++.
This was the previous assignment: CHAPTER 2
ASSIGMENT
paste the first content to index.html file and second to
yurts.html.
First: (index.html contents are below)
<!DOCTYPE html>
<head>
<title>Pacific Trails Resorts</title>
</head>
<style>
a{
padding-right:14px; /* padding anchor tage to right
15px for nav menu */
}
</style>
<body>
<header>
<h1>Pacific Trails Resort</h1>
...
Hello, this is my code. moest of the things works but when select the price, i just dont get my total. can someone help me out . thank you My queshion is also here The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit. Here are the requirements: The home page (i.e. the main page) should simply be the heading, image, and slogan of the site. The home page should NOT...
I have homework i was answered it .. but i need you to complete my answer to become 1000 words // i need 1000 words please use your own words, don't copy and paste, don't use handwriting, please. i need your references URL Link please** Book: Marketing Management ________________ Q: DEVELOP A CREATIVE BRIEF A creative brief is a structured document whose purpose is to communicate quickly and concisely to anyone who might be involved in the creation of promotional...