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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:00:42+00:00 2026-06-13T19:00:42+00:00

Is it safe to use php include to include aspects which are vital to

  • 0

Is it safe to use php include to include aspects which are vital to the semantic meaning of web pages, for things like search engines.

For instance can you have the <h1></h1> headers for your pages all siphoned off to an include? Will google spiders, just as an example, be actually able to see these headers? Is there a type of … passive parsing… if you will, which won’t see html that is dependent upon the execution of scripting?

Or is such exclusion exclusive to client side scripting such as javascript?

  • 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-13T19:00:44+00:00Added an answer on June 13, 2026 at 7:00 pm

    Google should NEVER see the raw PHP code, because that’d mean your server is misconfigured. The server-side language/processes you’re using to build the web page are irrelevant to the end-user, all they should EVER see is html.

    Since all a spider sees is that html, it doesn’t matter if you’re serving it from a plain old .html file, a .php file, a .whatever_extension_you_want file, etc… as long as it LOOKS like a web page when it arrives on the client.

    e.g. you could go to an ludicrous extreme and have every single CHARACTER of a web page done with nothing but single char includes,e.g.

    less_than.txt:

    <
    

    h.txt:

    h
    

    t.txt:

    t
    

    m.txt:

    m
    

    l.txt:

    l
    

    greater_than.txt

    >
    

    index.php:

    <?php
    include('less_than.txt');
    include('h.txt');
    include('t.txt');
    include('m.txt');
    include('l.txt');
    include('greater_than.txt');
    

    Hideously ugly, ludicrously inefficient, but here’s what the user will see in their browser’s “view source”:

    <html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a PHP based web application which requires simple authentication to use.
Is it safe to use base64 encoded images for web design, How does it
I would like to know if it is safe to use the following code
PHP's documentation page for flock() indicates that it's not safe to use under IIS.
Is PHP (as of 5.2) thread-safe on Linux/UNIX? Would it be possible to use
I need an advice about a php/MySql CMS which is: 1.Safe for shared hosting.
Is it safe to use this kind of variable swapping in php ? $a^=$b^=$a^=$b;
i wonder which installation to use for my php? i will be using apache.
When is it safe to use implicit casting? Use Case : I'm working with
Is it safe to use longjmp and setjmp in C++ on linux/gcc with regards

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.