More Google-friendly permalinks for images?

Community Forums Forums General Discussion More Google-friendly permalinks for images?

This topic is: not resolved

This topic contains 8 replies, has 3 voices, and was last updated by  RonnyMac 1 year, 2 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #16825

    aaron1728
    Participant
    Post count: 23

    Instead of a big ugly URL like:

    http://www.domain.com/wp-content/uploads/2013/01/photo.jpg

    I’d like search engines to see

    http://www.domain.com/images/photo.jpg

    Yes, there would be a constraint on identically-naming images, but I’d prefer appending a numerical suffix when that happens than to have images buried 4 subdirectories deep.

    Better, I’d like this to be an option so that ALL uploaded media content be in a single directory.

    #16874

    SoZo
    Moderator
    Post count: 1573

    The option to upload to one directory is in the Media settings panel


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #16973

    RonnyMac
    Participant
    Post count: 61

    Google doesn’t really care where the images are located. Putting them all in a single directory is probably an exercise of diminishing returns.

    The option to upload files to a single directory was apparently removed in new installs of WP 3.5.x but can be changed by adding a constant to the config.php file.

    See here.


    #17049

    SoZo
    Moderator
    Post count: 1573

    That’s weird. I still have the option in all my installations.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #17061

    RonnyMac
    Participant
    Post count: 61

    If you had the option prior to upgrading to WP 3.5, the option remains. It’s simply not there in new installs of WP 3.5.x.


    #17068

    SoZo
    Moderator
    Post count: 1573

    I just did a new install and the option still shows up for me


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #17127

    RonnyMac
    Participant
    Post count: 61

    Interesting. Here’s an image for a new install and the option to upload a file to a different directory is missing. Even WordPress said the field was removed in 3.5.x (but available again by using Constants).


    #17129

    SoZo
    Moderator
    Post count: 1573

    I’m not seeing an option to upload to a different directory. There is a check box to separate uploads into year and month directories. Uncheck that and they all go straight into a single directory, uploads.


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #17131

    RonnyMac
    Participant
    Post count: 61

    Yeah, that’s what I mean. WordPress took out the visible option to select a specific, user selectable uploads directory in WP 3.5. Uploads all go to a single directory in wp-content/uploads with the option to sort uploads into folders or not. Selecting a specific directory can still be done but requires the Constant line to be added to config.php.

    WPBeginner has a good tutorial.

    I’m convinced Google doesn’t care much about where the image files are located or how they’re named. There’s great value in using WP’s built-in year/month folder arrangement for images (makes it easier to find images), as opposed to just naming an image and dumping it into a single folder. That’s a recipe for confusion later on.

    On my sites I name each uploaded image to start with the current date of upload. For example,  the image waikiki-beach.jpg, would be named 20130201-waikiki-beach.jpg. That way images sort nicely in a directory of many images and they’re easier to find for troubleshooting.


Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.