The GeneratePress theme is one of the most commonly used themes in WordPress websites. The theme is known for its speed and is referred to as the fastest free theme available in the entire WordPress theme repository, which is also called the fastest free theme in the entire WordPress theme repository.
There is a major error in the URL section of this theme. When clicking on the “Read More” button or word, it adds “#more” url id (example: #more-9, #more-18 etc.) to the post URL. This is a significant issue because it confuses web crawlers, making it difficult to crawl the main URL or the additional URL.
The error is not limited to the GeneratePress free theme; it also occurs in the GeneratePress Premium theme.
You must resolve URL id error as soon as possible. In this article, I have provided a guide on how to remove the #more error from your GeneratePress theme with a single line of custom code.
How to remove the “#more” error in your GeneratePress Theme
Following our guide, you can easily remove the “#more” error from your GeneratePress Theme permanently.
Please follow the below guide to remove the “#more” error from your GeneratePress Theme.
Step 1: Copy the code below to remove the “#more” error from your GeneratePress Theme.
Here, we have added the required code; please click copy to click the board button; it will copy the entire code in one click.
add_filter( 'generate_more_jump', '__return_false' );
Step 2: After copying the above code now, go to your WordPress dashboard and click on Appearance -> Theme File Editor
After copying the above code, now follow the instructions as shown in the image.
Step 3: Now click on “function.php” (Check on below image)
After copying the above code now, enter the “function.php” section; before this, it will ask for a popup. Click on “I Understand”
Step 4: After this code ” load_theme_textdomain( ‘generatepress’ ); ” paste copied code (Check on below image)
Step 5: After all the above steps now, click on the “Update file ” button
Done; now you have successfully removed the “#more” error from your GeneratePress Theme.
Some FAQ’s
How do you remove the “#more” error from your GeneratePress Theme?
We have added a complete guide in our post, so following our guide, you can easily remove this error from your WordPress website.
Is it necessary to remove the “#more” error from your GeneratePress Theme?
It is necessary to remove this error as soon as possible because it is located on your homepage, post archive, category archive, and search result archive. When crawlers crawl all these pages, they will crawl the same post with different URLs. This will have a big impact on your website’s SEO.
What are the cautions I have to remember?
You should always take a backup of your website before entering the theme file editor section, as one wrong step can break your entire website.
Conclusion
We have provided a comprehensive guide on how to remove the #more error from your GeneratePress theme’s permalink URL. Please read the guide carefully and follow all the steps to permanently eliminate this error from your website. Additionally, we would appreciate it if you could share this informative article with your friends to help us. Thank you!
Leave a Comment