
-
AuthorPosts
-
November 18, 2016 at 4:09 am #713801
Hi there,
I’ve found a broken link that I don’t want on my website. It seems to be a background image linked to Kriesi demo content that I don’t need. See below from chrome’s ‘inspect content’:
GET http://test.kriesi.at/hotel/wp-content/uploads/sites/14/2015/07/ornament-bg-top-small-1.png 500 (Internal Server Error)
How can I get rid of this?
Thank you,
MarkNovember 18, 2016 at 4:18 am #713802Hi
Please edit your page and edit the color section where you have “A warm welcome!” title and remove custom background image from that color section element :)
Best regards,
YigitNovember 18, 2016 at 4:22 am #713803Thanks for your quick reply!
I’ve checked that section, and the ones beside it, and don’t have any custom background image there. I also see this issue in all the pages on my site I’ve checked.
You have permission to look in the WP backend if you’d like.
-Mark
November 21, 2016 at 7:00 am #714684Hi!
The mage is added on every color section in the page. Did you modify any of the theme files? What are the modifications added in the header.php file?
Best regards,
IsmaelNovember 22, 2016 at 10:56 pm #715646I added a bit of code before the closing /head to change the android tab colour:
<meta name="theme-color" content="#e5c80c" />
Here’s the code in the child theme’s header.php:
<?php if ( !defined('ABSPATH') ){ die(); } global $avia_config; $style = $avia_config['box_class']; $responsive = avia_get_option('responsive_active') != "disabled" ? "responsive" : "fixed_layout"; $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; $av_lightbox = avia_get_option('lightbox_active') != "disabled" ? 'av-default-lightbox' : 'av-custom-lightbox'; $preloader = avia_get_option('preloader') == "preloader" ? 'av-preloader-active av-preloader-enabled' : 'av-preloader-disabled'; $sidebar_styling = avia_get_option('sidebar_styling'); $filterable_classes = avia_header_class_filter( avia_header_class_string() ); ?><!DOCTYPE html> <html <?php language_attributes(); ?> class="<?php echo "html_{$style} ".$responsive." ".$preloader." ".$av_lightbox." ".$filterable_classes ?> "> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" /> <?php /* * outputs a rel=follow or nofollow tag to circumvent google duplicate content for archives * located in framework/php/function-set-avia-frontend.php */ if (function_exists('avia_set_follow')) { echo avia_set_follow(); } ?> <!-- mobile setting --> <?php if( strpos($responsive, 'responsive') !== false ) echo '<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">'; ?> <!-- Scripts/CSS and wp_head hook --> <?php /* Always have wp_head() just before the closing </head> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to <head> such * as styles, scripts, and meta tags. */ wp_head(); ?> <meta name="theme-color" content="#e5c80c" /> </head> <body id="top" <?php body_class($style." ".$avia_config['font_stack']." ".$blank." ".$sidebar_styling); avia_markup_helper(array('context' => 'body')); ?>> <?php if("av-preloader-active av-preloader-enabled" === $preloader) { echo avia_preload_screen(); } ?> <div id='wrap_all'> <?php if(!$blank) //blank templates dont display header nor footer { //fetch the template file that holds the main menu, located in includes/helper-menu-main.php get_template_part( 'includes/helper', 'main-menu' ); } ?> <div id='main' class='all_colors' data-scroll-offset='<?php echo avia_header_setting('header_scroll_offset'); ?>'> <?php if(isset($avia_config['temp_logo_container'])) echo $avia_config['temp_logo_container']; do_action('ava_after_main_container'); ?>
Also, here’s what I have in Quick CSS:
#top .cart_dropdown { display: none; }
#twelve { background-color: rgba(0,0,0,0.5); }
#main { background-color: white; }@media only screen and (min-width: 767px) {
#top .av_header_glassy.av_header_transparency #header_main {background-color: rgba(0,0,0,0.2) !important; } }November 25, 2016 at 8:25 pm #717052Hi,
remove any modifications and use the default settings of the theme. Then check if this is still happening or not and let us know about your results. Make sure that you’re not using any caching and ask your host if they are using any caching on your server.
Best regards,
AndyNovember 28, 2016 at 5:05 pm #717891The issue still occurs after I changed the theme to the original theme with default settings, instead of the child theme. Caching was off.
December 2, 2016 at 1:05 pm #719648Hi,
please follow this thread: https://kriesi.at/support/topic/redirects/
Aso check out this link: http://www.wpbeginner.com/wp-tutorials/how-to-redirect-your-404-page-to-the-home-page-in-wordpress/
Best regards,
AndyDecember 7, 2016 at 9:13 pm #721716I’ve added the 301 redirect in the .htaccess page as suggested but the problem is not fixed.
It’s not a link anyone is purposely trying to access, it’s a broken link somewhere in the page code that has nothing to do with my website.
When you inspect the page, this is what shows up:
http://test.kriesi.at/hotel/wp-content/uploads/sites/14/2015/07/ornament-bg-top-small-1.png
Failed to load resource: the server responded with a status of 500 (Internal Server Error)December 9, 2016 at 8:50 pm #722599I got rid of the error by searching and removing all instances of the following link from the database:
http://test.kriesi.at/hotel/wp-content/uploads/sites/14/2015/07/ornament-bg-top-small-1.pngDecember 11, 2016 at 6:50 am #722782Hi,
Glad that you found a solution. In the future, maybe you can use these plugins to clean the database.
// https://wordpress.org/plugins/wp-optimize/
// https://wordpress.org/plugins/advanced-database-cleaner/Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.