base url remove

Discussion in 'Tutorials' started by dorcash, Aug 13, 2017.

  1. dorcash
    • Licensed

    dorcash New Member

    hi
    can I remove <base href="{$list_url}/" /> ?
  2. cajkan
    • Licensed

    cajkan Active Member

    Hello @dorcash it's recommended to keep that line :)

    Basically it shows search engines whats your main URL
  3. Mark
    • Staff

    Mark Administrator Staff Member

    That line helps with relative paths and URL rewrites, perhaps if you can provide details about the issue you are having with it I can provide some better advice.
  4. dorcash
    • Licensed

    dorcash New Member

    Hello
    if i put

    <head><basehref="http://www.domain.com"/><metaproperty="og:type"content="....."/><metaproperty="og:title"content="Title"/><metaproperty="og:description"content="description"/></head>
    in the Structured Testing Tool the follow error message is shown:
    Unspecified Type
    if i remove the line <base href="http://www.domain.com" />it is fine.
    Last edited: Aug 19, 2017 at 8:06 AM
  5. cajkan
    • Licensed

    cajkan Active Member

    Hello @dorcash your meta property is invalid, make sure you copy them correctly from facebook heres example

    <meta property="og:title" content="YOUR TITLE"/>
    vs
    <metaproperty="og:title"content="Title"/>
  6. dorcash
    • Licensed

    dorcash New Member

  7. cajkan
    • Licensed

    cajkan Active Member

  8. dorcash
    • Licensed

    dorcash New Member

    Hello
    I use this tool
    with base href tag, I see "Unspecified Type" error
    plz read the following issue:
    https://productforums.google.com/forum/#!msg/webmasters/tOewAWTfMDM/l8ZYnmk-BQAJ
    This is a common isue about structured data and base href tag.
    -------------
    plz look at the following report:
    https://search.google.com/structured-data/testing-tool#url=https://www.iramit.net/
    now plz add the following code to left box
    <base href="https://www.iramit.net/" />
    Now press validate button again

    Unspecified Type!!

Share This Page