Title: luk4's Replies | WordPress.org

---

# luk4

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 196 total)

1 [2](https://wordpress.org/support/users/luk4/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/luk4/replies/page/3/?output_format=md) …
[12](https://wordpress.org/support/users/luk4/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/luk4/replies/page/13/?output_format=md)
[14](https://wordpress.org/support/users/luk4/replies/page/14/?output_format=md)
[→](https://wordpress.org/support/users/luk4/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Page Editor Top Bar](https://wordpress.org/support/topic/page-editor-top-bar/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/page-editor-top-bar/#post-17995224)
 * Hi [@lafaverp](https://wordpress.org/support/users/lafaverp/)
 * Due to the differences between **WordPress.com** and the community version of**
   WordPress(.org)** supported here, you should probably ask [WordPress.com Support](https://wordpress.com/support/contact/)
   instead.
 * Further reading: [What’s the difference between WordPress.org and WordPress.com?](https://wordpress.org/documentation/article/difference-between-wordpress-org-and-wordpress-com/)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to delete an unwanted 301 redirect](https://wordpress.org/support/topic/how-to-delete-an-unwanted-301-redirect/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/how-to-delete-an-unwanted-301-redirect/#post-17995190)
 * Hi again [@saracellini88](https://wordpress.org/support/users/saracellini88/)
 * In fact, when you posted on the forum, it wasn’t a category issue anymore. The
   redirections were only happening between regular pages (which indeed have a section
   that lists posts of a specific category).
 * Usually, category pages include something in their URLs to distinguish them from
   regular pages, such as, well, `category`. For example, the category URL of “Food
   Guides Abroad” is currently `https://exploringthefoodscene.com/food-guides-abroad/`,
   but it might be best to have it as `https://exploringthefoodscene.com/category/
   food-guides-abroad/` for instance or something else. This is usually the default
   configuration and it helps to avoid URL conflicts with pages, as you encountered.
   However, it’s not a setting that we can change with a few clicks, so it’s more
   likely either a specific plugin that is doing this, or your theme, or a custom
   code snippet added by a developer, or a special setting of your hosting provider.
   You might want to fix this, but it’s not critical as long as you don’t create
   a page and a category with the same name.
 * Anyway, it looks like your primary issue is now fixed since there are no pages
   with `food-travel-guides-old` or `food-travel-guide` anymore, and the URL [https://exploringthefoodscene.com/food-travel-guides/](https://exploringthefoodscene.com/food-travel-guides/)
   is now working. This is great, congrats! 👍 I can see there is only 1 post though.
   If you want to list more posts on the page, you just have to add them to the “
   Food Guides Abroad” category and they will show up.
 * Is there anything else you need help with? If not, please don’t forget to [mark this topic as resolved](https://wordpress.org/support/forum-user-guide/faq/#how-do-i-mark-my-post-as-solved).
   This helps volunteers find the topics that still need attention. Thank you so
   much!
    -  This reply was modified 1 year, 9 months ago by [luk4](https://wordpress.org/support/users/luk4/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to delete an unwanted 301 redirect](https://wordpress.org/support/topic/how-to-delete-an-unwanted-301-redirect/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/how-to-delete-an-unwanted-301-redirect/#post-17994397)
 * Hi [@saracellini88](https://wordpress.org/support/users/saracellini88/),
 * Thanks for the detailed history of what happened and for the very clear explanations.
   This helps a lot!
 * What’s happening here is that WordPress is smart enough to redirect a wrong URL
   to another existing similar one. Since there is no `https://exploringthefoodscene.
   com/food-travel-guides/` anymore, it is trying to find a similar one and ends
   up at `https://exploringthefoodscene.com/food-travel-guides-old/` automatically.
 * To bring back the `https://exploringthefoodscene.com/food-travel-guides/` URL,
   you just have to choose to which of the two “Food Travel Guides” pages you want
   it to be applied (either the one with the URL, aka **_slug_**, `food-travel-guide`
   or the one with the slug `food-travel-guides-old`). Then go to the [WordPress Pages screen](https://wordpress.org/documentation/article/pages-screen/)(
   the pages list), mouse over the page you want to update the slug for, click on“
   _Quick Edit_“, and update the part in front of “_Slug_” to `food-travel-guides`(
   instead of `food-travel-guide` or `food-travel-guides-old`). Then click the “
   _Update_” button.
 * Now the new slug of the page (URL) will be `https://exploringthefoodscene.com/
   food-travel-guides/`.
 * Don’t hesitate if you have any questions or need further help.
 *   Forum: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
   
   In reply to: [Serbian (Latin)](https://wordpress.org/support/topic/serbian-latin-2/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/serbian-latin-2/#post-17994305)
 * Hi [@markez123](https://wordpress.org/support/users/markez123/),
 * Actually, it seems this is already known since there is a translation team dedicated
   to [Serbian (Latin)](https://make.wordpress.org/polyglots/teams/?locale=sr_RS_latin)
   in addition to [Cyrillic Serbian](https://make.wordpress.org/polyglots/teams/?locale=sr_RS).
   However, it appears that no translation has ever been released indeed. This is
   likely because there are not enough volunteers to complete the translation. Fortunately,
   you can help! 😃
 * I suggest that you visit the page dedicated to Serbian (Latin) translation to
   reach out to the people involved and perhaps make this happen.
 * Have a nice day.
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Проблема с записями на сайте](https://wordpress.org/support/topic/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-%d0%b7%d0%b0%d0%bf%d0%b8%d1%81%d1%8f%d0%bc%d0%b8-%d0%bd%d0%b0-%d1%81%d0%b0%d0%b9%d1%82%d0%b5/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/%d0%bf%d1%80%d0%be%d0%b1%d0%bb%d0%b5%d0%bc%d0%b0-%d1%81-%d0%b7%d0%b0%d0%bf%d0%b8%d1%81%d1%8f%d0%bc%d0%b8-%d0%bd%d0%b0-%d1%81%d0%b0%d0%b9%d1%82%d0%b5/#post-17922600)
 * Hi [@dinnai](https://wordpress.org/support/users/dinnai/)
 * I encourage you to visit the Russian-language support forums here: [https://ru.wordpress.org/support/forums/](https://ru.wordpress.org/support/forums/)
 * Хорошего дня
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [ERROR 429 while editing text content](https://wordpress.org/support/topic/error-429-while-editing-text-content/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/error-429-while-editing-text-content/#post-17817868)
 * Hi [@aloarch](https://wordpress.org/support/users/aloarch/)
 * Have you finally had a chance to sort out your issue? If so, please don’t forget
   to [mark this topic as resolved](https://wordpress.org/support/forum-user-guide/faq/#how-do-i-mark-my-post-as-solved).
   This helps volunteers like me find the topics that still need attention. Thank
   you so much!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Adjusting cover photo size for tablet/mobile](https://wordpress.org/support/topic/adjusting-cover-photo-size-for-tablet-mobile/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/adjusting-cover-photo-size-for-tablet-mobile/#post-17814465)
 * Hi [@junvalentia](https://wordpress.org/support/users/junvalentia/)
 * If you absolutely want to use a [cover block](https://wordpress.org/documentation/article/cover-block/),
   you’ll indeed have to set specific settings and add custom CSS code. In particular,
   you’ll have to [remove the full height property](https://wordpress.org/documentation/article/cover-block/#toggle-full-height)
   from the block (since you cannot force the image to be full-height and full-width
   without distorting it obviously) and [add a custom class to the cover block](https://wordpress.org/documentation/article/cover-block/#advanced),
   such as `pittan-custom-cover`. Then, add the following CSS snippet to ensure 
   the full image is visible:
 *     ```
       .pittan-custom-cover {
         aspect-ratio: 1.92 !important;
       }
       ```
   
 * Please note that the value 1.92 is specific to your current image. If you switch
   to a different image, you’ll need to adjust this value accordingly.
 * However, I would recommend using a [regular image block](https://wordpress.org/documentation/article/image-block/)
   instead of a cover block. This approach won’t require custom CSS and should better
   meet your needs.
    1. Just add a regular image block and select your image from the Media Library.
    2. Then, [set it to full-width](https://wordpress.org/documentation/article/image-block/#aligning-images).
 * If you want to have a full-height effect, you can:
    1. insert the image block into [a group block](https://wordpress.org/documentation/article/group-block/),
    2. [set the background color of the group block](https://wordpress.org/documentation/article/colors-settings-overview/#text-and-background-colors)
       to match the image (almost black),
    3. [arrange the group block horizontally (as a row)](https://wordpress.org/documentation/article/group-block/#alignment),
    4. and finally, set its [minimum height to 100vh](https://wordpress.org/documentation/article/dimension-controls-overview/#minimum-height)(
       100vh is full-height but you can customized the height as you want).
 * Here is an example that you can copy and paste directly into your page:
 *     ```
       <!-- wp:group {"align":"full","style":{"dimensions":{"minHeight":"100vh"},"color":{"background":"#040406"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
       <div class="wp-block-group alignfull has-background" style="background-color:#040406;min-height:100vh"><!-- wp:image {"id":503,"sizeSlug":"full","linkDestination":"none","align":"full"} -->
       <figure class="wp-block-image alignfull size-full"><img src="https://pittanmusic.com/wp-content/uploads/2024/06/crop-0-0-2560-1333-0-big-comp_2-expanded-scaled.jpg" alt="" class="wp-image-503"/></figure>
       <!-- /wp:image --></div>
       <!-- /wp:group -->
       ```
   
 * I hope this helps. Feel free to ask if you have any questions.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error message when showing PDF files](https://wordpress.org/support/topic/error-message-when-showing-pdf-files/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/error-message-when-showing-pdf-files/#post-17814205)
 * Hi [@gordon2740](https://wordpress.org/support/users/gordon2740/)
 * It seems that your PDF files are showing up again on your pages. Well done! Please,
   don’t forget to [mark this topic as resolved](https://wordpress.org/support/forum-user-guide/faq/#how-do-i-mark-my-post-as-solved).
   This helps the volunteers like me find the topics that still need attention. 
   Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Not received admin email](https://wordpress.org/support/topic/not-received-admin-email-2/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/not-received-admin-email-2/#post-17814191)
 * Hi [@mrsunicornlover](https://wordpress.org/support/users/mrsunicornlover/)
 * It appears that your website is back. Well done! Please, don’t forget to [mark this topic as resolved](https://wordpress.org/support/forum-user-guide/faq/#how-do-i-mark-my-post-as-solved).
   This helps the volunteers like me find the topics that still need attention. 
   Thank you!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [ERROR 429 while editing text content](https://wordpress.org/support/topic/error-429-while-editing-text-content/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/error-429-while-editing-text-content/#post-17806657)
 * Hi [@aloarch](https://wordpress.org/support/users/aloarch/)
 * This appears to be an issue with a poorly calibrated WAF (Web Application Firewall).
   It’s most likely a problem at the hosting level, rather than from WordPress itself.
   I’d highly recommend reaching out to your hosting provider first to sort this
   out.
 * Cheers,
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Not received admin email](https://wordpress.org/support/topic/not-received-admin-email-2/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/not-received-admin-email-2/#post-17806430)
 * Hi [@mrsunicornlover](https://wordpress.org/support/users/mrsunicornlover/)
 * I don’t think you’ll receive a magic URL to any email address.
 * The correct way to resolve the _There has been a critical error on this website_
   issue, formerly known as _WordPress White Screen of Death_, is by following these
   steps: [https://developer.wordpress.org/advanced-administration/wordpress/common-errors/#the-white-screen-of-death](https://developer.wordpress.org/advanced-administration/wordpress/common-errors/#the-white-screen-of-death)
 * Since you mentioned that you updated the theme, you’ll need to log in through
   sFTP, or access the file manager in your hosting dashboard. Then, rename the 
   directory of the active theme located in `<your-website-root-directory>/wp-content/
   themes/<your-active-theme-directory-to-rename>`. This will allow you to log back
   into the WordPress backend.
 * Good luck with that!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error message when showing PDF files](https://wordpress.org/support/topic/error-message-when-showing-pdf-files/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/error-message-when-showing-pdf-files/#post-17806366)
 * Hi [@gordon2740](https://wordpress.org/support/users/gordon2740/)
 * What do you call the “WP developer environment” exactly?
 * Otherwise, look for a page with a PDF embedded, edit it and ensure there are 
   no curly quotation marks `” ”` but only vertical quotation marks `" "` around
   the `url` and `title` of the `[pdf-embedder ...]` part. If so, change them and
   update the page. Is the PDF showing up on this page now?
 * Also, are you using the [WordPress Block Editor](https://wordpress.org/documentation/article/wordpress-block-editor/)
   when editing a page?
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to set minimum and maximum length for author name](https://wordpress.org/support/topic/how-to-set-minimum-and-maximum-length-for-author-name/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years ago](https://wordpress.org/support/topic/how-to-set-minimum-and-maximum-length-for-author-name/#post-17774182)
 * Hi [@notpoppy](https://wordpress.org/support/users/notpoppy/)
 * Did you finally get what you wanted? If so, please don’t forget to [mark this topic as resolved](https://wordpress.org/support/forum-user-guide/faq/#how-do-i-mark-my-post-as-solved).
   This helps the volunteers like me find the topics that still need attention. 
   Thank you!
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [How to set minimum and maximum length for author name](https://wordpress.org/support/topic/how-to-set-minimum-and-maximum-length-for-author-name/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/how-to-set-minimum-and-maximum-length-for-author-name/#post-17751433)
 * Hi [@notpoppy](https://wordpress.org/support/users/notpoppy/)
 * My bad, I forgot a closing curly bracket `}` at the end of the function. The 
   correct code is:
 *     ```
       /**
        * Customize Author Field of Comment Form, using WP_HTML_Tag_Processor
        * See: https://wordpress.org/support/topic/how-to-set-minimum-and-maximum-length-for-author-name/
        */
       function wporg_custom_author_comment_field( $field_author ) {
   
       	$tags = new WP_HTML_Tag_Processor( $field_author );
       	if ( $tags->next_tag( 'input' ) ) {
       		$tags->set_attribute( 'minlength', "5" );
       		$tags->set_attribute( 'maxlength', "100" );
       	}
       	return $tags;
       }
       add_filter( 'comment_form_field_author', 'wporg_custom_author_comment_field', 10, 1 );
       ```
   
 * You’ll likely need both frontend and backend checks anyway, as you don’t want
   regular users to see their comments rejected without understanding why, or to
   be able to set names that are too long or too short.
 * So, yes, you should be able to use `pre_comment_approved` to automatically move
   a comment to the trash if the author’s name length doesn’t meet your requirements.
   You can access comment data, including the author’s name, through the `commentdata`
   array (like `$commentdata['comment_author']`), check its length, and if it doesn’t
   meet your criteria, return `trash`. You’ll find everything you need on the reference
   page of the `pre_comment_approved` filter here: [https://developer.wordpress.org/reference/hooks/pre_comment_approved/](https://developer.wordpress.org/reference/hooks/pre_comment_approved/)
    -  This reply was modified 2 years, 1 month ago by [luk4](https://wordpress.org/support/users/luk4/).
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Updating WordPress 6.5.2 Issue](https://wordpress.org/support/topic/updating-wordpress-6-5-2-issue/)
 *  [luk4](https://wordpress.org/support/users/luk4/)
 * (@luk4)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/updating-wordpress-6-5-2-issue/#post-17731691)
 * Yes indeed, [@gappiah](https://wordpress.org/support/users/gappiah/) is right,
   the dark mode is added by your theme, Blockify. I’m not sure why it only appears
   after the WordPress 6.5.2 update though. Anyway, there is a thread (and a solution)
   in the Blockify support forum: [https://wordpress.org/support/topic/turn-off-dark-mode-site-wide/](https://wordpress.org/support/topic/turn-off-dark-mode-site-wide/)

Viewing 15 replies - 1 through 15 (of 196 total)

1 [2](https://wordpress.org/support/users/luk4/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/luk4/replies/page/3/?output_format=md) …
[12](https://wordpress.org/support/users/luk4/replies/page/12/?output_format=md)
[13](https://wordpress.org/support/users/luk4/replies/page/13/?output_format=md)
[14](https://wordpress.org/support/users/luk4/replies/page/14/?output_format=md)
[→](https://wordpress.org/support/users/luk4/replies/page/2/?output_format=md)