Results 1 to 3 of 3
  1. #1

    Default Php files and robots.txt

    I have a database driven site I'm working on for one of my client. They did not have a robots txt file so I am adding one.

    Most of all URLs are seo friendly, on the other hand, the regular php files are still on the server and could be picked up from the spiders.

    So, do I need to keep out product.php, contact.php, etc. to the robots.txt?

  2. #2

    Cool

    Hi,

    Here is the sample code to disallow files/folders under your account.

    User-agent: *
    Disallow: /Folder Name/
    Disallow: /File Name
    Hope this answers your questions

  3. #3

    Default

    If you are having friendly URLs, then usually those php pages are 301 redirected to the friendlies, correct? If that’s the case, then I don’t think that you need to exclude them.
    I'm an analog heart in a digital world.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •