• Resolved OK3n

    (@ok3n)


    Hey there,

    Website: zanzibarkiteparadise.com/faq

    Issue: all the ./ paths are incorrectly generated. The path for an image is actually zanzibarkiteparadise.com/faq/wp-content/image.jpg
    and I want to to be zanzibarkiteparadise.com/wp-content/image.jpg

    Same error in every page.

    My .htaccess looks like this:

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

    and in my permalink tab in administration section:

    /%postname%/

    Thanks in advance for the guy who gets the error, one free kitesurfing lesson for you mate.

    Best,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Are you using relative URLs? Those can give you trouble in some circumstances.

    Thread Starter OK3n

    (@ok3n)

    after some research on relative URLs, it seems that yes, this might be the problem! Let me correct the paths and get back to you.

    Thanks for your answer s_ha_dum

    Thread Starter OK3n

    (@ok3n)

    After replacing all the urls from ./ to /, it worked.

    Thanks a lot!

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

The topic ‘Incorrect url path’ is closed to new replies.