SEO

  • great Roman, i was waiting for you ;)


    but as far as i can see nothing changed after activating the extension, looking at the source code gives me the same lines as before


    cleared cache and reloaded, its the same


    edit: let me guess, because of my hoster ? same with the other extensions that dont work, right ?

  • First of all: This extension does not have any special requirements.


    Let's have a look at the settings:




    Let's see what we got here:


    • Add Meta Description: This allows you to add a meta description to your website - just like spqr/metadesc does. But as spqr/seo is going to be a large extension (wait for the next updates ;) ) I decided to include spqr/metadesc here - you are still able to use spqr/metadesc, but the main development will be done for spqr/seo
      • Use Open Graph Description: This means that the OG description (that's the description you can insert on every "meta"-page in your admin-backend) is used as source for the meta description
    • Overwrite title: Enable this for more features.
      • Use Open Graph Title: This is the title you can define on every "meta"-page in your admin-backend. If you check this box, the content of this field is always added to the title
        • Position: Choose a position (1-X) for this field
      • Use Sitename: If you enable this box, the title of the site itself is being added to the title
        • Position: Choose a position (1-X) for this field
      • Use Pagename: If you enable this box, the title of the node is being added to the title
        • Position: Choose a position (1-X) for this field
      • Separator: Divides the elements (e.g. Open Graph Title & Pagename) with a specific character.




    Just to make sure that everybody understands:


    Sitename



    In this case: spqr.wtf


    Pagename



    In this case: Home


    Open Graph Title



    In this case: Creator of Pagekit CMS extensions



    Description


    In this case: Information about my Pagekit-extensions




    So if your title doesn't change:


    1. Make sure the extension is installed and enabled
    2. Make sure the "Overwrite Title" checkbox is enabled
    3. Make sure you added something to add to the title (e.g. "Use Open Graph Title" & "Use Pagename")
    4. Make sure the things you added to the title (e.g. Open Graph Title or the pagename) are not empty.
  • big thanks for explaining

    If i understand you right, so far its mot possible to just delete/disable the OG Tags like site_name, title, url and description ?


    spqr/metadesc isnt needed anymore if using SEO ? so i will try this first and see what happens

  • Don't delete anything right now. You need to understand what the extension does: It simply takes the "sources" (og:title, page-name, site-name) and puts them together in the way you would like to have it (see "Position"-Fields).


    So you could do the following:


    1. Give your website a cool name (Site > Settings)
    2. Go to the "Sites"-menu and give your pages the name you'd like to (this name is displayed in the menu)
    3. Go to the "Meta"-tab and enter a title (= og:title)


    Examples


    First example


    1. Sitename: My Cool Website
    2. Page-Name: Home (this is the first site I added to my new Pagekit site)
    3. Meta title: Beer for free



    If you now enter the spqr/seo-settings you could do the following:


    1. Overwrite title: Yes
    2. Use Open Graph: Yes
      1. Position: 2
    3. Use site name: Yes
      1. Position: 1
    4. Use page name: No
      1. Position: -
    5. Separator: -


    The result for the "Home" page would be:


    My Cool Website - Beer for free



    Second example


    1. Sitename: My Cool Website
    2. Page-Name: Home (this is the first site I added to my new Pagekit site)
    3. Meta title: Beer for free



    If you now enter the spqr/seo-settings you could do the following:


    1. Overwrite title: Yes
    2. Use Open Graph: Yes
      1. Position: 2
    3. Use site name: Yes
      1. Position: 1
    4. Use page name: Yes
      1. Position: 3
    5. Separator: -


    The result for the "Home" page would be:


    My Cool Website - Beer for free - Home


    Third example


    1. Sitename: My Cool Website
    2. Page-Name: Home (this is the first site I added to my new Pagekit site)
    3. Meta title: Beer for free



    If you now enter the spqr/seo-settings you could do the following:


    1. Overwrite title: Yes
    2. Use Open Graph: No
      1. Position: -
    3. Use site name: Yes
      1. Position: 1
    4. Use page name: Yes
      1. Position: 3
    5. Separator: -


    The result for the "Home" page would be:


    My Cool Website - Home



  • I think I can release an update today or on Monday, which adds the path of an element.


    If you got a nested menu like that:


    • Home
    • Services
      • Free
        • Webdesign



    You can add this to your title. Example: If the user visits "Webdesign", the title would be "Services | Free | Webdesign".

  • Today I released version 1.0.2, which comes with some minor changes:


    Code
    1. ## 1.0.2
    2. - FIX: Fixes a bug that displayed title options, even if title overwriting is not enabled
    3. - ADD: Added French language (thanks to our community / @RoyalC)


    Thanks to Royalc for the French translation! He translated all (!) my extensions within a few days. Thanks for that!