Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If you use <a href="http://en.wikipedia.org/wiki/Apache_HTTP_Server" rel="nofollow noreferrer">Apache</a>, I think you must know about <strong><a href="http://en.wikipedia.org/wiki/Rewrite_engine" rel="nofollow noreferrer">URL rewriting</a></strong></p> <p>In URL rewriting you rewrite the URL to a more friendly look. Take a look at the URL below</p> <blockquote> <p><a href="http://www.downloadsite.com?category=34769845698752354" rel="nofollow noreferrer">http://www.downloadsite.com?category=34769845698752354</a></p> </blockquote> <p>and when you do a URL rewrite on it, it became like this</p> <pre><code>http://www.downloadsite.com/Nettools/Messengers </code></pre> <p>URL rewriting needs to be set on the Apache configuration (rewriting rules) so it will rewrite your URL before request is interpret by PHP so you will get the exact resource you want to acquire </p> <pre><code> RewriteRule ^/category$ /content.php RewriteRule ^/category/([0-9]+)$ /.php?id=$1 RewriteRule ^/category/([0-9]+),([ad]*),([0-9]{0,3}),([0-9]*),([0-9]*$) cat.php?id=$1&amp;sort=$2&amp;order=$3&amp;start=$4 </code></pre> <p>Well, I can't explain you everything here, but below I provide you some links where you can learn about URL rewriting.</p> <p><strong>This the best hack you can do to create friendly URLs!</strong></p> <p><strong>Resources:</strong></p> <ul> <li><p><a href="http://www.cyberdesignz.com/blog/website-design/url-rewriting-top-5-ways-of-php-url-rewriting/" rel="nofollow noreferrer">http://www.cyberdesignz.com/blog/website-design/url-rewriting-top-5-ways-of-php-url-rewriting/</a></p></li> <li><p><a href="http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/" rel="nofollow noreferrer">http://www.fliquidstudios.com/2009/01/06/url-rewriting-with-apache-and-php-a-simple-example/</a></p></li> <li><p><a href="http://www.sitepoint.com/guide-url-rewriting/" rel="nofollow noreferrer">http://www.sitepoint.com/guide-url-rewriting/</a></p></li> <li><p><a href="https://stackoverflow.com/questions/6520671/htaccess-rewrite-friendly-urls/6520802#6520802">.htaccess rewrite friendly URLs</a></p></li> </ul>
    singulars
    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. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      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