Title: Davood Denavi's Replies - page 29 | WordPress.org

---

# Davood Denavi

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 421 through 435 (of 2,815 total)

[←](https://wordpress.org/support/users/binarywc/replies/page/28/?output_format=md)
[1](https://wordpress.org/support/users/binarywc/replies/?output_format=md) [2](https://wordpress.org/support/users/binarywc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/binarywc/replies/page/3/?output_format=md)…
[28](https://wordpress.org/support/users/binarywc/replies/page/28/?output_format=md)
29 [30](https://wordpress.org/support/users/binarywc/replies/page/30/?output_format=md)…
[186](https://wordpress.org/support/users/binarywc/replies/page/186/?output_format=md)
[187](https://wordpress.org/support/users/binarywc/replies/page/187/?output_format=md)
[188](https://wordpress.org/support/users/binarywc/replies/page/188/?output_format=md)
[→](https://wordpress.org/support/users/binarywc/replies/page/30/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WP Media Modal Caption – making a field required](https://wordpress.org/support/topic/wp-media-modal-caption-making-a-field-required/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years ago](https://wordpress.org/support/topic/wp-media-modal-caption-making-a-field-required/#post-13184462)
 * Without a link to the site in question or screenshots of what you are talking
   about it is going to be nearly impossible for anyone to help you.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Website fully working – contact form in google does not work](https://wordpress.org/support/topic/website-fully-working-contact-form-in-google-does-not-work/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years ago](https://wordpress.org/support/topic/website-fully-working-contact-form-in-google-does-not-work/#post-13184445)
 * The www is not actually required any more and was never required in email addresses.
 * If you are asking why the contact form which is added using Contact Form 7 is
   not working it is likely because you do not have smtp mail configured. Most servers
   do not support contact forms. You will need to configure a plugin like WPSMTP
   [https://wordpress.org/plugins/wp-smtp/](https://wordpress.org/plugins/wp-smtp/)
   or Easy WP SMTP [https://wordpress.org/plugins/easy-wp-smtp/](https://wordpress.org/plugins/easy-wp-smtp/)
   in order for the form added to your contact page by CF7 to work.
 * Hope this helps.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blogger Importer Extended] Redirects not working in latest version](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/)
 *  Thread Starter [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years ago](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/#post-13170150)
 * [@pipdig](https://wordpress.org/support/users/pipdig/) I have not spoken to any
   of the users who I was helping again. It is quite hard for me to believe you 
   can not duplicate it when I have helped three users to fix the problem on three
   different hosting environments. In each case, I have told them to feel free to
   contact me directly if they run updates and it breaks again.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Master page to update all pages?](https://wordpress.org/support/topic/master-page-to-update-all-pages/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/master-page-to-update-all-pages/#post-13151165)
 * Ah, understood. Happy to help anytime. Feel free to ask any questions that come
   up.
 * Happy Blogging!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blogger Importer Extended] Redirects not working in latest version](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/)
 *  Thread Starter [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/#post-13151081)
 * [@pipdig](https://wordpress.org/support/users/pipdig/) As I said a few days ago,
   I do not have access to the site or server I worked with the original user who
   had the issue over a screen share. As I have suggested earlier I would suggest
   you do some thorough testing. I know of two other people who received the same
   error and asked me to make the update for them because they were not comfortable
   editing code.
 * Also, I am not a paying customer neither are any of the three users that I am
   aware of who had the issue.
 * I am sorry but there is no further information I can provide about any of the
   three users I am aware of that had this issue and were able to fix it using my
   fix from my original post.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Master page to update all pages?](https://wordpress.org/support/topic/master-page-to-update-all-pages/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/master-page-to-update-all-pages/#post-13147712)
 * For updating the nav bar you can use the Menus under
    Appearance → Menus.
 * If you are talking about adding other content to the header this is a theme related
   question and we would need to know what theme you are using to correctly guide
   you to how to do what you are trying to do.
 * Hope this helps.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add “Recent Posts” page](https://wordpress.org/support/topic/add-recent-posts-page-2/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/add-recent-posts-page-2/#post-13147694)
 * Okay, I’ve taken a look.
 * Are you saying you want ” ГЛАВНАЯ ” to be the title of your site as well as the
   title of that section?
 * Due to english not being you first language I think this is where my disconnect
   has been.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add “Recent Posts” page](https://wordpress.org/support/topic/add-recent-posts-page-2/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/add-recent-posts-page-2/#post-13140032)
 * I just looked on my phone and I think this is something to do with your theme
   or a plugin you are using. I will have to take a closer look sometime in the 
   next couple days when I am at my computer. I will post again if I have more info
   after doing that.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add “Recent Posts” page](https://wordpress.org/support/topic/add-recent-posts-page-2/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/add-recent-posts-page-2/#post-13137489)
 * > If I choose “static page”, I can add that “newsline” – as you mentioned – by
   > adding a page and making it a “news page”. But thus I’ll have to deal with 
   > the “text space” and the page title, that can’t be hidden.
 * This depends on your theme some themes allow you to hide the page title in the
   settings. I think the problems you are having are theme related issues not WP
   related issues but without a link to your site I can not really help you much
   further, neither can anyone else. Are you able to provide a link to the page 
   you want to use as your homepage? This will help me provide you with better support
   or at least get you directed to the correct place for appropriate support.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [long photo load time](https://wordpress.org/support/topic/long-photo-load-time/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/long-photo-load-time/#post-13133711)
 * The photos were loading for me when I looked yesterday. Were they loading slow?
   I am not sure I did not really pay attention to speed. They were definitely loading
   though and the site is generally loading pretty quick right now too, I am currently
   on a very bad wifi network and it loaded in less than a second for me. So, I 
   think you are good to go!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blogger Importer Extended] Redirects not working in latest version](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/)
 *  Thread Starter [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/#post-13131402)
 * Maybe you have not encountered any issues with this before because there are 
   not many people using the feature. I promise you the error exists. The two errors
   that referenced line 170 actually do not matter as they were warnings and would
   have been ignored if the sql query was not cutting off the leading two.
 * I have been working with wordpress for over ten years. I would suggest you do
   some thorough testing of your code because the SQL query is not working.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blogger Importer Extended] Redirects not working in latest version](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/)
 *  Thread Starter [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/#post-13130707)
 * I’ll also add that the problem could actually be that you need to use $path instead
   of $path_without_slash on lines 162 and/or 170, but I did not have a chance to
   test this I thought of it later.
 *     ```
       $path = parse_url($url, PHP_URL_PATH);
       $path_without_slash = substr($path, 1);
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Blogger Importer Extended] Redirects not working in latest version](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/)
 *  Thread Starter [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/redirects-not-working-in-latest-version/#post-13130699)
 * As I described we were getting errors saying that there was a problem with line
   170….
    For some reason the SQL is not pulling the full permalink and the first
   two is being excluded.
 * Unfortunately, I can not get the errors for at least a few days since it is not
   my site and I was helping the person who’s site it is over a zoom conference 
   so I do not have access. I am not sure what version of PHP the server was on 
   either. I do know it was hosted on BlueHost so I’d imagine 7.3 since to my knowledge
   they are good about keeping their php versions recent and secure. I can get you
   this info next time I work with the person but it may not be a until next week.
 * I can tell you that the leading 2 was being cut off of the results in the SQL
   query you run.
 * My advice would be to test it in multiple environments and look closely at the
   code with the redirect option enabled.
    -  This reply was modified 6 years, 1 month ago by [Davood Denavi](https://wordpress.org/support/users/binarywc/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [long photo load time](https://wordpress.org/support/topic/long-photo-load-time/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/long-photo-load-time/#post-13128908)
 * A good start would be: [https://my.bluehost.com/hosting/help/cloudflare](https://my.bluehost.com/hosting/help/cloudflare)
   
   This article may also help even though it is not bluehost specific: [https://www.shoutmeloud.com/cloudflare-cdn-features-setup-guide.html](https://www.shoutmeloud.com/cloudflare-cdn-features-setup-guide.html)
 * Be sure you are not using any WP caching plugins because paired with Cloudflare
   because that could also be causing some of your headaches.
 * Hope this provides you more assistance in getting your site working correctly.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Editing Login Details Message](https://wordpress.org/support/topic/editing-login-details-message/)
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/editing-login-details-message/#post-13128633)
 * If you are looking to edit the content take a look at this plugin: [https://wordpress.org/plugins/bnfw/](https://wordpress.org/plugins/bnfw/)
 * If you are looking to edit the from name and or email address you will need to
   create a child theme and add some or all of the following code to your functions.
   php in the child theme.
 * Note: Remember to change the YOUR NAME HERE and YOUR EMAIL ADDRESS HERE as appropriate
   in the below code.
 *     ```
       function wpb_sender_email($from) {
       		// Get the site domain and get rid of www.
       		// see wp_mail() in pluggable.php
       		$sitename = strtolower($_SERVER['SERVER_NAME']);
       		if (substr($sitename, 0, 4) == 'www.') {
       			$sitename = substr($sitename, 4);
       		}
   
       		if ($from === 'wordpress@' . $sitename) {
       			$from = 'YOUR EMAIL ADDRESS HERE';
       		}
   
       		return $from;
       }
   
       // Function to change sender name
       function wpb_sender_name($from_name) {
       		if ($from_name === 'WordPress') {
       			$from_name = 'YOUR NAME HERE';
       		}
   
       		return $from_name;
       }
   
       // Hooking up our functions to WordPress filters 
       add_filter( 'wp_mail_from', 'wpb_sender_email' );
       add_filter( 'wp_mail_from_name', 'wpb_sender_name' );
       ```
   
 * More info on child themes:
    [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
 * Hope this helps.

Viewing 15 replies - 421 through 435 (of 2,815 total)

[←](https://wordpress.org/support/users/binarywc/replies/page/28/?output_format=md)
[1](https://wordpress.org/support/users/binarywc/replies/?output_format=md) [2](https://wordpress.org/support/users/binarywc/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/binarywc/replies/page/3/?output_format=md)…
[28](https://wordpress.org/support/users/binarywc/replies/page/28/?output_format=md)
29 [30](https://wordpress.org/support/users/binarywc/replies/page/30/?output_format=md)…
[186](https://wordpress.org/support/users/binarywc/replies/page/186/?output_format=md)
[187](https://wordpress.org/support/users/binarywc/replies/page/187/?output_format=md)
[188](https://wordpress.org/support/users/binarywc/replies/page/188/?output_format=md)
[→](https://wordpress.org/support/users/binarywc/replies/page/30/?output_format=md)