Info
- 9 posts
- 4 voices
- Started 2 years ago by Loader
- Latest reply from Pagal
- This topic is not resolved
Uniq titles for custom pages?
-
- Posted 2 years ago #
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.
-
- Posted 1 year ago #
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 /> -
- Posted 1 year ago #
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:
-
- Posted 1 year ago #
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
-
- Posted 1 year ago #
why not bbPages Plugin?
-
- Posted 1 year ago #
$bb->static_title = 'My Awesome Page';right before thebb_load_templatecall. -
- Posted 1 year ago #
@Ben L., You are always great :-).
what about page meta description and keywords? -
- Posted 1 year ago #
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' );. -
- Posted 1 year ago #
@Ben L. I know you can do anything :-)
Thanks man -
You must log in to post.