All inside pages are redirecting to http://localhost/dashboard/ in WordPress xampp localhost

When we install WordPress in localhost may face an issue,All inside pages are redirecting to http://localhost/dashboard/ in WordPress localhost

suppose we installed a working WordPress site inside demo folder in htdocs directory and changed the wp_option table siteurl and home option value to http://localhost/demo/

Here is my .htaccess files


RewriteEngine On
RewriteBase /
RewriteRule ^index\.php?$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

here http://localhost/demo/contact_us it is redirecting to http://localhost/dashboard/

To fix this issue you have to change .htaccess files like this

added below code in .htaccess files
RewriteBase /demo/
RewriteRule . /demo/index.php [L]

Here is the .htaccess files


RewriteEngine On
RewriteBase /demo/
RewriteRule ^index\.php?$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /demo/index.php [L]

call from below number to check your account balance

To do HDFC Bank Balance Enquiry, you can give a call to –

1800-270-3333

To do SBI Bank Balance Enquiry, you can give a call to –

18004253800

To do CANARA BANK Balance Enquiry, you can give a call to –

09015483483

To do Punjab National Bank Balance Enquiry, you can give a call to –

1800 180 2223

To do ICICI Bank Balance Enquiry, you can give a call to –

9594 612 612

To do Bank of India Balance Enquiry, you can give a call to –

09015135135

How to change value of one drop down box based on other drop-down box change using JQuery

Here we are going to discus how to change value of one drop down box based on other drop-down box change using JQuery

Part 1

Html Code

 <div class="select-box">
<select id="courseId" name="courseId" class="select" onchange="course_changeFunct(this.value)">
<option value="1">Option1</option>
<option value="2">Option2</option>
<option value="3">Option3</option>
<option value="4">Option4</option> 
</select>
</div>
<div class="select-box">
<select id="location" name="location" class="select">
<option value="location1">location1</option>
<option value="location2">location2</option>
<option value="location3">location3</option>
<option value="location4">location4</option> 
</select>
</div>

Part 2

JQuery Script

function course_changeFunct(course_id)
{

var menu_type =$("#domains").val();
$.post("site_action_view.php?action=get_location_by_course_id", { course_id: course_id }).done(function( data ) {
	
$("#location").empty();
if(data=='')
{
var select_data='Sorry no Location';
}
else
{
var select_data='Select program'+data+'';	
}
  
$("#location").append(select_data);



});
}

Part 3

site_action_view.php Action Page

	case 'get_location_by_course_id':
        $result = $obj->get_location_by_course_id($_REQUEST['course_id']);
		//print_r($result);
		$var_option="";
		foreach($result as $key=>$data_value)
		{
		$var_option.=''.$data_value.'';	
		}
		echo $var_option;
        break;