404 error on articles after SEO changes - Joomla! Forum - community, help and support
i installed joomla , template. use godaddy. links worked long , untidy. did not know doing, pressed "yes" search engine friendly urls , use url rewriting. when did this, got errors. tried disabling, enabling, etc , no matter what, errors. later learned change htaccess.txt file .htaccess. did this, kept 2 options mentioned "yes," , worked on contact module. however, articles remain 404 errors. should do?
here code .htaccess file:
here code .htaccess file:
code: select all
##
# @package joomla
# @copyright copyright (c) 2005 - 2012 open source matters. rights reserved.
# @license gnu general public license version 2 or later; see license.txt
##
##
# 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 # to
# beginning of line), reload site in browser , test sef url's. if work,
# has been set server administrator , not need set here.
##
## can commented out if causes errors, see notes above.
options +followsymlinks
## mod_rewrite in use.
rewriteengine on
## 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 base64_encode data within url.
rewritecond %{query_string} base64_encode[^(]*\([^)]*\) [or]
# block out script includes <script> tag in url.
rewritecond %{query_string} (<|%3c)([^s]*s)+cript.*(>|%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})
# return 403 forbidden header , show content of root homepage
rewriterule .* index.php [f]
#
## end - rewrite rules block out common exploits.
## begin - custom redirects
#
# if need redirect pages, or set canonical non-www to
# www redirect (or vice versa), place code here. ensure those
# redirects use correct rewriterule syntax , [r=301,l] flags.
#
## end - custom redirects
##
# uncomment following line if webserver's url
# not directly related physical file paths.
# update joomla! directory (just / root).
##
# rewritebase /
## begin - joomla! core sef section.
#
rewriterule .* - [e=http_authorization:%{http:authorization}]
#
# if requested path , file not /index.php , request
# has not been internally rewritten index.php script
rewritecond %{request_uri} !^/index\.php
# , request within component folder,
# or site root, or extensionless url, or the
# requested url ends 1 of listed extensions
rewritecond %{request_uri} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [nc]
# , requested path , file doesn't directly match physical file
rewritecond %{request_filename} !-f
# , requested path , file doesn't directly match physical folder
rewritecond %{request_filename} !-d
# internally rewrite request index.php script
rewriterule .* index.php [l]
#
## end - joomla! core sef section.
what url?
Comments
Post a Comment