Use URL rewriting is crashing my website...

Premium, Furniture Joomla Design Shop Template with K2Store support
GK User
Wed Mar 06, 2013 9:50 am
Use URL rewriting is crashing my website...
It's not wroking, and i don't know why...

anybody?

SEO Settings

Search Engine Friendly URLs Yes
Use URL rewriting Yes
Adds Suffix to URL No
Unicode Aliase Yes

http://www.femkevanhellemont.be

.htacces file is:


##
# @package Joomla
# @copyright Copyright (C) 2005 - 2013 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

## Mod_rewrite in use.

RewriteEngine On

## 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 base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%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})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

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

RewriteBase /femkevanhellemont.be

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.
User avatar
Fresh Boarder

teitbite
Wed Mar 06, 2013 10:43 am
Hi

If You want to use "Use URL rewriting" option please check if Your server supports mod_rewrite and if htaccess.txt file is renamed to .htaccess in joomla root directory.
User avatar
Moderator

GK User
Fri Mar 08, 2013 9:56 am
Hey,

my server supports mod_rewrite, and my htaccess.txt file is renamed to .htaccess.
Can you check please? This is muchos importante, i need to online this website ASAP!
User avatar
Fresh Boarder

teitbite
Fri Mar 08, 2013 11:08 am
Hi

I can see site is working correctly when mod_rewrite is unpublished. Please try replace the file with the one from clean joomla version I've attached if this will not work, than You need to ask Your host provider about mod_rewrite configuration.
User avatar
Moderator

GK User
Mon Mar 11, 2013 11:56 am
OMG this is working! :) :D

I replaced the .htacces file with a clean joomla2.5 file! and it worked! :)


THX A LOT!!!!
User avatar
Fresh Boarder

teitbite
Mon Mar 11, 2013 5:10 pm
Hi

No problem. Glad I could help :)
User avatar
Moderator

GK User
Mon Jul 01, 2013 10:05 am
teitbite wrote:Hi

No problem. Glad I could help :)


I have the same problem when I activate the URL rewrite. is there any chance you can help me with this?

thank you in advance!
User avatar
Senior Boarder

teitbite
Mon Jul 01, 2013 7:24 pm
Hi

If it's the same problem than maybe solution will be the same :) Try replacing Your .htaccess file with a file which comes with a clean joomla installation.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.