SEO - Search Engine Optimization

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Re: SEO - Search Engine Optimization

Postby streeff » Thu Sep 22, 2011 6:43 pm

Am I correct in thinking that you have to have a <title> tag in your template to have the extension replace that title (if you have marked Use DC tags > yes
?
Evert Albers, Streeff - web // branding // information design - Amersfoort & Amsterdam, NL
Site: http://www.streeff.nl
User avatar
streeff
 
Posts: 146
Joined: Sat Jul 25, 2009 9:28 pm
Location: Amersfoort, NL

Re: SEO - Search Engine Optimization

Postby hansfn » Fri Sep 23, 2011 12:09 pm

Yes. (The title tag is required by HTML - you shouldn't have a page without it.)
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: SEO - Search Engine Optimization

Postby razz » Sun Feb 12, 2012 12:38 pm

Is there a chance to put the "searched keyword" or "tag" in <title> </title> ?

for example, to have the title of your post in <title> </title> you can simply use [[title strip=1]] but is there a way to do the same with "searched keyword" or "tag" ?
I know both keywords and tags are using the same template (searchpage.html) so it will be difficult to separate these i'm afraid..
razz
 
Posts: 32
Joined: Thu Jun 30, 2011 9:28 pm

Re: SEO - Search Engine Optimization

Postby hansfn » Sun Feb 12, 2012 8:25 pm

It's not difficult to separate them apart:

Code: Select all
[[ if $modifier.pagetype == "tag" ]]
This is a tag page.
[[ /fi ]]
[[ if $modifier.pagetype == "search" ]]
This is a search page.
[[ /fi ]]

And [[ $modifier.uri ]] will insert the search term or tag ...
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: SEO - Search Engine Optimization

Postby razz » Sun Feb 12, 2012 10:14 pm

Hi Hans!..

It seems that [[ $modifier.uri ]] only does the whole job.

Thank you very much.
razz
 
Posts: 32
Joined: Thu Jun 30, 2011 9:28 pm

Re: SEO - Search Engine Optimization

Postby Gerard113 » Sun Feb 26, 2012 5:12 pm

HI,

I have installed the latest version of Pivotxx Rev (4109) edit 4106 and enabled the SEO extention and eddited the admin part.

But there is nothing in the headers of my website.

Debog;log gives the following:
Code: Select all
Warning: strpos() expects parameter 1 to be string, array given. (in 'pivotx/objects.php' on line 3462)
Warning: strpos() expects parameter 1 to be string, array given. (in 'pivotx/objects.php' on line 3462)
Warning: strpos() expects parameter 1 to be string, array given. (in 'pivotx/objects.php' on line 3462)


Am i doing something wrong or is there somthing else?

Greetings,

Gerard
http://www.musical-info.nl
Last edited by Gerard113 on Sun Feb 26, 2012 6:58 pm, edited 1 time in total.
Gerard113
 
Posts: 183
Joined: Fri Aug 07, 2009 9:58 pm
Location: nederland

Re: SEO - Search Engine Optimization

Postby hansfn » Sun Feb 26, 2012 6:22 pm

Just one remark: The debug log output you posted is most likely irrelevant.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway

Re: SEO - Search Engine Optimization

Postby Gerard113 » Sun Feb 26, 2012 7:00 pm

Then i wonder the error from the debug log came from?

i expected it from the SEO extention, that's why i posted it.
Gerard113
 
Posts: 183
Joined: Fri Aug 07, 2009 9:58 pm
Location: nederland

Re: SEO - Search Engine Optimization

Postby Harm10 » Sun Feb 26, 2012 8:37 pm

I am using 2.3.2 RC and SEO 0.5 on MySQL. When using description and keyword on an entry I get the strings I added to the entry in the meta tags. When using title the entire page fails (the whole page turns blank); will try to investigate that further. No debug messages (not even those mentioned by Gerard113).
Where did you get the PivotX version from? (perhaps you have the trunk version?).
What is your defined description and keywords length?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: SEO - Search Engine Optimization

Postby Gerard113 » Sun Feb 26, 2012 10:17 pm

Max description field = 250
Maximum keywords length = 500
Default keywords = empty
Extra keywords has been filled with Musical, Recensie, fotoreportage, video reportage, amateur, auditie
Fixed author = empty
Copyright has been filled with © 2006-2012 All rights reserved. Niets van deze website mag worden overgenomen of gebruikt zonder schriftelijke toestemming van Musical-Info.nl.
Use DC tags = no

I have a version from the unstable-devellopment dir.
I had the sameproblem with an earlier version, thats why i upgraded.

This is what i have in my header:
Code: Select all
  <title>
        [[ if $pagetype=="entry" || $pagetype=="page" ]][[title strip=1]] - [[sitename]]
        [[ else ]][[sitename]][[/if]]
       
    </title>
 <meta name="description" content="Musical-Info.nl & .be, Dé musicalsite voor Nederland en Vlaanderen in tekst en beeld!" />
Gerard113
 
Posts: 183
Joined: Fri Aug 07, 2009 9:58 pm
Location: nederland

PreviousNext

Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 2 guests

cron