Joomla! Discussion Forums



It is currently Thu Nov 26, 2009 1:56 pm (All times are UTC )

 





Post new topic Reply to topic  [ 11 posts ] 
Author Message
Posted: Fri Dec 15, 2006 3:31 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Dec 09, 2005 9:02 pm
Posts: 60
Location: Austria/Vienna
Pozdrav momci.
Vidim vi ovdje razbacili ljudske, a ja kasnim dvije svjetlosne godine za vama :).
Imam jedno pitanje vezano za SEF komponente:

U configuratio SEO sam podesio sljedece:

Search Engine Friendly URLs: yes
Dynamic Page Titles: yes

Promjenio sam htaccess.txt u .htacces i kada uradim refresh i pokusam otvoriti neku od stranica desava se sljedece:

Ovakve stranice(komponente) otvara ko iz topa:):

..............component/option,com_marketplace/Itemid,37/
..............component/option,com_akobook/Itemid,66/

Stranice(staticne) tipa nece ni da pogleda:

.....content/view/22/53/

Znaci, staticne stranice ne vidi, komponte normalno vidi.
Sta bi moglo biti jel neko mozda imao slican problem?

Isto mi se desi kada instaliram neku SEF komponentu, ne vidi staticne stranice dok komponente vidi.

Pozdrav i nadam se da ce neko naci neko rjesenje.
--
Semir

_________________
SKYNET SOLUTIONS - Linux & Windows hosting - Domene - Webdesign
http://www.skynet.ba


Top
  E-mail  
 
Posted: Fri Dec 15, 2006 3:34 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Aug 13, 2005 2:13 am
Posts: 223
Location: Sweden
Postaj sadržaj .htaccess fajla.

_________________
Emir Sakic
http://www.sakic.net


Top
  E-mail  
 
Posted: Fri Dec 15, 2006 6:29 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 13, 2006 9:07 pm
Posts: 213
Location: Bosnia
Trebao bi da ti bude ovakav ili probaj ovo da kopiraš pa ga paste u svoj, ako ne bude radio, onda će ti stručna pomoć trebati...

Code:
##  Can be commented out if causes errors, see notes above.
Options FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On

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

# RewriteBase /

########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section

########## 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


Last edited by enzo on Fri Dec 15, 2006 6:53 am, edited 1 time in total.

Top
  E-mail  
 
Posted: Fri Dec 15, 2006 7:13 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Dec 09, 2005 9:02 pm
Posts: 60
Location: Austria/Vienna
Ovo je kompletan .htaccess:

Code:
##
# @version $Id: htaccess.txt 4085 2006-06-21 16:03:54Z stingrey $
# @package Joomla
# @copyright Copyright (C) 2005 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.
#
# Only use one of the two SEF sections that follow.  Lines that can be uncommented
# (and thus used) have only one #.  Lines with two #'s should not be uncommented
# In the section that you don't use, all lines should start with #
#
# For Standard SEF, use the standard SEF section.  You can comment out
# all of the RewriteCond lines and reduce your server's load if you
# don't have directories in your root named 'component' or 'content'
#
# If you are using a 3rd Party SEF or the Core SEF solution
# uncomment all of the lines in the '3rd Party or Core SEF' section
#
#####################################################

#####  SOLVING PROBLEMS WITH COMPONENT URL's that don't work #####
# SPECIAL NOTE FOR SMF USERS WHEN SMF IS INTEGRATED AND BRIDGED
# OR ANY SITUATION WHERE A COMPONENT's URL's AREN't WORKING
#
# In both the 'Standard SEF', and '3rd Party or Core SEF' sections the line:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# May need to be uncommented.  If you are running your Joomla/Mambo from
# a subdirectory the name of the subdirectory will need to be inserted into this
# line.  For example, if your Joomla/Mambo is in a subdirectory called '/test/',
# change this:
# RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
# to this:
# RewriteCond %{REQUEST_URI} ^(/test/component/option,com) [NC,OR] ##optional - see notes##
#
#####################################################


##  Can be commented out if causes errors, see notes above.
Options FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


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

# RewriteBase /


########## Begin - Joomla! core SEF Section
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section



########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR]       ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$  [NC]
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section

_________________
SKYNET SOLUTIONS - Linux & Windows hosting - Domene - Webdesign
http://www.skynet.ba


Top
  E-mail  
 
Posted: Wed Dec 20, 2006 2:56 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Dec 09, 2005 9:02 pm
Posts: 60
Location: Austria/Vienna
Evo izacio sam code kompletnog .htaccess pa jel ima neko da pogleda  :(

Pozdrav

_________________
SKYNET SOLUTIONS - Linux & Windows hosting - Domene - Webdesign
http://www.skynet.ba


Top
  E-mail  
 
Posted: Fri Dec 22, 2006 11:55 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 13, 2006 9:07 pm
Posts: 213
Location: Bosnia
Ja stvarno ne znam kako da ti pomognem, ne vidim ništa niti znam ovako, SAKA je ekspert za SEO / SEF pa vidim da ne odgovara, vjerovatno je nešto do tvog servera ili ti se joomla pokvarila, ko zna može biti svašta...


Top
  E-mail  
 
Posted: Sun Dec 24, 2006 4:35 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Fri Dec 09, 2005 9:02 pm
Posts: 60
Location: Austria/Vienna
Hvala na odgovoru.
Ma buraz fazon je u tome da ovaj isti SEF koristim na serveru(jer imam svoj reseller) i hostam oko 100tinjak stranica, od toga je 6-7 mambo/joomla.
Jedan site je zadnja verzija mamba i ide ko halva:), al evo ovaj me nesto opasno zeza...
Sacekat cu da neko jos odgovori pa mozda nadjemo neke rjesenje.
U svakom slucaju hvala;)

_________________
SKYNET SOLUTIONS - Linux & Windows hosting - Domene - Webdesign
http://www.skynet.ba


Top
  E-mail  
 
Posted: Tue Dec 26, 2006 11:44 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Thu Jul 13, 2006 9:07 pm
Posts: 213
Location: Bosnia
Hej vidim da su u novoj verziji joomla! 1.0.12 popravili neke issue's u tom joomla! sef-u tako da ti jedino sad što mogu preporučiti da napraviš backup stranica na joomla i uradiš upgrade preko patch-a http://forge.joomla.org/sf/frs/do/downl ... s8160?dl=1
pa da vidis hoce li ti raditi sve kako treba nakon toga...

p.s. obavezno backup uradi, obavezno i fajlova i baza podataka!


Top
  E-mail  
 
Posted: Mon Jan 22, 2007 5:51 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Aug 23, 2006 4:17 am
Posts: 78
Semire da ne koristis mozda koji component ili bridge?


Top
  E-mail  
 
Posted: Mon Jan 22, 2007 10:11 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Wed Aug 23, 2006 4:17 am
Posts: 78
Enzo ti je dao dobar savjet sto se tice update jer jer definitivno bilo nekih problema oko J .11.
Jednu stvar sto sam primjetio, mada nebi trebalo biti razlike u teoriji ali...
1. Pogresno:
-Startaj SEF mambot
-copy/paste 'httaccess.txt' u '.httaccess'
-delete 'httaccess.txt'
-restartaj SEF mambot
Radi cega je sef presato da radi ja stvarno nema pojma i ako su sva prava na fajlovima bila ok i ista. SEF je radio samo na prvoj stranici  ???

2. Rjesenje je bilo:
-na globalnoj konfiguraciji -CEO-> startaj
-startaj SEF mambot
-delete '.httaccess'
-preimenuj 'httaccess.txt' u '.httaccess'
-------
-stopiraj SEF mambot
-na globalnoj konfiguraciji -CEO-> stopiraj  i onda startaj CEO
-Startaj SEF mambot

ovo "rjesenje" e meni uradilo ...ne znam zasto.
Na kraju probaj ARTIO JoomSEF jer je puno bolji.....
Aj za sad.


Top
  E-mail  
 
Posted: Sun Mar 11, 2007 5:49 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sat Aug 13, 2005 2:13 am
Posts: 223
Location: Sweden
Sorry za kasan odgovor. Ko ima problema sa sadasnjim Joomla .htaccessom neka proba ovu jednostavniju verziju koja je nekad bila default u Mambu i Joomli.

Code:
#
#  mod_rewrite in use
#

RewriteEngine On

#  Uncomment following line if you get 403 Forbidden Error

#Options +FollowSymLinks

#  Uncomment following line if your webserver's URL
#  is not directly related to physival file paths.
#  Update YourMamboDirectory (just / for root)

#RewriteBase /YourMamboDirectory

#
#  Rules
#

RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|css|js|pl|txt)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

_________________
Emir Sakic
http://www.sakic.net


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

Quick reply

 



Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group