Ajuda

WordPress Gerido Ajuda

C3 Hosting Support : Shared - Managed WordPress - Upload Path

This article is intended to explain the default upload path for Managed WordPress. Assuming the upload path has not been manually updated you should be able to use this guide to ensure the correct value is in place.

Symptoms

By default our Managed WordPress plans use the relative path 'wp-content/uploads' as the upload path. This is considered a relative path as you will notice I have not defined any account specific pathing. It is possible that you could encounter an account that is using absolute pathing to define the upload path - like cPanel's Installatron does - such as /home/USERNAME/public_html/wp-content/uploads

The main thing to remember is when an automatic migration is done, there is NO CHANGE made to the upload path. This is done on purpose as there is no way for us to know if a customer is redefining their upload area, and if we forced a change we would be breaking any site using this method.

Solutions

Due to there being no good way to automate detecting the 'proper' upload path for the migration script to use, the only solution would be to manually correct any incorrect upload path values. For instance, if your customer is migrating from a cPanel account there is a good chance the upload path will need to be corrected post-migration.

Steps

The upload path can be updated within the database for the account. The value can be found in the options table, and is usually found on the 2nd page, although that can change depending on the content held in the database.

  1. Log in to phpMyAdmin via ToolZilla:

    (click to enlarge)
  2. Once in phpMyAdmin use the following steps:
    A: Click the + to expand the tables of the database
    B: Click the square 'Browse' button to the left of the options table
    C: Click the pencil to edit the upload_path field to wp-content/uploads

    (click to enlarge)
  3. You're done - continue being awesome!

Este Artigo Foi Útil?
Obrigado pelos seus comentários. Para falar com um representante do serviço de apoio ao cliente, utilize o número de telefone da assistência ou a opção de conversação acima.
Ficamos contentes por o termos ajudado! Podemos fazer mais alguma coisa por si?
Pedimos desculpas. Indique-nos o que era confuso ou o motivo pelo qual a solução não resolveu o seu problema.