[Slackbuilds-users] website request - different titles for pages

dev.akhawe at gmail.com dev.akhawe at gmail.com
Thu Apr 10 14:55:28 EDT 2008


The php page that handles all requests must have some variable ,
package_name say that is outputted in the page

e.g :
System > fakeroot

at top would mean $package_name=fakeroot ;

Just adding that variable as :
<title>
<? echo $package_name; ?>
</title>

should be enough ...

I would be happy to help out if you could show the code,

regards
dev

On 11/04/2008, AnimeNeko Lists <lists at animeneko.net> wrote:
> Erik Hanson wrote:
> > On Apr 10, 2008, at  5:07 PM, Alex wrote:
> >
> >> Is a mod_rewrite change necessary?  I would have thought this would be a
> >> change to the PHP segment.  Depending on how you've templated it.
> >>
> >> Something as simple as a $pageTitle, which would be set and passed to
> >> wherever you output the head of the document would be sufficient.
> >
> > I don't know, I didn't write the code. I assumed that the mod_rewrite code
> > responsible for the final URL might be involved, but that may not be the
> case.
> > Any website code is in fact open, I should think, unless other admins
> object.
> > Clearly, I won't be the one writing the change, however, I can implement
> it.
>
> Keywords in the URL won't help any for SEO.
>
> The original request was for the package name, search words, etc. to
> appear in the document title. I do think that would be a nice thing to
> do, and that will potentially help SEO depending on what the search
> terms are.
>
>   - Michael
> _______________________________________________
> Slackbuilds-users mailing list
> Slackbuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>
> Please read the FAQ - http://slackbuilds.org/faq/
>


More information about the Slackbuilds-users mailing list