Loading...
 
Features / Usability

Features / Usability


Search Engnes

posts: 3

I would like to get my Wiki and Blogs to be searched by Google and other search engines. The URL's are not going to work for Google because of the question marks and ampersands. Is there a way to get it scanned within the current architecture?

I have searched various parts of the Tiki community and the forums but have not had much success.

Thanx

Julian


posts: 3

Hmm, I was always told that the search engines stopped at the question mark, I guess they were wrong.

Thanx

Julian

posts: 2881 United Kingdom

> Hmm, I was always told that the search engines stopped at the question mark, I guess they were wrong.
>

Very Wrong. Tiki sites index perfectly without any modifications, those who say otherwise are talking a huge pile of steaming poop

Damian
http://tikihost.net


posts: 104

> I would like to get my Wiki and Blogs to be searched by Google and other search engines. The URL's are not going to work for Google because of the question marks and ampersands. Is there a way to get it scanned within the current architecture?
>
> I have searched various parts of the Tiki community and the forums but have not had much success.

Regardless of what other people "think" how search engines, work: there are search engines, who stop indexing a site when discovering .php code. Most engines don't index sites with question marks as they think it's dynamic content (and it's most often true). But it depends.

Anyway, you can get perfect Search Engine Friendly (SEF) URLs with the nice Smarty plugin at www.funkypenguin.co.za (SEFUrl)

The plugin is small, so for backup-purpose, here is the code itself attached to this posting.

However, the .htaccess file didn't work for me good enough, so I supply you with my modified version. Tell me if you have problems with it ...

Then, just modify setup_smarty.php to load the new outputfilter by adding the following line at the end of the file:

Copy to clipboard
$smarty->load_filter('output','sef');


... and you are done.

Best regards,

Bernhard

=== insert this in you .htaccess file =

{CODE()}
RewriteEngine On

  1. Ourt formerly used /portal site
RewriteRule
portal/(.*) /$1

  1. This is to make styles directory work on new "virtual subdirectories"
RewriteRule
article/styles/(.*) /styles/$1 RewriteRule
articles/styles/(.*) /styles/$1 RewriteRule
category/styles/(.*) /styles/$1 RewriteRule
categories/styles/(.*) /styles/$1 RewriteRule
blog/styles/(.*) /styles/$1 RewriteRule
blogs/styles/(.*) /styles/$1 RewriteRule
chart/styles/(.*) /styles/$1 RewriteRule
charts/styles/(.*) /styles/$1 RewriteRule
chat/styles/(.*) /styles/$1 RewriteRule
contact/styles/(.*) /styles/$1 RewriteRule
directories/styles/(.*) /styles/$1 RewriteRule
eph/styles/(.*) /styles/$1 RewriteRule
faq/styles/(.*) /styles/$1 RewriteRule
faqs/styles/(.*) /styles/$1 RewriteRule
file/styles/(.*) /styles/$1 RewriteRule
files/styles/(.*) /styles/$1 RewriteRule
download/styles/(.*) /styles/$1 RewriteRule
files/styles/(.*) /styles/$1 RewriteRule
forum/styles/(.*) /styles/$1 RewriteRule
forums/styles/(.*) /styles/$1 RewriteRule
gallery/styles/(.*) /styles/$1 RewriteRule
galleries/styles/(.*) /styles/$1 RewriteRule
games/styles/(.*) /styles/$1 RewriteRule
my/styles/(.*) /styles/$1 RewriteRule
images/styles/(.*) /styles/$1 RewriteRule
newsletter/styles/(.*) /styles/$1 RewriteRule
newsletters/styles/(.*) /styles/$1 RewriteRule
quiz/styles/(.*) /styles/$1 RewriteRule
quizzes/styles/(.*) /styles/$1 RewriteRule
stats/styles/(.*) /styles/$1 RewriteRule
survey/styles/(.*) /styles/$1 RewriteRule
surveys/styles/(.*) /styles/$1 RewriteRule
tracker/styles/(.*) /styles/$1 RewriteRule
trackers/styles/(.*) /styles/$1 RewriteRule
irc/styles/(.*) /styles/$1 RewriteRule
mobile/styles/(.*) /styles/$1 RewriteRule
wml/styles/(.*) /styles/$1 RewriteRule
wiki/styles/(.*) /styles/$1

  1. Inspired by Loyd Wood
  2. http:/tikiwiki.orgtiki-index.php?page=TikiWikiRewriteRule

  1. direct one-word access
RewriteRule
articles/$ tiki-view_articles.php L RewriteRule
blogs/$ tiki-list_blogs.php L RewriteRule
categories/$ tiki-browse_categories.php L RewriteRule
charts/$ tiki-list_charts.php L RewriteRule
chat/$ tiki-chat.php L RewriteRule
contact/$ tiki-contact.php L RewriteRule
directories/$ tiki-directory_browse.php L RewriteRule
eph/$ tiki-eph.php L RewriteRule
faqs/$ tiki-list_faqs.php L RewriteRule
files/$ tiki-file_galleries.php L RewriteRule
forums/$ tiki-forums.php L RewriteRule
images/$ tiki-galleries.php L RewriteRule
galleries/$ tiki-galleries.php L RewriteRule
games/$ tiki-list_games.php L RewriteRule
my/$ tiki-my_tiki.php L RewriteRule
newsletters/$ tiki-newsletters.php L RewriteRule
quizzes/$ tiki-list_quizzes.php L RewriteRule
stats/$ tiki-stats.php L RewriteRule
surveys/$ tiki-list_surveys.php L RewriteRule
trackers/$ tiki-list_trackers.php L RewriteRule
irc/$ tiki-irc_logs.php L RewriteRule
mobile/$ tiki-mobile.php L RewriteRule
wml/$ tiki-mobile.php L RewriteRule
wiki/$ tiki-index.php L

  1. access any object by its numeric identifier
RewriteRule
article/(0-9+)$ tiki-read_article.php?articleId=$1 QSA,L RewriteRule
art(0-9+) tiki-read_article.php?articleId=$1 QSA,L RewriteRule
category/(0-9+) tiki-browse_categories.php?parentId=$1 QSA,L RewriteRule
blog/(0-9+) tiki-view_blog.php?blogId=$1 QSA,L RewriteRule
chart/(0-9+) tiki-view_chart.php?chartId=$1 QSA,L RewriteRule
faq/(0-9+) tiki-view_faq.php?faqId=$1 QSA,L RewriteRule
file/(0-9+) tiki-list_file_gallery.php?galleryId=$1 QSA,L RewriteRule
download/(0-9+) tiki-download_file.php?fileId=$1 QSA,L RewriteRule
forum/(0-9+) tiki-view_forum.php?forumId=$1 QSA,L RewriteRule
gallery/(0-9+) tiki-browse_gallery.php?galleryId=$1 QSA,L RewriteRule
newsletter/(0-9+) tiki-newsletters.php?nlId=$1 QSA,L RewriteRule
quiz/(0-9+) tiki-take_quiz.php?quizId=$1 QSA,L RewriteRule
survey/(0-9+) tiki-take_survey.php?surveyId=$1 QSA,L RewriteRule
tracker/(0-9+) tiki-view_tracker.php?trackerId=$1 QSA,L RewriteRule
wiki/(.+) tiki-index.php?page=$1 QSA,L RewriteRule
irc(0-9+) tiki-irc_logs.php?focus=$1 QSA,L

  1. todo add support for all characters allowed in a Wiki name
  2. make sure this is the last rule!
RewriteRule
(-_\+A-Za-z0-9+)$ tiki-index.php?page=$1 QSA,L


{CODE)


posts: 104

> I would like to get my Wiki and Blogs to be searched by Google and other search engines. The URL's are not going to work for Google because of the question marks and ampersands. Is there a way to get it scanned within the current architecture?
>
Hm, the attachment didn't seem to make it, neither can I re-edit the posting.

The last CODE fragment is doesn't belong to the file, it was a posting format trial.

Here is the outputfilter.sef.php code:
{CODE()}


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting