Joomla! Discussion Forums



It is currently Wed Nov 25, 2009 2:07 pm (All times are UTC )

 





Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: sh404SEF setting problem
Posted: Tue Oct 30, 2007 2:22 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
hi semua...
tumpang tanya...saya dah search dah topic pasal sh404SEF nie tapi x der jawapan....masalah saya sekarang nie....bila guna
sh404SEF nie url saya jadi

http://www.mysite.com/index.php/contac-us.html

jadi cam ner nak jadikan dia

http://www.mysite.com/contac-us.html

ada apa2 ker perlu saya set kat setting tu...sbb dah cuba dan mungkin ada yg x nampak kot....

ini saya buat kat localhost kalau kat live pun sama juga....bila saya edit .htaccess tambah coding yg diberi kat live plak dia ada error...tapi kat localhost dia ok cuma url dia jeh jadi cam kat atas tu...jadi ada sesiapa yg ada pengalaman ttg SEF nie leh tolong guide...Thanks in advance!


Top
  E-mail  
 
Posted: Tue Oct 30, 2007 2:54 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sun Nov 20, 2005 10:58 am
Posts: 633
Location: Malaysia
hi newgal

sebenarnya dalam configuration sh404SEF dekat backend ada satu setting newgal kena tukar

pergi advanced tab
kemudian select with htaccess mod rewrite.

kemudian save.

jgn lupa lak on kan sef awak dalam .htaccess :) kemudian awak dapat beautiful sef url. hehe

_________________
- Time is a created thing. To say, "I don't have time" is like saying "I don't want to." - Lao-Tzu
Kisah Seorang WebDesigner yang Terlampau | http://www.skyvtec.com


Top
   
 
Posted: Tue Oct 30, 2007 3:02 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
skyjuice,

dah try dah tapi dapat error 404 tu...cam ner eh...
mmg x leh guna ker...i mean the with htaccess mod rewrite...
ada kena set apa2 ker lagi kat .htaccess tu...

cuma ko tolong tgkkan

Code:
##
# @version $Id: htaccess.txt 5975 2006-12-11 01:26:33Z robs $
# @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


########## 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
php_value register_globals OFF



Top
  E-mail  
 
Posted: Tue Oct 30, 2007 3:10 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Sun Nov 20, 2005 10:58 am
Posts: 633
Location: Malaysia
dari joomla configuration dah setkan enable?

pakai server based apa? windows ? linux?

_________________
- Time is a created thing. To say, "I don't have time" is like saying "I don't want to." - Lao-Tzu
Kisah Seorang WebDesigner yang Terlampau | http://www.skyvtec.com


Top
   
 
Posted: Tue Oct 30, 2007 3:15 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
sudah set enable...pakai linux based...


Top
  E-mail  
 
Posted: Tue Oct 30, 2007 5:35 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Jan 13, 2006 3:58 pm
Posts: 1188
Location: Kuala Lumpur, Malaysia
Newgal,

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


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


Kalo tak menjadi, site tu dalam folder ke? kalo dalam folder, sila modily nih:

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

#RewriteBase /


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

RewriteBase /namefolderyangcontainjoomla


hope it helps.

_________________
The Malaysian Joomla! Community | http://www.joomla-my.org
Fireboard Latest Posts Module| http://www.sayafuQaHa.com


Top
  E-mail  
 
Posted: Wed Oct 31, 2007 6:47 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
Fuqaha...
dah cuba dah...tak juga menjadi.... :'( kalau pakai localhost dia ada error content x display....kuar error 404 tu....
Try kat hosting plak trus page x kuar 500 external server.....
aduh pening2.... :-\


Top
  E-mail  
 
Posted: Wed Oct 31, 2007 12:54 pm 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Jan 13, 2006 3:58 pm
Posts: 1188
Location: Kuala Lumpur, Malaysia
aiyo..

ermm.. i got no other clue than this.

Mane ko dapat file htaccess ni? Aku tanye camni coz, all version of joomla (for example 1.0.13) have their own specific htaccess file. So,  katekan ko gune 1.0.13, you must use the htaccess file that comes with it. Ko tak boleh gune file dari 1.0.12 (in case you are upgrading). *i learnt this the hard way*

Hope it helps.

=)

_________________
The Malaysian Joomla! Community | http://www.joomla-my.org
Fireboard Latest Posts Module| http://www.sayafuQaHa.com


Top
  E-mail  
 
Posted: Thu Nov 01, 2007 2:33 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
htaccess file tu mmg dah ada sebelum aku tukar site jadi 1.0.13...masa tukar tu ok jeh no hal...nie nak buat SEF nie jeh semcm jeh...x jalan2 pun... :( error jeh...mmg file nie tuk 1.0.13 do kcheck mmg tul pun...jadi ada mana yg salah ker?  ???


Top
  E-mail  
 
Posted: Thu Nov 01, 2007 1:14 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Sun Jul 30, 2006 11:47 am
Posts: 15
sh404SEF ada bebrapa option untuk
advanced page .. try pakai without .htacces (index.php)

lagi satu kalau nak disabledkan by component try > by component


Top
   
 
Posted: Fri Nov 02, 2007 3:00 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
esham wrote:
sh404SEF ada bebrapa option untuk
advanced page .. try pakai without .htacces (index.php)

lagi satu kalau nak disabledkan by component try > by component


dah try dah guna without .htacces (index.php) tu tapi url akan kuar

http://www.mysite.com/index.php/contac-us.html

masih lagi ada index.php kat tgh2 tu...

yg disable by component tu kat ner? camner nak set? ???


Top
  E-mail  
 
Posted: Fri Nov 02, 2007 9:37 am 
User avatar
Joomla! Ace
Joomla! Ace
Offline

Joined: Fri Jan 13, 2006 3:58 pm
Posts: 1188
Location: Kuala Lumpur, Malaysia
Untuk set gune .htaccess (make sure htaccess.txt dah tukar jadi .htaccess)

Component > sh404 > Config > Advanced tab > Rewriting mod > with .htaccess (mod_rewrite) > lepas tu purge SEF URLs.

*remember, purge your browsers cache jgk (or Ctrl + F5 ).

by component tu.. notice tab Components kat config sh404 ?

_________________
The Malaysian Joomla! Community | http://www.joomla-my.org
Fireboard Latest Posts Module| http://www.sayafuQaHa.com


Top
  E-mail  
 
Posted: Sat Nov 03, 2007 3:46 am 
Joomla! Explorer
Joomla! Explorer
Offline

Joined: Wed Oct 11, 2006 6:40 am
Posts: 252
Fuqaha wrote:
Untuk set gune .htaccess (make sure htaccess.txt dah tukar jadi .htaccess)

Component > sh404 > Config > Advanced tab > Rewriting mod > with .htaccess (mod_rewrite) > lepas tu purge SEF URLs.

*remember, purge your browsers cache jgk (or Ctrl + F5 ).

by component tu.. notice tab Components kat config sh404 ?


First for all....
yes i did change  htaccess.txt to .htaccess
then set with .htaccess (mod_rewrite)
purge SEF Url pun dah buat
dan juga clean the cache memory....
still getting that error....

no luck i think... :'( urmmm....bila set without .htaccess
url is ok cuma ada index.php tgh2 tu....ishhhh....did i do something wrong or mmg hosting nie x support .htaccess kot...tu yang x leh nie....pelik....pelik... ??? sobo jelah... :-\


Top
  E-mail  
 
Posted: Mon Jun 29, 2009 7:57 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Jun 25, 2009 8:31 am
Posts: 2
Hai, problem saya pulak saya boleh add article dan publishnya tetapi sedikit terkilan bila klik kat read more atau apa-apa klik yang berkaitan yang diperlukan untuk details, keluar 404 not found dan bla bla pasal error page. Apa masalahnya dan please tolong saya selesaikan masalah ini.


Top
  E-mail  
 
Posted: Sun Aug 30, 2009 2:06 am 
User avatar
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Sun Aug 30, 2009 1:33 am
Posts: 1
Location: El Salvador
Eveytime I publish new content in my website, the URL SEF don't create the alias automatically.

Alway have to paste de dynamic address in the browser, until this the URL SEF it creates.

How can I set up this automatically?

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


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

Quick reply

 



Who is online

Users browsing this forum: No registered users and 9 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