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 8908657
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:14:19+00:00 2026-06-15T03:14:19+00:00

what I want to do is very simple. I want to edit a html

  • 0

what I want to do is very simple. I want to edit a html file of a webpage I have on a standard Centos server. I can access it just fine, and Apache is set to look in /var/www/sitename. Here is my problem:

The url of the page I want to edit is like so: http://www.yoursite/page1

I think that somewhere in /var/www/sitename, there should be a file called page1.html. But there isn’t. I’ve ran search functions in FileZilla and Putty (using
find /var/www/yoursite/ -exec grep -l “jeyword-from-page-1” {} \;

It all seems very simple but I can’t find the file I am supposed to edit. Where should I look for it? Any ideas or tips are greatly appreciated. Thank you for your time in advance!

EDIT:

Thank you all for the replies. Here is what I found in my htaccess file:

<FilesMatch "\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
  Order allow,deny
</FilesMatch>

# Set the default handler.
DirectoryIndex index.php



  # If your site is running in a VirtualDocumentRoot at http://example.com/,
  # uncomment the following line:
  RewriteBase /

  # Rewrite URLs of the form 'x' to the form 'index.php?q=x'.
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_URI} !=/favicon.ico
  RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
</IfModule>

These are the ones that look suspicious to me, nothing out of the ordinary with the other lines. Could this be it?

EDIT2: I just found these lines in my index.php file:

/**
 * @file
 * The PHP page that serves all page requests on a Drupal installation.
 *
 * The routines here dispatch control to the appropriate handler, which then
 * prints the appropriate page.
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
 */
  • 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-06-15T03:14:20+00:00Added an answer on June 15, 2026 at 3:14 am

    I dont think you need grep. Use name like this: find /path/to/site -name “filename”.

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

Sidebar

Related Questions

I want to do a very simple script: just want to find the newest
Very simple Winforms application I want to deploy manually. Can all the referenced assemblies
A very simple thing, and I can't get it to work. I want to
I just want to design this very simple website. Basically there are multiple pages
I have a very simple application test in which I want to drag and
On a Mac , I created a file with some very simple html, e.g.
I just want a very simple client to connect and read data from a
I want to do something seemingly very simple, but I can't find anything about
I want to validate email address in html form. I have very little knowledge
Say you have a very simple data structure: (personId, name) ...and you want to

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.