1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Search Engine Algorithms

Discussion in 'All Other Search Engines' started by PHP4independence, Oct 20, 2019.

  1. #1
    Hello.

    I have a question, does anyone know a way of hiding php files and documents from search engine algorithms especialy Google algorithms. I have websites that are not being fully indexed because search engines using there algorithms are detecting the same PHP files in each of my websites. You might suggest changing these php files but the files I use are important to allow my websites to function. If anyone can suggest any ideas it would greatly help, Thank you in advance if you can help :)
    SEMrush
     
    PHP4independence, Oct 20, 2019 IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    25,403
    Likes Received:
    3,501
    Best Answers:
    101
    Trophy Points:
    665
    #2
    first up, Google is finding web pages generated by php - and not the php files themselves. Are the web pages identical? Is there any way you can differentiate the information on them?

    There are a couple of ways to prevent indexing - use robots.txt or the meta tag with noindex

    https://support.google.com/webmasters/answer/93710?hl=en
     
    sarahk, Oct 20, 2019 IP
  3. JEET

    JEET Notable Member

    Messages:
    2,479
    Likes Received:
    155
    Best Answers:
    3
    Trophy Points:
    215
    #3
    There is no way search engine can detect a PHP file name, as long as you have an index file in the folder.
    PHP file get processed and only output is shown in browser.

    If your URLs are like this:
    domain/user.php
    domain/customer.php
    then use Mod Rewrite to change URLs in your websites.
    Also use this line below on top of .htaccess file to hide default index page showed by apache.

    Options -Indexes +FollowSymLinks
     
    JEET, Oct 25, 2019 IP
  4. dzikipaw

    dzikipaw Well-Known Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    106
    #4
    One option is to use .htaccess to mask any extension on your server.
     
    dzikipaw, Nov 2, 2019 IP