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

How do i easily change title for my LP ? It's *index.php* file.

Discussion in 'BlackHat Lounge' started by soa0611, Sep 5, 2016.

  1. soa0611

    soa0611 Senior Member

    Joined:
    Apr 20, 2015
    Messages:
    837
    Likes Received:
    164
    Location:
    Europe
    Sorry for propably super newbish question

    But i have a file *index.php* - thats is my landing page, and i would like to change the title (which we see in browser)

    Where can I change it?
     
  2. bluehatface

    bluehatface Regular Member

    Joined:
    Oct 19, 2013
    Messages:
    259
    Likes Received:
    105
    Location:
    Here
    The title of the page can changed by altering the content of the <title> tag. Otherwise, if you mean the URL...

    If your landing page is http://yoursite.com/index.php, then simply going to http://yoursite.com should work, as long as you have no other files called index.html (etc.) in the root folder.

    If not, edit your .htaccess file to re-write the php file to root. Might have to google a combination that will work with your PHP version, and re-write module.
     
    • Thanks Thanks x 1