Skip to content

Grab the title of linking URL

Hey @sven,

Not sure if this is possible, but I'm looking for a way to grab the title of the linking URL like this:

Note: This would mainly be used, for example, for tier 2 in certain ways.

Tier 1 link:
https://example.com/this-is-an-example

Title of page:
<title>This is an Example - Example.com</title>


SER project with this as the project URL:
https://example.com/this-is-an-example

Looking for a way to have GSA grab the title of the page being submitted.

So I can modify a template and make say, a section that says "Resources" or "Additional reading".

Then SER would link to the Tier 1 posts (in this example) using the Title of the page instead of an anchor text.

The result (after creating a custom template for usage) would be:

This is a cool article, and more cool text that is amazing and everything.

Resources:
This is an Example - Example.com

Preferably it would be a macro so multiple URLs could be used at once.

Let me know if this is possible.
Thank you!!

Comments

  • SvenSven www.GSA-Online.de
    use %meta_title%
  • Is it possible to use this macro more than once?

    I.e, listing multiple URLs?

    <a href=“url1”>%meta_title%</a>
    <a href=“url2”>%meta_title%</a>
  • SvenSven www.GSA-Online.de
    no thats impossible. The %meta_title% macro is for the main URL that is chosen to be linked for, not the additional one.
  • What if you have more than 1 URL in the project?

    I’m guessing even if you put 2x meta_title, they’ll both end up being the same title / URL?

    I’ll probably just end up manually pulling the titles then..
  • SvenSven www.GSA-Online.de
    The content of %meta_title% is fetched freshly when submitting. So it is always from the URL you are about to submit. If you use more than one %meta_title%, it's always the same content.
  • SvenSven www.GSA-Online.de
    Also no need to put the titles manually. You can also click on "EDIT" next to the URL input and get the titles from the "Crawl Online" tool.
Sign In or Register to comment.