Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter peternemser

    (@peternemser)

    Note – image paths that are present do not include the file extensions and ends with a / (slash) thinking that the file is a directory and not an image.

    Thread Starter peternemser

    (@peternemser)

    Here is my .htaccess file

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress
    Thread Starter peternemser

    (@peternemser)

    Can this update be accomplished solely in the .htaccess file. If I could find the extension for the file, i could solve the problem.

    Thread Starter peternemser

    (@peternemser)

    Hey, my bad. There is a little link in the image gallery that was misconfigured. Had to change the gallery to go to the images. DUHHH. However, this brings up a point that i have been running into with numerous plugins, the documentation and verbage on plugins need improvement. A lot of time wasted trying to find a very important switch, which should be called out with emphasis.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    That’s not wrong.

    That’s the URL for the attachment post URL ??

    Pick ‘File URL’ if you want that one.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Path to [gallery] images way messed up.’ is closed to new replies.