1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Question - How to do seo for php & asp dot net websites?

Discussion in 'Black Hat SEO' started by mor0155, Jun 14, 2014.

  1. mor0155

    mor0155 Registered Member

    Joined:
    Jan 7, 2014
    Messages:
    85
    Likes Received:
    6
    Occupation:
    SEO Executive
    Location:
    Canada
    One HR is Asked me, How to do seo for php websites?

    I know All php websites are dynamic websites. i know differences of static & dynamic websites.

    But, I'm not able to explain this..

    So,plz any one can explain to me..
     
    Last edited: Jun 14, 2014
  2. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,397
    Likes Received:
    2,066
    Exactly the same as you would for any other website. Why do you think it would make a difference?
     
  3. mor0155

    mor0155 Registered Member

    Joined:
    Jan 7, 2014
    Messages:
    85
    Likes Received:
    6
    Occupation:
    SEO Executive
    Location:
    Canada
    Thankyou For Your Reply,

    then how to get my PHP pages indexed on google and some other search engines.

    PHP web pages takes more difficult time indexing pages with a query string in the URL.Because it have an id & parameters.

    More Differences between Normal Html pages & PHP pages URL structures. Google first consider the HTML pages.
     
  4. beauxesprits

    beauxesprits BANNED BANNED

    Joined:
    Jan 31, 2011
    Messages:
    657
    Likes Received:
    646
    Isn't there a possibility to convert the dynamic urls to static?
     
  5. mor0155

    mor0155 Registered Member

    Joined:
    Jan 7, 2014
    Messages:
    85
    Likes Received:
    6
    Occupation:
    SEO Executive
    Location:
    Canada
    But some possibility is there to converting a dynamic web site to static using the Harp framework.Because, Harp is a lightweight web server with built in processors for multiple different languages (Markdown, Jade, EJS, LESS, Stylus, and CoffeeScript). It follows a simple convention that makes it easy to layout a simple web site. After installing you can get up and running in seconds.

    My question is not to converting webpages.How to do seo for PHP webpages.Do make first page on google?
     
    Last edited: Jun 14, 2014
  6. pxoxrxn

    pxoxrxn Supreme Member

    Joined:
    Dec 21, 2011
    Messages:
    1,397
    Likes Received:
    2,066

    You know that PHP generates the HTML code on the fly then serves it up to the browser the same as a static HTML page does, yeah?

    Not all PHP URLs are a string with a query, read this: http://forum.codecall.net/topic/74170-clean-urls-with-php/
     
  7. makinsales

    makinsales Regular Member

    Joined:
    Jul 23, 2011
    Messages:
    368
    Likes Received:
    283
    Location:
    The Murda Mitten
    You will want to use url rewriting. With Apache, you would use the mod_rewrite module. http://httpd.apache.org/docs/current/mod/mod_rewrite.html
    You'll need to create/modify your .htaccess with rewrite conditions, and rules for your urls.
    Basically your end result would be a url like: example.com/making-money-online/ but with mod rewrite, you could pass the parameters to the script and it would be like example.com/index.php?page=making-money-online
    Here is a guide that looks like it covers most of the basics http://www.branded3.com/blogs/htaccess-mod_rewrite-ultimate-guide/
    The mod_rewrite guide I linked on apache is a good reference, I think the link is down temporarily.

    Also, with dynamic sites, if you are rewriting like above etc, you will want to create a sitemap, or some other way of interlinking to those pages so that they get crawled/indexed.
     
  8. Diplomat

    Diplomat Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 25, 2011
    Messages:
    872
    Likes Received:
    410
    Occupation:
    CEO
    You guys are not making sense really..

    Wordpress is built with PHP.. so it really doesn't matter what language you are using.
    Just use apache's mod rewrite or same thing with nginx or whatever you are using for your web server.