![]() |
mod_rewrite fake directory
Anyone know how to add an additional folder into a URL?
For example: www.mysite.com/sexy-legs.html www.mysite.com/sexy-feet.html changed to: www.mysite.com/fetish/sexy-legs.html www.mysite.com/fetish/sexy-feet.html using mod_rewrite / .htaccess?? |
Read the mod_rewrite documentation here
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html After readin and understanding how mod_rewrite works you will be able to do much more complex stuff than just creating virtual directories. |
Interesting documentations, PowerCum.
|
Don't use mod_rewrite. There is an easier way.
ln -s source_file.html dest_file.html You can also do it with an entire folder. You can also rewrite everything to index.php and parse it from there. |
All times are GMT -7. The time now is 11:34 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc