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

Поділитися
Вставка
  • Опубліковано 19 жов 2024
  • 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/iab...
    Website: www.coralnodes...
    ---------------------------------------
    Server providers:
    Linode: www.coralnodes...
    DigitalOcean: www.coralnodes...
    -------------------------------------------------------------
    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

  • @saadwaheedabbasi1066
    @saadwaheedabbasi1066 Рік тому +2

    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 5 місяців тому

      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.

  • @Grolliiitjk
    @Grolliiitjk 10 місяців тому

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

  • @mastervikram2030
    @mastervikram2030 9 місяців тому

    content starts from 8:30
    thank me later

  • @ankit_aniket
    @ankit_aniket 9 місяців тому

    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  Рік тому +1

      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!