2012-09-20, 15:54:08
[/root.] Wrote:Hello,
Is there a way to change the default ugly urls' to something more user and search engine friendly?
Quote:http://site.com/blog?tags=&words=&search=&page=4 (using with special pages)
to something like this
Quote:http://site.com/blog/page4
Have anyone did this in the past? rewrite rules anyone? Thanks.
You cannot remove the search parameters, but if you install the Pagify plugin and add to gsconfig.php
Code:
define('PAGIFY_SEPARATOR','/page');
BTW, google also has the page number (items to skip, start) as parameter in the URL.
Anyway, the only time a search engine might index your search result page is if you include a link like /search/?words=mysearchterm or similar in another page.
[/root.] Wrote:One more thing. I'm trying to display the latest blog posts in the website's footer using the special pages plugin.
I can remove the UL? Haven't found any param in the docs
Just add appropriate rules to your CSS that ul/li are not visible as such.
[/root.] Wrote:additionally I'd like to add the entry count (1-4) to the class of a opening div
You could add an additional search call (return_i18n_search_results, get words/tags from URL) and use the number of returned items (count($searchresults->results)) in the surrounding div.