Link to home
Start Free TrialLog in
Avatar of Bruce Gust
Bruce GustFlag for United States of America

asked on

Where is this path coming from in Wordpress?

Here's a screenshot of what I'm seeing on my Dashboard when I'm looking at a photo gallery using the "Responsive Photo Gallery Pro" plugin...

User generated image
Every thumbnail, every image is flawed because of the path looking for a folder called "georgia." That was the default folder on the old server. I've since migrated the site to a new server and "georgia" doesn't exist.

But...

The migration has been a total success with every other setting that I've seen thus far and every reference to "georgia" seems to have been eradicated from the database. Still, there's this reference to the "georgia" directory and I don't know where to go to change it.

I'm thinking there's a setting somewhere, but I've run out of ideas.

Any thoughts?
Avatar of Dr. Klahn
Dr. Klahn

Is this a linux host or a Windows host?

Under linux, su and then:

grep -r -i georgia /* | more

Open in new window

(be prepared for an enormous number of matches)

Under Windows, use Windows search and search by file content.
Install the https://wordpress.org/plugins/wp-original-media-path/ plugin + add a comment about the contents of the field Full URL path to files.

This will tell you if the media path has been over ridden.

Note: This field use to be available in older WordPress versions (Settings -> Media) + has been removed in newer versions, so a plugin is required to see this value.
SOLUTION
Avatar of Terry Woods
Terry Woods
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bruce Gust

ASKER

Gentlemen!

I have gone through the database and David, I used your plugin, but the problem still remains.

Is there a setting for "Responsive Gallery Pro" that dictates the path for every image? When I go through the database, I can see the jpgs for every gallery, but there's no appearance of "georgia." I'm thinking, therefore, it's coming from something other than the database.

What do you think?
Can you do a site wide search using your editor?  Maybe a core file in the plugin has Georgia in it? Its possible that it is in a file or your functions.php
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Here's what I did:

Given the fact that the only photos being affected by this problem, I just uploaded those pics to a folder called "georgia."

It's cheating, but it works.

Should I have to move this site again, I'll see if I can't be more intentional about getting rid of "georgia," but for now, we're good to go!
Glad you found a solution!

Hang in there!