+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: need help for a SEO advantage

  1. #1
    Senior Member
    Join Date
    Jun 2016
    Posts
    185

    need help for a SEO advantage

    Hi all

    I need to show the chosen location next to a category name in title and name.

    Example: Houses in Los Angeles

    I have found this code which worked once in version 4.6.1

    But now in the 4.6.2 it onlye shows the "in" word

    The code is that i have found and tried to use: {if location}in {location}{/if}

    Is there any other code that can show the location of user next to name in titles etc?

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Hello,

    I've checked it on demo 4.6.2 and it works properly, see screenshot
    Screen Shot 2018-04-24 at 11.01.23 AM.jpg

    If you can't solve the problem create a ticket and we'll look into it

  3. #3
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    Quote Originally Posted by Rudi View Post
    Hello,

    I've checked it on demo 4.6.2 and it works properly, see screenshot
    Attachment 2855

    If you can't solve the problem create a ticket and we'll look into it
    This is how mine looks like

    <head>

    <title>Garden & Out in </title>

    In H1 heading it shows fine. Only in title.

    And have created a ticket

  4. #4
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Rudi View Post
    Hello,

    I've checked it on demo 4.6.2 and it works properly, see screenshot
    Attachment 2855

    If you can't solve the problem create a ticket and we'll look into it
    Rudi what does this look like in flynax to get that output ? can we a screen shot of that please?

  5. #5
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Hello Pete,

    If we are talking about the location in 'title' tag there are several steps you should do:
    - go to Categories > Categories > your category > Edit
    - in section 'Title' insert your title like 'Books {if location}in {location}{/if}' > Save
    Screen Shot 2018-04-25 at 9.34.2.jpg

    - go to your site and select in 'Your Location' box some country
    Screen Shot 2018-04-25 at 9.50.07 AM.jpg

    - then go to your category and view page source and there is a title with your location
    Screen Shot 2018-04-25 at 10.08.33 AM.jpg

    the same you can use for meta fields

    for more information about location levels in titles see this thread: http://forum.flynax.com/showthread.p...ull=1#post4385
    Last edited by Rudi; April 25, 2018 at 05:36 AM.

  6. #6
    Hello Rudi,....It only works for 'Books' category as primary or parent category.

  7. #7
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Hello Bahram,

    Yes, parent category title doesn't apply to its sub-categories

    you should insert {location} keyword for each category individually

  8. #8
    Guru
    Join Date
    Jan 2013
    Location
    Australia
    Posts
    2,028
    Quote Originally Posted by Rudi View Post
    Hello Pete,

    If we are talking about the location in 'title' tag there are several steps you should do:
    thanks got it to work, appreciated.

  9. #9
    Senior Member
    Join Date
    Jun 2016
    Posts
    185
    Quote Originally Posted by Rudi View Post
    Hello Pete,

    If we are talking about the location in 'title' tag there are several steps you should do:
    - go to Categories > Categories > your category > Edit
    - in section 'Title' insert your title like 'Books {if location}in {location}{/if}' > Save
    Attachment 2858

    - go to your site and select in 'Your Location' box some country
    Attachment 2859

    - then go to your category and view page source and there is a title with your location
    Attachment 2860

    the same you can use for meta fields

    for more information about location levels in titles see this thread: http://forum.flynax.com/showthread.p...ull=1#post4385
    I have done all that. I have added it in Category heading (h1) and in tile. In category heading (1) it shows the location selected but in title it only shows the word "in".

  10. #10
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,137
    Quote Originally Posted by Fadil Asani View Post
    I have done all that. I have added it in Category heading (h1) and in tile. In category heading (1) it shows the location selected but in title it only shows the word "in".
    it seems that you use {location} for Name field which is not supported

    but it works fine for Heading (H1) and Title

    if you have problems create a ticket
    Last edited by Rudi; April 26, 2018 at 06:02 AM.

+ Reply to Thread