how to change sequance of links - Joomla! Forum - community, help and support
hi want change htaccess link change
now like that
http://portalhunt.com/special-coverage/ ... ers-island
but want way
http://www.portalhunt.com/chambers-island-3161
the difference 3161 article id in begining want on last
my .htaccess that
##
# @version $id: htaccess.txt 4756 2006-08-25 16:07:11z stingrey $
# @package joomla
# @copyright copyright (c) 2005 open source matters. rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html gnu/gpl
# joomla! free software
##
#####################################################
# read if choose use file
#
# line below section: 'options followsymlinks' may cause problems
# server configurations. required use of mod_rewrite, may already
# set server administrator in way dissallows changing in
# .htaccess file. if using causes server error out, comment out (add #
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
#
# use 1 of 2 sef sections follow. lines can uncommented
# (and used) have 1 #. lines 2 #'s should not uncommented
# in section don't use, lines should start #
#
# standard sef, use standard sef section. can comment out
# of rewritecond lines , reduce server's load if you
# don't have directories in root named 'component' or 'content'
#
# if using 3rd party sef or core sef solution
# uncomment of lines in '3rd party or core sef' section
#
#####################################################
##### solving problems component url's don't work #####
# special note smf users when smf integrated , bridged
# or situation component's url's aren't working
#
# in both 'standard sef', , '3rd party or core sef' sections line:
# rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
# may need uncommented. if running joomla/mambo from
# subdirectory name of subdirectory need inserted this
# line. example, if joomla/mambo in subdirectory called '/test/',
# change this:
# rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
# this:
# rewritecond %{request_uri} ^(/test/component/option,com) [nc,or] ##optional - see notes##
#
#####################################################
## can commented out if causes errors, see notes above.
options followsymlinks
#
# mod_rewrite in use
rewriteengine on
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla/mambodirectory (just / root)
# rewritebase /
########## begin - joomla! core sef section
############# use section if using joomla! core sef
## (rewritecond) lines in section required if actually
## have directories named 'content' or 'component' on server
## if not have directories 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 section if using 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 block out common exploits
## if experience problems on site block out operations listed below
## attempts block common type of exploit `attempts` joomla!
#
# block out script trying set mosconfig value through url
rewritecond %{query_string} mosconfig_[a-za-z_]{1,21}(=|\%3d) [or]
# block out script trying base64_encode crap send via url
rewritecond %{query_string} base64_encode.*\(.*\) [or]
# block out script includes <script> tag in url
rewritecond %{query_string} (\<|%3c).*script.*(\>|%3e) [nc,or]
# block out script trying set php globals variable via url
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# send blocked request homepage 403 forbidden error!
rewriterule ^(.*)$ index.php [f,l]
#
########## end - rewrite rules block out common exploits
please me important
thanks
now like that
http://portalhunt.com/special-coverage/ ... ers-island
but want way
http://www.portalhunt.com/chambers-island-3161
the difference 3161 article id in begining want on last
my .htaccess that
##
# @version $id: htaccess.txt 4756 2006-08-25 16:07:11z stingrey $
# @package joomla
# @copyright copyright (c) 2005 open source matters. rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html gnu/gpl
# joomla! free software
##
#####################################################
# read if choose use file
#
# line below section: 'options followsymlinks' may cause problems
# server configurations. required use of mod_rewrite, may already
# set server administrator in way dissallows changing in
# .htaccess file. if using causes server error out, comment out (add #
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
#
# use 1 of 2 sef sections follow. lines can uncommented
# (and used) have 1 #. lines 2 #'s should not uncommented
# in section don't use, lines should start #
#
# standard sef, use standard sef section. can comment out
# of rewritecond lines , reduce server's load if you
# don't have directories in root named 'component' or 'content'
#
# if using 3rd party sef or core sef solution
# uncomment of lines in '3rd party or core sef' section
#
#####################################################
##### solving problems component url's don't work #####
# special note smf users when smf integrated , bridged
# or situation component's url's aren't working
#
# in both 'standard sef', , '3rd party or core sef' sections line:
# rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
# may need uncommented. if running joomla/mambo from
# subdirectory name of subdirectory need inserted this
# line. example, if joomla/mambo in subdirectory called '/test/',
# change this:
# rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
# this:
# rewritecond %{request_uri} ^(/test/component/option,com) [nc,or] ##optional - see notes##
#
#####################################################
## can commented out if causes errors, see notes above.
options followsymlinks
#
# mod_rewrite in use
rewriteengine on
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla/mambodirectory (just / root)
# rewritebase /
########## begin - joomla! core sef section
############# use section if using joomla! core sef
## (rewritecond) lines in section required if actually
## have directories named 'content' or 'component' on server
## if not have directories 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 section if using 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 block out common exploits
## if experience problems on site block out operations listed below
## attempts block common type of exploit `attempts` joomla!
#
# block out script trying set mosconfig value through url
rewritecond %{query_string} mosconfig_[a-za-z_]{1,21}(=|\%3d) [or]
# block out script trying base64_encode crap send via url
rewritecond %{query_string} base64_encode.*\(.*\) [or]
# block out script includes <script> tag in url
rewritecond %{query_string} (\<|%3c).*script.*(\>|%3e) [nc,or]
# block out script trying set php globals variable via url
rewritecond %{query_string} globals(=|\[|\%[0-9a-z]{0,2}) [or]
# block out script trying modify _request variable via url
rewritecond %{query_string} _request(=|\[|\%[0-9a-z]{0,2})
# send blocked request homepage 403 forbidden error!
rewriterule ^(.*)$ index.php [f,l]
#
########## end - rewrite rules block out common exploits
please me important
thanks
within sh404sef turn catagories / sections off, problem solved. assuming have installed displayed in .htaccess.
Comments
Post a Comment