Muestra las diferencias entre dos versiones de la página.
Próxima revisión | Revisión previa | ||
funurl [2016/01/05 03:10] luchothoma creado |
funurl [2016/12/30 18:42] (actual) |
||
---|---|---|---|
Línea 1: | Línea 1: | ||
+ | ==== Fancy URLs ==== | ||
**What Do They Do?** | **What Do They Do?** | ||
- | If your web host supports Mod_Rewrite, you have the option of enabling Fancy URLs. Fancy URLs allows you to access your website pages at a URL like __http://yoursite.com/controller/function/arg1/arg2__ instead of __http://yoursite.com/index.php/controller/function/arg1/arg2__. | + | If your web host supports Mod_Rewrite, you have the option of enabling Fancy URLs. Fancy URLs allows you to access your website pages at a URL like http://yoursite.com/controller/function/arg1/arg2 instead of http://yoursite.com/index.php/controller/function/arg1/arg2 |
Essentially, Fancy URLs permit to remove the index.php portion from the URL. | Essentially, Fancy URLs permit to remove the index.php portion from the URL. | ||
Línea 14: | Línea 15: | ||
**The .htaccess** | **The .htaccess** | ||
The code inside htaccess basically tells your server to transparently (you can't see it) add the index.php portion onto the beginning of the URL, unless you are requesting index.php or something in the images, javascript and css (as img js and css) folder. | The code inside htaccess basically tells your server to transparently (you can't see it) add the index.php portion onto the beginning of the URL, unless you are requesting index.php or something in the images, javascript and css (as img js and css) folder. | ||
+ | ---- | ||
+ | [[documentation|Go back to Documentation]]. |