Forum Replies Created

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

    (@tommiev)

    I think this might be a bug.
    I’ve made a dirty hack that gets around this problem if anyone ever also encounters this problem and it doesn’t get fixed:
    change line 1656 in the file wordpress\wp-includes\functions.php to

    $ref = str_replace( “addondomainwordpressinstallationdirectoryhere/” , “” , attribute_escape( $_SERVER[‘REQUEST_URI’] ));

    and change the text addondomainwordpressinstallationdirectoryhere to the directory name to which you installed wordpress (so for me that was juniorendieleythe since i installed it in tommiev.net/juniorendieleythe)

    Forum: Fixing WordPress
    In reply to: Categories…
    Thread Starter TommieV

    (@tommiev)

    That worked.
    Thanks alot 🙂

    Thread Starter TommieV

    (@tommiev)

    Already attempted that, but still no luck.
    I think I figured out the problem. When WP requests the path of my host, my host sends ‘/~tommievnet/’. My domain points to ‘ip_of_my_host/~tommievnet/’. What WP does is that it adds the path info when it sends me to the admin panel. It gives me the url tommiev.net/~tommievnet/wordpress/wp-admin/.
    But my domain already points to the ‘~tommievnet’ folder of my host. So wordpress is looking for ‘ip_of_my_host/~tommievnet/~tommievnet/wordpress/wp-admin’, which obviously gives me a 404.
    How can I set the url to where it redirects by myself, the full path, so it doesnt add the path info that makes it invalid? Or maybe could I replace the path info?

    Thread Starter TommieV

    (@tommiev)

    oh god im stupid that i didnt saw that stickie, nvm.

    Thread Starter TommieV

    (@tommiev)

    The correct PHP version is being runned was told to me in step 1… It was above the required version.
    I cant look it up now, my webhost is currently down.
    No, Im not upgrading.

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