Title: 's Replies | WordPress.org

---

# philtrash

  [  ](https://wordpress.org/support/users/philtrash/)

 *   [Profile](https://wordpress.org/support/users/philtrash/)
 *   [Topics Started](https://wordpress.org/support/users/philtrash/topics/)
 *   [Replies Created](https://wordpress.org/support/users/philtrash/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/philtrash/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/philtrash/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/philtrash/engagements/)
 *   [Favorites](https://wordpress.org/support/users/philtrash/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get all sub categories of a certain category from certain posts of a category](https://wordpress.org/support/topic/get-all-sub-categories-of-a-certain-category-from-certain-posts-of-a-category/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/get-all-sub-categories-of-a-certain-category-from-certain-posts-of-a-category/#post-1961593)
 * I guess there is indeed no easy solution for this one..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [get all sub categories of a certain category from certain posts of a category](https://wordpress.org/support/topic/get-all-sub-categories-of-a-certain-category-from-certain-posts-of-a-category/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/get-all-sub-categories-of-a-certain-category-from-certain-posts-of-a-category/#post-1961389)
 * That is correct, the only eventual links between Topic and Source are the posts
   themselves.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Object of class WP_User could not be converted to string](https://wordpress.org/support/topic/object-of-class-wp_user-could-not-be-converted-to-string/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/object-of-class-wp_user-could-not-be-converted-to-string/#post-1579092)
 * My bad, I didn’t add the “wp-blog-header.php” file..
 *     ```
       require('./wp-blog-header.php');
   
       require_once( ABSPATH . WPINC . '/registration.php');
       require_once( ABSPATH . WPINC . '/user.php');
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Broken media library and can’t view newly added media](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media/#post-1566680)
 * Indeed, here’s the solution on the multisite forum in case someone has the same
   problem:
    [http://wordpress.org/support/topic/419153](http://wordpress.org/support/topic/419153?replies=9)
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Broken media library and can’t view newly added media](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/#post-1567867)
 * Thanks everyone, just in case someone has the same problems, here’s the ht access
   code that solved it all:
 *     ```
       RewriteEngine On
       RewriteBase /
   
       #begin WordPress
       #uploaded files
       RewriteRule ^(.*/)?files/$ index.php [L]
       RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
       RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
   
       # add a trailing slash to /wp-admin
       RewriteCond %{REQUEST_URI} ^.*/wp-admin$
       RewriteRule ^(.+)$ $1/ [R=301,L]
   
       RewriteCond %{REQUEST_FILENAME} -f [OR]
       RewriteCond %{REQUEST_FILENAME} -d
       RewriteRule . - [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
       RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
       RewriteRule . index.php [L]
   
       <IfModule mod_security.c>
       <Files async-upload.php>
       SecFilterEngine Off
       SecFilterScanPOST Off
       </Files>
       </IfModule>
       #end WordPress
       ```
   
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Broken media library and can’t view newly added media](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/#post-1567813)
 * but how is it possible that the links to the articles still work if there’s no
   htaccess file, is that possible?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Broken media library and can’t view newly added media](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media-1/#post-1567732)
 * That might be the funny thing, I can’t see the .htaccess file in the root folder(
   and it’s not because of my ftp client, because I can see them on other servers).
   I don’t know if it’s because there isn’t one, or if this specific server doesn’t
   allow me to see it?
 * Is there a way to get the code of the htaccess as it should be?
 * Thanks!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Broken media library and can’t view newly added media](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/broken-media-library-and-cant-view-newly-added-media/#post-1566640)
 * Didn’t find any upload path input in the Settings/Media, but found one in Super
   Aadmin/Sites/Myblog/Site options and it’s:
 * Upload Path = wp-content/blogs.dir/1/files
    (1 being the id of this specific 
   blog)
 * A few lines below there’s another field called “Upload url path” which is empty,
   does it need a specific value?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Public blog redirects to login page](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/#post-1564679)
 * Nevermind, I updated the “Dashboard Site” field in the Super Admin > Option panel
   and it all went back to normal… no idea why, but at least it works
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Public blog redirects to login page](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/#post-1564654)
 * Well, I even tried to re-install worpdress using the “re-install automatically”
   functionality, but it didn’t change anything, the login screen still appears 
   no matter what I do..
 * Is there a way to reset the database of this particular blog without crashing
   the other blogs hosted on the same install?
 * **Edit**: Interesting, the login page automatically wants to redirect me to the
   admin panel, when I go on my blog’s url here’s where he redirects me to: wp-login.
   php?redirect_to=http://insights.rbcdexia.com/wp-admin/&reauth=1
    And when I’m
   logged as admin and try to access my blog, I got redirected to the admin panel..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Public blog redirects to login page](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/)
 *  Thread Starter [philtrash](https://wordpress.org/support/users/philtrash/)
 * (@philtrash)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/public-blog-redirects-to-login-page/#post-1564560)
 * I just tried, doesn’t look like it did any difference.
    Thanks for trying to 
   help!

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