Title: ryanmcdonnell's Replies | WordPress.org

---

# ryanmcdonnell

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Does Word Press Support php?](https://wordpress.org/support/topic/does-word-press-support-php/)
 *  [ryanmcdonnell](https://wordpress.org/support/users/ryanmcdonnell/)
 * (@ryanmcdonnell)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/does-word-press-support-php/#post-526644)
 * There are a couple plugins for this.
 * Check out:
    [http://www.hongkiat.com/blog/2007/02/18/execute-php-in-wordpress-post-page-and-widget-sidebar/](http://www.hongkiat.com/blog/2007/02/18/execute-php-in-wordpress-post-page-and-widget-sidebar/)
 * or google “wordpress php exec”
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Site shows up blank, usual solutions don’t work](https://wordpress.org/support/topic/site-shows-up-blank-usual-solutions-dont-work/)
 *  [ryanmcdonnell](https://wordpress.org/support/users/ryanmcdonnell/)
 * (@ryanmcdonnell)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/site-shows-up-blank-usual-solutions-dont-work/#post-526643)
 * Have you tried either of the following?
    - Clear out wp-content/cache (if it exists)
    - Disable all your plugins by temporarily deleting/renaming all the files in
      wp-content/plugins
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [redirect from index.php to domain.com/](https://wordpress.org/support/topic/redirect-from-indexphp-to-domaincom/)
 *  [ryanmcdonnell](https://wordpress.org/support/users/ryanmcdonnell/)
 * (@ryanmcdonnell)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/redirect-from-indexphp-to-domaincom/#post-520045)
 * This makes total sense… it’s technically the same page but you can reach it from
   two unique URLs. That’s not so good for search engine rankings as it looks like
   duplicate content. If you do a 301 redirect from one to the other then you can
   consolidate your ranking and authority for that page.
 * This worked for me:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
       RewriteRule . / [R=301,L]
       </IfModule>
       ```
   
 * But this before the WordPress rules in .htaccess
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [redirect from index.php to domain.com/](https://wordpress.org/support/topic/redirect-from-indexphp-to-domaincom-1/)
 *  [ryanmcdonnell](https://wordpress.org/support/users/ryanmcdonnell/)
 * (@ryanmcdonnell)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/redirect-from-indexphp-to-domaincom-1/#post-520044)
 * This worked for me:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{THE_REQUEST} ^[^/]*/index\.php [NC]
       RewriteRule . / [R=301,L]
       </IfModule>
       ```
   
 * Put this before the WordPress rules in .htaccess

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