Preskoči na sadržaj
Ista raja. Nova runda.
GAMERZ.ba — REBORN
Diskusija

Joomla SEO

98 pregleda · 7 odgovora · otvorena 26.08.2009. u 12:33

Pozdrav,
Imam problem, nadam se da mi neko moze pomoci..
Bodova nemam, rado bi dao (mozda neki znaju da za bilo kakvu pomoc dam bodove, al nemam sad..).

Problem je sljedeci,
Radim sajt za klub u joomli, i hocu da ga optimiziram za web-pretrazivace (SEO).
U c.panelu joomle ukljucim opcije
Search Engine Friendly URLs Yes
Use Apache mod_rewrite Yes
/za ovu drugu potrebno je editovati htaccess.txt file u .htaccess (reimenovati), i mislim da sam to uradio kako treba..
sve je ok, adrese vise nisu tipa /index.php?option=com_content&view=article&id=46&Itemid=53 i slicno, vec normalne, kako ja zadam - npr. 'pocetna', 'igraci', itd.... Problem je u tome sto, kad otvorim pocetnu stranicu (ili se vratim na homepage klikom na logo) - i hocu da otvorim vijest sa pocetne stranice - greska:

04 - Article #39 not found

You may not be able to visit this page because of:

1. an out-of-date bookmark/favourite
2. a search engine that has an out-of-date listing for this site
3. a mistyped address
4. you have no access to this page
5. The requested resource was not found.
6. An error has occurred while processing your request.

Please try one of the following pages:

* Home Page

If difficulties persist, please contact the System Administrator of this site.


A buni me to, sto kad idem na 'Home' - pa pokusam isto to otvoriti - sve ok, linkovi su kakve zelim i sve fino funkcionise..

Ako ista znaci - kad se vratim na pocetnu stranicu klikom na logo - link u address bar-u je http://stkbosna.com.ba/
a kad se vracam na pocetnu preko 'Home' linka - onda u address baru stoji http://stkbosna.com.ba/pocetna.

nadam se da nisam zapetljao, i da ce mi neko pomoci..
nadam se da se linkovi ne smatraju reklamom, ako da - nek ih moderator edituje/izbrise ili meni javi pa cu ja to uraditi..
hvala unaprijed.
pozdrav
pa ja evo klikam radi sve ok <.<
Vertazzar je napisao/la:
pa ja evo klikam radi sve ok <.<
:S..kod mene error..

otvoris link (stkbosna.com.ba) - i kliknes na prvu vijest .. u vezi sportsport-a..... sve ok?
eo ja sam isto to pokusao uraditi na svoj sajtu (sajt je za testiranje, nista specijalno)

www.program.com.ba/site

pocetna je uredu , al ovamo ovi dalje linkovi se "po*ebali" ... eto mozes pogledat.

dok ostali linkovi nisu .. npr.: http://program.com.ba/site/index.php/bht1-pink-bh-obn-ftv


bihnet hosting.....
btw. google addurl ..
karaBATAK je napisao/la:
:S..kod mene error..

otvoris link (stkbosna.com.ba) - i kliknes na prvu vijest .. u vezi sportsport-a..... sve ok?
evo sad sam i ja vidio http://stkbosna.com.ba/component/content/article/39-vijesti/59-predpocetaknovesezone


pa nisi dobro konfiguriso .htaccess

pasteaj ovdje kod od .htaccess-a pa da vidim sta si to mrcko
Vertazzar je napisao/la:
evo sad sam i ja vidio http://stkbosna.com.ba/component/content/article/39-vijesti/59-predpocetaknovesezone


pa nisi dobro konfiguriso .htaccess

pasteaj ovdje kod od .htaccess-a pa da vidim sta si to mrcko
Nisam ja nista mutio po htaccess-u..
ako mislis na sadrzaj htaccess fajla -

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section



...ne znam jel to ok, kad htaccess.txt rename u .htaccess - ne mogu ga nigdje naci vise :S
karaBATAK je napisao/la:
Nisam ja nista mutio po htaccess-u..
ako mislis na sadrzaj htaccess fajla -

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section



...ne znam jel to ok, kad htaccess.txt rename u .htaccess - ne mogu ga nigdje naci vise :S
nemos ga nac jer on ide u hidden files, jedini nacin da ga vidis da ukljucis opciju show hidden files negdje, preko cega vec gledas te fajlove..


# Uncomment following line if your webserver\'s URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


probaj ovo zamjenit


# Uncomment following line if your webserver\'s URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

RewriteBase /


maknes komentar od tog "rewritebase /
pa probaj, mozda je do toga.. ako nije onda ne znam, jer nemam iskustva sa joomlom

Vertazzar je napisao/la:
nemos ga nac jer on ide u hidden files, jedini nacin da ga vidis da ukljucis opciju show hidden files negdje, preko cega vec gledas te fajlove..


# Uncomment following line if your webserver\'s URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


probaj ovo zamjenit


# Uncomment following line if your webserver\'s URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

RewriteBase /


maknes komentar od tog "rewritebase /
pa probaj, mozda je do toga.. ako nije onda ne znam, jer nemam iskustva sa joomlom

zamijenio, al opet isto ..
konj xD.
hvala u svakom slucaju, nadam se da ce neko znati rjesenje..
pozz

Prijavi se da bi odgovorio/la na ovu temu.