How do I remove the page title from the site title in WordPress?
-
I.e. remove page title "Home" from SEO title. So that the SERP listing is now "Site title text" and not "Home - Site title text".
-
Answer:
I'm assuming you are not much comfortable in editing the theme files. Just open your theme folder and look for a file called header.php Open this file in notepad or notepad++ and look for this syntax wp_title('') If it is there we are good. Install and activate Yoast SEO plugin (FREE) You should be able to see a new menu item on wordpress admin called SEO. Under this click on title. Here you can change the structure of your Wordpress page title without modifying the code. By default it is %%title%% - %%sitename%% Which means if title of the homepage you have created is HOme then it will display Home - Name Of your Site What you are trying to do can be achieved by changing it to whatever you want.
Pritam Sarker at Quora Visit the source
Other answers
Each theme is differently but it is generally set up like this <title><?php bloginfo('name'); ?><?php wp_title(); ?></title> So the theme is setup to display the title of the post or page and the site name. A quick workaround simply is to not put text into the title of the home page. A more elegant way to do that is to ne the post something like 'Welcome.' You can prevent that from displaying the text on the page itself using CSS. Or you can write a function that omits it only for the home page. Lastly, there is probably a plugin that will do that. Good luck.
Robin Sentell
You should check the template "header.php" where usually the page title is written. :-)
Eduardo Segovia
Thanks everyone who answered. I found that the easiest option to avoid having "Home" shown on the landing page but still keep the title & sitename on all other pages, is to go the the page settings of the Home page, then edit the "SEO Title" value, in the WordPress SEO by Yoast setting for that page. That means no editing of .php files and no editing of the page title structure %%title%% - etc. Problem solved.
Anders Sundstedt
I have also started my blog recently. Yoast plugin made all these title and descriptions changes simple for me.
Ravi Gaikwad
Related Q & A:
- How do I remove a site from IIS7 using JavaScript?Best solution by Server Fault
- How do I remove the Profile and Feeds sections from My Page?Best solution by Yahoo! Answers
- How do I remove advertisement from my home page?Best solution by Yahoo! Answers
- How do I change my page back to the new page after I changed it to the classic can?Best solution by Yahoo! Answers
- How do I remove a stock portfolio from my home page?Best solution by ca.answers.yahoo.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.