404 error when I tried to remove the index.php from the url - Joomla! Forum - community, help and support


hi everyone! i’m facing problem when tried remove index.php url of website http://www.sunrise-agistri.gr
-> have renamed htaccess.txt .htaccess
-> have put "use url rewriting"-yes
-> whichever page go , shows me 404(apart initial page)
the change accepted, means if click on accommodation, on address bar appears http://www.sunrise-agistri.gr/en/accommodation… , not http://www.sunrise-agistri.gr/index.php ... ommodation , did before.
but page not shown (404)
i tried remove # , rewrite base , no result.

so, previous situation..
"use url rewriting"-yes
and file .htaccess before Ι changed it, there won't problem on appearance of page


i appose .htaccess in case can me. thank lot!

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

php_value safe_mode off
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.

are sure webhost supports url rewriting via mod_rewrite?





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support