+ Reply to Thread
Results 1 to 6 of 6

Thread: PHP or Hyperlink?
      
   

  1. #1
    einfocast is offline Sergeant
    Join Date
    Nov 2006
    Posts
    20

    Default PHP or Hyperlink?

    I'm building a site that will have approx. 10 pages - all linked.

    Each page will be identical to (i.e. a copy of the index page) the home (index) page, with one exception, each page will have a different text article.

    Google adsense html blocks and other components such as images etc. will be the same for ALL pages. (Please answer in terms of what is best to use in conjunction with Google AdSense, if this matters at all and is the simplest method for a beginner)


    My questions are;

    1) Would this be a classic and/or necessary use of .PHP? And if so how do I do it?

    2) Or, should I just copy each page - change the article - re-name the page and use the hyperlink function?

    3) And in the case of question # 2 - will I have to re-do all the html blocks (adsense stuff) on a page per page basis?

    I am very new to this so please take this into account.

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: PHP or Hyperlink?

    1. Yes, you can use php in conjunction with a database where the articles will be stored, and a DB browsing script that will present the articles in the same page. This way, the ads code could only be in one page. A solution suggested only if you expect to have MANY articles, in which case a management tool is needed, and the database solution is the best.
    2 - 3. You can also do this. The html code for the ads can be in the basic page template, so you don't need to copy it from page to page: create the page layout, paste the ads code, save as Template, then recall it for each of your articles pages, place the article and use the Save as to save it as "article_page_1", "article_page_2" and so on.

    The same result can be obtained using a Iframe in your page, and creating separate article pages, that will be presented in the frame. You can use arrows or "next - previous" or numbers "Article 1 2 3 ...." in the articles pages, to navigate through them.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    Bethers's Avatar
    Bethers is offline Major General & Forum Moderator
    Join Date
    Feb 2006
    Posts
    5,232

    Default Re: PHP or Hyperlink?

    Make sure your titles and descriptions as well as a headline for each page are different - or they'll disappear into the Google supplemental index and probably never make it to search results.

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,061

    Default Re: PHP or Hyperlink?

    Under Bether's point of view, i must add that dynamic sites (using php/MySql driven pages) are the WORST sites in terms of SE spidering. SE spiders cannot follow the links of a dynamic site, because they are being created at the moment the visitor makes an option.

    On the othar hand, a site that has the possibility (or the necessity) to use php/MySQL has probably lots of other content, capable to grant a good ranking by SE.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    einfocast is offline Sergeant
    Join Date
    Nov 2006
    Posts
    20

    Default Re: PHP or Hyperlink?

    My thanks to both Bethers and NavalDesign.

    I'll most likely go with NavalDesign's answer "2-3", only because I'm new to this and I understand the method he describes.

    Now, when I complete a site, would it be proper to post a link so ya'll can view it and give me some feedback?

  6. #6
    Andy128's Avatar
    Andy128 is offline Major General
    Join Date
    Dec 2005
    Location
    Michigan
    Posts
    2,322

    Default Re: PHP or Hyperlink?

    Sure- there is a section near the top of the topics page that lets you show your website and get constructive feedback. - Customer Wesite Reviews.

    Cheers-

    Andy
    PHP- is a blast!

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49