Skip to:
Content
Pages
Categories
Search
Top
Bottom

Uniq titles for custom pages?


  • jurasiks
    Participant

    @jurasiks

    At my project i use bbpress as simple CMS with comment system. And bbpress works great.

    I create custom pages:

    1) make files [custom_page_name].php with:

    <?php

    require(‘./bb-load.php’);

    bb_repermalink();

    bb_load_template( ‘intro.php’ );

    ?>

    and place it to root folder

    2) making [custom_page_name].php with

    <?php bb_get_header(); ?>

    …some content…

    <?php bb_get_footer(); ?>

    and placing it to template folder

    How to make uniq title (which search bots loves) for custom pages?

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)

  • pagal
    Participant

    @pagal

    paste it before </head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"><br />
    <title>Unique Title Here</title><br />
    <meta name="description" content="Description of your page" /><br />
    <meta name="keywords" content="keyword1, keyword2, keyword 3" /><br />
    <meta name="robots" content="index,follow" /><br />
    <meta name="distribution" content="uk, united kingdom, london, global"><br />
    <meta name="document-classification" content="another,keywords, here"><br />
    <meta name="rating" content="General"><br />
    <meta name="MSSmartTagsPreventParsing" content="TRUE"><br />
    <meta name="Copyright" content="website titlet"><br />
    <meta name="developer" content="http://www.developer-name.com"><br />
    <meta name="Author" content="Author Name"><br />
    <meta http-equiv="pragma" content="no-cache" /><br />

    Looks like you have WordPress installed as well. Will WordPress mail out information?

    If you would like to work around the problem, you can display the password to the user rather than email it, with a plugin:


    jurasiks
    Participant

    @jurasiks

    pagal, i am not a HTML/CSS noob, and i also modified bbPress core with some PHP edits

    your method will not work with custom pages.

    i think, i will solve my problem soon by myself


    pagal
    Participant

    @pagal

    why not bbPages Plugin?


    Ben L.
    Member

    @nightgunner5

    $bb->static_title = 'My Awesome Page'; right before the bb_load_template call.


    pagal
    Participant

    @pagal

    @Ben L., You are always great :-).

    what about page meta description and keywords?


    Ben L.
    Member

    @nightgunner5

    Search engines generally ignore meta description and keywords because they get abused frequently. However, if you really want them, you can use add_action( 'bb_head', 'my_function_that_outputs_stuff' );.


    pagal
    Participant

    @pagal

    @Ben L. I know you can do anything :-)

    Thanks man

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
Skip to toolbar