What would be the best way to way to change my URL address to a custom one? Currently my website shows:
http://nkonecny.com/_pages/_portfolio/port.html
I want to change it to something like this:
http://nkonecny.com/portfolio
You can use mod_rewrites.
Here is a good linux/apache tutorial
.htaccess would be the best option.
http://httpd.apache.org/docs/1.3/howto/htaccess.html
mod_rewrite will do rewrites of this sort, but your pages have to follow a fairly strict naming/pathing convention for it to work. If you've got arbitrary path->names, then this won't work and you'll probably have to resort to a series of Apache 'Alias' directives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With