Welcome to the Question2Answer Q&A. There's also a
demo
if you just want to try it out.
Login
Login
Register
All Activity
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About
Wiki
Welcome to the Q&A for
Question2Answer
.
If you have questions about the platform,
click here to ask
and please use English.
If you just want to try Q2A, please use the
demo
, which also grants admin access.
Jan 18:
1.5 release
Related questions
How do I add a meta description and meta keywords to the front page, and then each related questions page?
Ability to add content/description for each tag page?
How can I activate the new feature "remove accents from Roman letters in question URLs"?
how to rewrite all url to .html exclude admin page?
A quick note about a new Google SEO feature
SEO of Q2A vs Wordpress
robots.txt for SEO
url seo bug: different urls have the same content
Boosting SEO features of Q2A
SEO impact of changing viewing permissions
All categories
Q2A Core
(2,732)
Plugins
(173)
How delete description in question page - SEO !
+1
vote
When you put your question to Google, you'll se "question": + page description. It's not good for SEO becoiuse title is too long.
Where to delete site info ?
seo
asked
Aug 21, 2010
in
Q2A Core
by
marcin1
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2 Answers
0
votes
I'm not sure I understand, but if you mean that you want to remove the META description tag from the question pages, you can comment out this line:
$qa_content['description']=qa_html(qa_shorten_string_line($question['content'], 150));
You can also make it shorter by lowering the number 150.
answered
Aug 22, 2010
by
gidgreen
hi
no becouse I want to have descr. Copy any question to google. You'll see that there is:
question title + Question2Answer
Second part is useful
So I want delete part of title
Please
log in
or
register
to add a comment.
+1
vote
To remove the site name from page titles, change this line in qa-page.php:
'<TITLE>'.((empty($qa_content['title']) || empty($qa_request)) ? '' : (strip_tags($qa_content['title']).' - ')).qa_html(qa_get_option($qa_db, 'site_title')).'</TITLE>'
...to...
'<TITLE>'.((empty($qa_content['title']) || empty($qa_request)) ? qa_html(qa_get_option($qa_db, 'site_title')) : strip_tags($qa_content['title'])).'</TITLE>'
answered
Aug 22, 2010
by
gidgreen
Show 3 previous comments
Personally I disagree, I much prefer having the site name at the end of the page title - in fact most websites do this anyway. Also, it's not a problem if the page title is a bit long, as long as the important part (i.e. the question title) is in the first 65 characters.
However, it would be better if the title tag (and all HTML content) was part of the theme, so users can edit this easily if needed.
Out of my view I would prefer an optional solution for the sites name in the title.
The sitename in the title is important if the site has a descriptive name.
It as well could be helpful to have this searchterm at the beginning of the title.
A custom basic term in the sitedescription as well could help for sites with a nondescriptive name.
I think for a future release best would be the 2 options:
-sitename
-custom term
and
- beginning
- end
- dont show
I think this felxibility is important, as many questions titles, related to the websites topic, do not include the most important term if the sites name does not include it.
More options like including the category name in the title are thinkable as well...
Dont want to make it complicated, but these questions will come often, once many more people use Q2A..
monk333
Please
log in
or
register
to add a comment.