View Full Version : How do you get the site name and whatever forum you are in to appear in browser bar?
pityocamptes
10-08-2013, 05:25 PM
Can't figure that one out... thx all I have currently is just the forum name, but would like to add the site name at the beginning...
ozzy47
10-08-2013, 09:59 PM
What is it exactly you are seeing in the browser bar, when viewing a forum?
pityocamptes
10-09-2013, 12:37 AM
What is it exactly you are seeing in the browser bar, when viewing a forum?
Forum name only. I would like the [site name] - [forum name]
ozzy47
10-09-2013, 12:48 AM
It should not be like that by default, have you added something to htaccess that may be causing it, or a mod?
pityocamptes
10-09-2013, 01:05 AM
I'm using friendly urls. I can post the htaccess if that helps?
addhandler x-httpd-php-cgi .php4
addhandler x-httpd-php5-cgi .php5
addhandler x-httpd-php5-cgi .php
RewriteEngine on
# This file is only needed if you have set the Forum Component URL in your admincp and you are
# using the mod_rewrite option for friendly urls. If this is the case, copy this file
# to your forum component stub directory.
# If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your forum component directory.
# RewriteBase /forum-stub-directory/
# If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off.
Options -MultiViews
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# Forum
RewriteRule ^threads/.* showthread.php [QSA]
RewriteRule ^forums/.* forumdisplay.php [QSA]
RewriteRule ^members/.* member.php [QSA]
RewriteRule ^blogs/.* blog.php [QSA]
RewriteRule ^entries/.* entry.php [QSA]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
# MVC
RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
# Check MVC result
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*)$ - [NC,L]
RewriteRule ^(.*)$ - [R=404,L]
RewriteCond %{SERVER_PORT} !443
RewriteRule (.*) https://XXXXXXXXXXXXXXXX.com [R=301,L]
pityocamptes
10-11-2013, 07:37 PM
Bump
Lynne
10-11-2013, 08:39 PM
This is on the forumdisplay page? Edit the FORUMDISPLAY template:
<title>{vb:raw foruminfo.title_clean}
add to it like this:
<title>{vb:raw $vboptions.bbtitle} - {vb:raw foruminfo.title_clean}
pityocamptes
10-11-2013, 08:43 PM
Thx. Where is this in the back end (admincp)??
--------------- Added 1381527811 at 1381527811 ---------------
I would actually like it for EVERY page, including CMS, blog, etc...
Lynne
10-11-2013, 08:58 PM
That is a template - Style Manager > edit templates
If you want it for every page, then you need to add that to every page template you want it added to.
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
pityocamptes
10-11-2013, 09:07 PM
Thx
--------------- Added 1381529252 at 1381529252 ---------------
Oh, is this good or bad for SEO...?
Lynne
10-12-2013, 04:29 PM
I have no idea since that has never mattered to me.
pityocamptes
10-12-2013, 04:32 PM
Cool. Thx. I'll try it anyways, Thanks again!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.