![]() Agnès Rambaudfrom le Grésivaudan (grenoble-chambéry) Associate, 3269 posts | I quite agree with this idea Agnès Il n'y a pas de problèmes, que des solutions. Agnès Il n'y a pas de problèmes, que des solutions. |
Bernard Paquesfrom nearby-an-airport Associate, 8408 posts | Sorry sir, but this is processed by Apache, and YACS does not receive this information. This is a limitation from the rewriting mechanism I believe. Or have I missed something? |
| NickR | In php can we not find out the URL of the page request ? If we can, then we can look at the nice-title part of the url and then compare to the nice title stored in the database and if it is different, we can redirect in php to the url with the correct nice title (http://uk.php.net/header) I hope this is clearer. Nick My Website: NGR78 |
English « Post your requirements here «
Further enhancements to Nice titles
As we know someone nasty could change the incoming link to something like "article-1333-sex-viagra-bill-gates" and it would still work.
If there would not be too much overhead, what I suggest we do, is query the database for the correct nice title and compare, if it is different, 304 redirect to the correct link, eg "article-1333-correct-title).
Not only should we do this for correctness, but it will help google index sites and therefore SEO, as it dislikes multiple URLs to the same page and will reduce the score that page can get.
If there would not be too much overhead, what I suggest we do, is query the database for the correct nice title and compare, if it is different, 304 redirect to the correct link, eg "article-1333-correct-title).
Not only should we do this for correctness, but it will help google index sites and therefore SEO, as it dislikes multiple URLs to the same page and will reduce the score that page can get.











