I have a theme that automatically adds some widgets. I don't want them and so I tried to edit the Sidebar.php but it just fails and sends me to a page with message 404. Here's the code block I am trying to delete from Sidebar.php:
<!-- sidebar south START -->
<div id="southsidebar" class="sidebar">
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('south_sidebar') ) : ?>
<!-- archives -->
<div class="widget">
<h3>Archives</h3>
<?php if(function_exists('wp_easyarchives_widget')) : ?>
<?php wp_easyarchives_widget("mode=none&limit=6"); ?>
<?php else : ?>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
<?php endif; ?>
</div>
<!-- meta -->
<div class="widget">
<h3>Meta</h3>
<ul>
<?php wp_register(); ?>
<li><?php wp_loginout(); ?></li>
</ul>
</div>
<?php endif; ?>
</div>
<!-- sidebar south END -->
EDIT: So for now what I have done is I modified the css to hide southsidebar. But actually I want to use that div by adding other widgets.
<div id="southsidebar" class="sidebar">
the code block</div>
and add your other widget that you want?