- In Web Development, Many times we need to make Query string parameter as SEO Friendly, For this we need to make a changes in htacess file. Benefits of SEO Friendly URLs. URL Readability become better Better Indexing by Search...
- Question: What is Redirection? On a Web site, redirection is a technique for moving visitors to a different Web page OR Different Website. Question: Why we do Redirection? We do Redirection, because we want to tell the visitor that current page is not appropriate...
- http to https, Follow the following: Open htaccess file in /public OR /public_html. Add following code in your .htaccess at topRewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] Save the File . Refresh the webpage, you will see same page...
- Requirement: When someone open http://domain.com/projectone.html, User should be able to see the same URL in Browser(i.e. http://domain.com/projectone.html). But Internally, application should call a file http://domain.com/projectone.php. But user should not...
- Requirement: Working on some project in office where all developer have same IP Address. Now many times we want our project must be accessed by offer without authentication. But some one trying to access the same website from outside of office, It must...
- Redirection with javaScript OR jQuery. For redirect a page to another page in client side you can use window.location. For this you need not to include the jQuery file. Question: What is window.location? The window.location is a object which have all the values like host, href, port and username...
- Question: How to redirect http to https? RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R=301,L] Question: How to redirect...
- Today, htaccess play very important role for SEO, It is used for redirection, rewriting and apache config variable etc. How to edit your htacess file. Open your .htaccess file which is mostly in root folder...
- If you want to redirect http://example.com to http://www.example.com Open your .htaccess file and add...
- You can redirect all website pages from https to http. It will be redirect only when you open the page...
- A RewriteRule can be modified by flag. Flags are included in square brackets at the end of the rule. We can also and multiple flags are separated by commas. For Example: [Flag1] //for 1...
- .htaccess file is used for configuration on File Level/Directory Level and its supported by all webserver. Today all types of websites use htaccess technology. Following are Benefits of .htaccess Mange...
We are Web Technology Experts Team who provide you Important information on Web Development, Interview Questions and Answers, live project problem and their solution and online free tutorials.