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

How to find source code of a webpage ??

Discussion in 'Black Hat SEO' started by safaristyle, Apr 27, 2016.

  1. safaristyle

    safaristyle Regular Member

    Joined:
    May 4, 2008
    Messages:
    453
    Likes Received:
    82
    Location:
    Blocked
    I want to know, how to find source code of a webpage which is using php 301 redirect. Because when I am trying to see the source code it is showing the source code of landing page. Is there any way to get source of that page before redirect happens.
     
  2. edwinmichal

    edwinmichal Regular Member

    Joined:
    Jul 11, 2013
    Messages:
    427
    Likes Received:
    37
    Location:
    Searching...
    If you are using chrome.. just click ctrl+U to view the source code.
    or
    view-source:www.website.com
     
  3. RobinB

    RobinB Registered Member

    Joined:
    Mar 5, 2015
    Messages:
    60
    Likes Received:
    5
    Right click on your webpage and simply click on Source code.
     
  4. DarkPixel

    DarkPixel Jr. VIP Jr. VIP

    Joined:
    Oct 4, 2011
    Messages:
    1,348
    Likes Received:
    1,252
    Location:
    ↓↓↓↓
    Home Page:
    Do a HTTP request, with no redirects. Use an online REST client to do it.
     
  5. tb303

    tb303 Power Member

    Joined:
    Dec 18, 2011
    Messages:
    776
    Likes Received:
    450
  6. Ambitious12

    Ambitious12 Elite Member

    Joined:
    Jun 26, 2014
    Messages:
    3,096
    Likes Received:
    609
    Occupation:
    No Occupation
    Location:
    Among the Stars
    Just right click on your webpage and then you will see all the source code in your webpage.
     
  7. safaristyle

    safaristyle Regular Member

    Joined:
    May 4, 2008
    Messages:
    453
    Likes Received:
    82
    Location:
    Blocked
    It's not easy like that....Because the page use php redirect and you go to another webpage.
     
  8. Street Fighter

    Street Fighter Jr. VIP Jr. VIP Premium Member

    Joined:
    Aug 4, 2015
    Messages:
    1,075
    Likes Received:
    228
    Gender:
    Male
    Occupation:
    Link Builder
    Location:
    In Street
    buddy,I think this rule applies to all server side scripts, SSI, and programming code. Therefore, features such as search engines, forums, polls, chat, etc. will not display their code.