How to apply nice URL-s into CMS?
1. Should we use nice urls for every page?
2. Do we need to put a FULL path into <a href="">?
3. What is faster and better?
a) 10 rules in .htaccess which redirect you to normal URLs with GET
parameters
b) one rule in .htaccess and parsing "nice url" in PHP (strpos,
explode...).
4. Do search engines still deal with "nice urls" better than with
normal URLs in 2008?
5. When we must put more parameters into GET and only some of them
occurs in one request - should we place them in "nice url" or should
we better do something like: index.php/nice/url?param=value ?
Why are "nice urls" better than normal? How to implement them in CMS?
Example path:
- example.com/pathtosite/index.php/art/50
- example.com/pathtosite/art/50
Are they correct? So...
$_URL = explode(...); - good solution?
Or maybe some rules for the most important pages are enough and we
don't need to parse URLs in PHP?
1. Should we use nice urls for every page?
2. Do we need to put a FULL path into <a href="">?
3. What is faster and better?
a) 10 rules in .htaccess which redirect you to normal URLs with GET
parameters
b) one rule in .htaccess and parsing "nice url" in PHP (strpos,
explode...).
4. Do search engines still deal with "nice urls" better than with
normal URLs in 2008?
5. When we must put more parameters into GET and only some of them
occurs in one request - should we place them in "nice url" or should
we better do something like: index.php/nice/url?param=value ?
Why are "nice urls" better than normal? How to implement them in CMS?
Example path:
- example.com/pathtosite/index.php/art/50
- example.com/pathtosite/art/50
Are they correct? So...
$_URL = explode(...); - good solution?
Or maybe some rules for the most important pages are enough and we
don't need to parse URLs in PHP?
Comment