Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>For your first question, some folders in your website are not shown to users. Example some media files. You will do this in your <code>.htaccess</code> file </p> <p>Below code will hide the directory listing. If user points the browsers to a directory which does not have index file then in this case 403 error will be</p> <pre><code>Options -Indexes </code></pre> <p>If you want to show the directory use </p> <pre><code>Options +Indexes </code></pre> <p>See this link <a href="http://viralpatel.net/blogs/htaccess-directory-listing-enable-disable-allow-deny-prevent-htaccess-directory-listing/" rel="nofollow">http://viralpatel.net/blogs/htaccess-directory-listing-enable-disable-allow-deny-prevent-htaccess-directory-listing/</a></p> <p>For second question - Normally why people are using URL Rewrite is because of <code>SEO</code> friendly URL.</p> <p>While searching it comes on front..</p> <p>Example, you are having product details page, and you are passing product ID in the query string. Rewrite will change query string to proper URL with slash. This is very helpful for google to find the search result.</p> <pre><code>RewriteEngine On RewriteRule ^products/([a-zA-Z]+)/([0-9]+)/$ index.php?product=$1&amp;price=$2 </code></pre> <p>Below links will help you.</p> <p><a href="http://zenverse.net/seo-friendly-urls-with-htaccess/" rel="nofollow">http://zenverse.net/seo-friendly-urls-with-htaccess/</a></p> <p><a href="http://httpd.apache.org/docs/2.0/misc/rewriteguide.html" rel="nofollow">http://httpd.apache.org/docs/2.0/misc/rewriteguide.html</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload