Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Administration of my site for SEO purposes*
smurfy
New
How do I add keywords to the title of my index page for SEO purposes, without effecting the administration name of my website. I know nothing about php and the only way that I know how to add keywords to the index page, is to use the Banner Title input box in the admin side. But doing this means that I can not enter the name of my website for the admin side ?
1
Answers
There is no index page as such, but
Look in the default.master.php of the theme you are using it is found in the views folder of the theme, there is a part where it mentions head
add the tags as you would between the < head > tags
you will see this:
< head >< ?php $this->RenderAsset('Head'); ? >
Place the meta after it
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Thanks for you reply, but you don't understand what I mean.
I want to add keywords like this " Hilarious Funny Videos and Funny Pictures" as the title for main page Index, but want to keep the name of my website as the administration name of the website...
Please take a look at this screen shot which shows the title of the main page (index) as Funny Videos - Hilarious Funny Clips & Fun Movies... But I want to keep the name of my website for the administration side.
Yea you are right I don't get that part at all...I'm gonna go with ,you can't , you can add your website to the title along with the title of the page, but it will govern all the application including admin.
Maybe someone else has an idea...
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
Just cutting in here with a solution / question?
In the embed theme default.master.php
There is this
<head> {asset name='Head'} </head>
replacing that with -
<head> {asset name='Head'} <link rel="shortcut icon" href="http://www.example.com/myfavicon.ico" /> </head>
Gives a favicon and you can add in keywords meta or whatever else thereafter.
My question is: the embedded theme has a default
<meta name="description" content="Welcome to my Vanilla 2 Forum."/> <meta name="keywords" content="forum, vanilla"/>
Appearing yet it's not in the code.
Anyone know how to remove this? or Change it?
first you only have to put that the favicon in the design folder of your theme (save it as png name it favicon.png), you don't have to add the markup. I will answer you other question in the other thread.
grep is your friend.
Avoid adding meta tags this way, it is best to do this through theme hooks. It is kind of similar to how some wordpress themes get messy, not great.
grep is your friend.