Please disregard the 'View article...' shown at the bottom of many posts as this is the result of restoring old forum posts from a backup.
Relocated Page from Dev Environment
I've relocated my site that was running in a local development environment onto a hosting location. I've modified the config.php file to properly connect to the database and everything there seems fine, but I'm running into issues with 404 errors and missing images.
Is there a straightforward way for 'fixing' these path issues? I believe the primary issue is that now everything is 'up' one directory, as where in my local dev environment the site is running in a sub directory.
Is this potentially an .htaccess issue... or something I can/should fix through Exponent?
Thank you.
Is there a straightforward way for 'fixing' these path issues? I believe the primary issue is that now everything is 'up' one directory, as where in my local dev environment the site is running in a sub directory.
Is this potentially an .htaccess issue... or something I can/should fix through Exponent?
Thank you.
Comments
What you're experiencing is that any image embedded within html/wysiwyg text (in the database) contains a hard url/path. This would also apply to many embedded links. However, most of the attached images and links are handled by Exponent dynamically and were automatically updated.
You could probably accomplish it using one of these .htaccess rules, but I'm not an expert on that. Either/all should work, but may be dependent on your web host provider's specific server setup. Place it at the top of the existing .htaccess file.
or
or you could try
When you say that exponent should have updated things automatically, would that have only been if I ran through an upgrade process or something? At this point I pretty much just dropped the exponent system in place on the hosted server and linked up the database.
I'm able to login to the site, but none of the other links work for managing the site... I get 404's.
Thanks.