How to Setup GraphQL API on WordPress - Headless WP using Next.js [Part 6]

Поделиться
HTML-код
  • Опубликовано: 15 янв 2023
  • This video shows you how to install WordPress on a VPS server, and then enable GraphQL API, so that it can be used with a Next.js frontend.
    Repo: github.com/iabhinavr/nextjs-blog
    Website: www.coralnodes.com
    ---------------------------------------
    Server providers:
    Linode: www.coralnodes.com/go/linode/
    DigitalOcean: www.coralnodes.com/go/digital...
    -------------------------------------------------------------
    Disclaimer:
    This video is based on my personal experiences and knowledge. There is no guarantee that the information shared is 100% accurate.
    Disclosure:
    This video and its description may contain affiliate links, which can earn us commission if someone purchases products using those links.
  • НаукаНаука

Комментарии • 12

  • @Grolliiitjk
    @Grolliiitjk 5 месяцев назад

    how fetch embed video from graphiQL wordpress plugin? Not possble?

  • @saadwaheedabbasi1066
    @saadwaheedabbasi1066 Год назад +1

    Retrieving (if necessary) and preparing backup files...
    The backup archive files have been processed, but with some warnings. If all is well, then now press Restore again to proceed. Otherwise, cancel and correct any problems first.
    Warnings:
    UpdraftPlus was unable to find the table prefix when scanning the database backup.
    UpdraftPlus was unable to find any tables when scanning the database backup; it maybe corrupt.
    File (backup_2023-01-10-1013_WordPress_Test_7133d24506c7-db.zip) was found, but has a different size (265316) from what was expected (265345) - it may be corrupt.

    • @madhunarasimha9508
      @madhunarasimha9508 Месяц назад

      I'm also getting the same warnings, even i'm unable backup/get the posts from the zip files, did you overcame the warnings and successfully retrieved the posts, please help me.

  • @mastervikram2030
    @mastervikram2030 4 месяца назад

    content starts from 8:30
    thank me later

  • @ankit_aniket
    @ankit_aniket 5 месяцев назад

    why I’m facing error:
    The requested URL was not found on this server.
    Apache/2.4.57 (Ubuntu) Server at 165.232.189.218 Port 80

  • @YuriyChamkoriyski
    @YuriyChamkoriyski Год назад +2

    What is the password??????????

    • @CodingReflections
      @CodingReflections  Год назад +1

      username: nextjs_user, password: password
      It's set in the db backup file, you might want to edit that to set a new one.

    • @borisbarzotto5785
      @borisbarzotto5785 Год назад

      @@CodingReflections where is the line in db backup file that have the login data?

  • @borisbarzotto5785
    @borisbarzotto5785 Год назад

    hi, my login wont work anymore, whats the new login user and password?, already test "nextjs_user" and password:password

    • @CodingReflections
      @CodingReflections  Год назад

      If you unzip the db.gz file, you can find the insert statemnt on line 277. The password will be a hash. You can replace that. To generate the hash, search "wordpress password hash generator" to generate the hash for your password string.
      By the way, I have again updated the github file with the hash value of the string "password". So I hope this time "nextjs_user" and "password" should work.
      The hash for "password" is like this:
      $P$BH26MCYc8nKhaKSxeRUqfmsks8KiF9/
      (it's 34 characters long)
      Otherwise if you want to change the password of the existing site, connect to the db with phpmyadmin or dbeaver, then go to wp_users table, and paste the hash value there.
      I hope that will work.

    • @CodingReflections
      @CodingReflections  Год назад

      Also, be careful when copying the hash value. Sometimes a trailing space or newline can result in wrong password...

    • @borisbarzotto5785
      @borisbarzotto5785 Год назад

      @@CodingReflections Thanks for fast reply! already done!