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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:37:40+00:00 2026-06-04T19:37:40+00:00

When designing a website I created a top.php page to hold the essence of

  • 0

When designing a website I created a top.php page to hold the essence of my page so I could just use include for each page. So top.php holds my head, with my CSS stylesheet and with it my background to the site and then the menu bar. I’ve used absolute positioning with my content so everything just sits on top of an image basically – the template. Impractical perhaps but it does look nice. Anyway if you were to access mywebpage.com/top.php you just see the template with no content obviously. Now it wouldn’t really be a problem because nobody would go to that link except Google has decided to include it in it’s search. Even though I’ve submitted a sitemap and hidden it on my Google Web Account.

Any solutions?

I’m not an experienced web designer obviously.

  • 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-04T19:37:42+00:00Added an answer on June 4, 2026 at 7:37 pm

    You should place all files that you only include in a directory, and block access to that directory using a .htaccess file.

    This will prevent Google as well as users from accessing the file directly.

    Your .htaccess file should contain

    deny from all

    You create a directory called ‘fragments’ and drop top.php in there. Then, within the directory create a new file called .htacess. The file should contain deny from all.

    Creating a file without any name and only an extension can be done this way:

    1. Go to notepad and type deny from all
    2. Click on Save As
    3. Select ‘Save as type’ to be ‘All files’ and name ".htacess" (with the quotes)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using 960.gs for designing website layouts. I could not able to find
I'm designing a website using bootstrap that requires me to use font resize. I
I just learnt basic Servlets and JSP technology and am designing a simple website
I am designing a website (www.lathamcity.com) where I use the Unicode character &#x2022 to
So I'm designing a website (using WordPress), and I want to use JQuery to
When designing a website, what do you consider the best image format to use
I'm designing a website to teach myself how to use table joins in mysql
Im designing a website, and often I need to present information in a nice
I've been designing a website with Wordpress and began doing testing in different browsers,
I am currently designing a website which uses this: <li class=current> . I have

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.