Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter ger01

    (@ger01)

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    If I use this for my .htaccess and have Default permalink settings selected it all works ok, but if I change the setting to anything other than default, images in my header.php and footer.php still do not display on all pages except for the homepage.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /mywebsite/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /mywebsite/index.php [L]
    </IfModule>
    
    # END WordPress

    If I use the code above, everything works as it should when I have default selected, however once I select anything other than default I get a 500 Internal Server Error!!

    ??

    Thread Starter ger01

    (@ger01)

    link to site please, and where did you place the htaccess file?

    Can I PM you the link as the site is still under development.

    This is where I currently have .htaccess
    httpdocs > mywebsite >
    .protect
    wp-admin
    wp-content
    wp-includes
    .htaccess

    I have another WP website in httpdocs as well, if that makes any difference.

    Are you on a windows server?

    No I’m on a Linux server

    Forum: Fixing WordPress
    In reply to: Images
    Thread Starter ger01

    (@ger01)

    WordPress address and Site address are the same – https://www.example.com

    Forum: Fixing WordPress
    In reply to: Images
    Thread Starter ger01

    (@ger01)

    Changing the path in Settings > Media doesn’t make any difference, I still get the same error

    Forum: Fixing WordPress
    In reply to: Images
    Thread Starter ger01

    (@ger01)

    I have not imported a local database, no content is coming from an imported local database. If I create a new page and try to add a picture by uploading it I can’t, I get this error:

    “image3.png” has failed to upload due to an error
    Unable to create directory /usr/local/pem/vhosts/117074/webspace/httpdocswebsite/wp-content/uploads/2010/12. Is its parent directory writable by the server?

    The error is for a local path, but the site is a live site. How can I change this path to allow me to upload images!

    Thread Starter ger01

    (@ger01)

    Some more searching lead me to multiple content blocks, works nicely!

    Thread Starter ger01

    (@ger01)

    Thanks for the help!

Viewing 7 replies - 1 through 7 (of 7 total)