WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WordPress current page url is adding to resource's path (2 posts)

  1. Tirumal
    Member
    Posted 2 years ago #

    Hi,

    I've been facing a problem with my client's website once it gone live. I see there is an additional URL appending at the beginning of every resource path.

    For example:
    http://mydomain.com/about/www.mydomain.com/wp-content/uploads/2012/06/about.png

    Where: http://mydomain.com/about is the current page.

    This breaks the site and style sheets, images are not applying. Same is happening to the back-end.

    I added following code to functions.php
    update_option('siteurl','http://');
    update_option('home','http://');

    and, style sheet seems to be applying but image are still showing the additional URL in it.

    Please, help!!

    [ Please do not bump, it's not permitted here. ]

  2. Tirumal
    Member
    Posted 2 years ago #

    Resolved it by changing permission of .htaccess file on the server.

Topic Closed

This topic has been closed to new replies.

About this Topic