[pmwiki-users]SEO: Avoiding Headings in the SideBar

H. Fox haganfox at gmail.com
Wed Aug 17 15:06:04 CDT 2005


On 8/14/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> On Sun, Aug 14, 2005 at 08:48:52AM -0700, H. Fox wrote:
> > The following line gets inserted into
> > the <!--PageTitleFmt--> area.
> >
> >    <div style='display:none;'><h1>\$Titlespaced</h1></div>
> >
> > It can be disabled in the skin.php file.
> 
> I've been thinking that the <div class="pagetitle"> that exists
> now in PmWiki's skin ought to just change to <h1 class="pagetitle">.
> Opinions?

For SEO, I don't think it would help all that much because by default
TitlesAreWikiWords and WikiWords don't make good keywords.

How about this?  In the skin, change

<!--/PageLeftFmt-->
      <td id='wikibody' valign='top'>
        <div id='wikicmds'><!--wiki:$Group.PageActions
$SiteGroup.PageActions--></div>
<!--PageTitleFmt-->

to

<!--/PageLeftFmt-->
      <td id='wikibody' valign='top'>
        <div id='wikicmds'><!--wiki:$Group.PageActions
$SiteGroup.PageActions--></div>
        <h1 style='display:none;'>$TitleSpaced</h1>
<!--PageTitleFmt-->

That way some keywords would get indexed and the appearance would not
be affected.  Not a perfect solution, but perhaps Good Enough.

Hagan




More information about the pmwiki-users mailing list