+ Reply to Thread
Results 1 to 6 of 6

Thread: SEO/PHP question

  1. #1
    rickle42 is offline x10Hosting Member rickle42 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    59

    SEO/PHP question

    Hi all,
    I am using ajax on my site http://santaclaus25.com/
    I replace innerHTML with html from PHP. I do not believe this is considered "content" by search engines. So my question is ...
    How do I get the generated HTML to be seen as content by search engines?
    Also, will search engines notice if I have 2000 words at 1px font-size text-color: white that dont even show up on site? Where do they draw the line?
    Could I have 50,000 words? I do not intend to abuse this, just wondering...

    Thanks,
    JR

  2. #2
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: SEO/PHP question

    1. Ajaxed content is still content - Just not SEO-ed very well as the links are calls to your ajax functions
    2. Yes they will notice you have 2000 words and they WILL penalize you for it. Its considered as blackhat SEO.



    Its one of the main reasons why I do not use AJAX for every single function of my site :P

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  3. #3
    rickle42 is offline x10Hosting Member rickle42 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    59

    Re: SEO/PHP question

    OK, so i just did a google search and realized that the php files ARE showing up as pages. How can I stop direct access to these pages without the nifty tools of x10? My uncle alrdy had this account with the competition is why I used it. Found out how good x10 is though. The host for his site sucks compared to x10, hopefully I can talk him into switching.
    I dont want the php to show up in a google search. Would be nice if it was considered part of content for the index.html page....
    But anyway, I guess I just need to know how to prevent hot-linking of php files without a nifty tool (the tool only stops hotlinking of images at the other hosting site, whereas x10 lets you decide which extensions to block).

    Any help appreciated

  4. #4
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: SEO/PHP question

    What pages are being displayed and what DO you want to hide

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


  5. #5
    rickle42 is offline x10Hosting Member rickle42 is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    59

    Re: SEO/PHP question

    This page shows up in a google search:
    www.santaclaus25.com/santa1.php?temp=4
    I dont want this file to be accessable, its jumbled and incomplete. I only want the file to be used by javascript for ajax, and get "forbidden" message if they try to enter the above link...
    Edit:
    Well at second look the "jumbled" text is something i could fix i think, but it is still an "incomplete" page
    Last edited by rickle42; 11-01-2007 at 02:08 AM. Reason: Automerged Doublepost

  6. #6
    Slothie's Avatar
    Slothie is offline Lord Of The Keys Slothie is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    Singapore
    Posts
    1,432

    Re: SEO/PHP question

    Aight, here's how If it works for you, head down to my blog and click a few ads

    What you can do is utilize sessions. You can start by renaming your index.html to index.php and including a session_start() at the top of the page and setting a 'key'. In your php pages, you should check for the key if it exists, and redirect them if it doesn't.


    Alternatively you could use robots.txt to prevent google from indexing your php pages

    Easiest 70 points you'll make on x10

    Feel free to add my reputation by clicking on the if you found my post helpful to you :P


    If I am not responding to your PMs, that means I am ignoring you. Take a hint.



    09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0


+ Reply to Thread

Similar Threads

  1. Odd question but will I be banned for this?
    By sielk in forum Free Hosting
    Replies: 3
    Last Post: 09-28-2007, 11:29 AM
  2. SQL Question
    By DizzyTechnology in forum Scripts & 3rd Party Apps
    Replies: 2
    Last Post: 01-16-2007, 07:56 PM
  3. Simple Ad Question
    By Death in forum Free Hosting
    Replies: 4
    Last Post: 02-14-2006, 04:46 AM
  4. Answer a question/Ask a question
    By humphrey in forum Off Topic
    Replies: 29
    Last Post: 11-26-2005, 07:06 PM
  5. Ad Code Question
    By reiterb in forum Free Hosting
    Replies: 1
    Last Post: 08-18-2005, 09:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers