Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Component breaks site links
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Component breaks site links

Component breaks site links 14 years, 5 months ago #13265

Hello,
i have installed the latest version of JoomSef on my 1.5 Joomla site and followed the guide and FAQ:
- created .htaccess using the one in documentation
- enabled SEF from global config of Joomla
- purged and then updated sef URLs
- double checked the rewrite base
- disabled Joomfish router
- and pretty much did everything i found in the fAQ and forum topics thats relevant to my problem

As soon as i enable SEF from global confing my server starts using sef redirects and everything but the front page breaks (cuz its not rewritten as its the root)
When i check in the "Manage SEF URLs" the redirects there are correct, meaning if i manually enter the full non-sef lnik with SEF disabled it opens the coresponding content, if i manually paste it with SEF on it tries to redirect it and gives me 404 error. I rly tried everything i found on ur forum that has something to do with these errors, and nothing helped.
I used ur component on older Joomla site in different enviroment and as far as i recall i had similar trouble but i manage to fix it...but now im stuck.
The server is managed by me so i have full access to do any changes needed. All help is appreciated. Thank u in advance.

Re:Component breaks site links 14 years, 5 months ago #13266

  • dajo
  • OFFLINE
  • Posts: 5069
Hello,

Make sure that the mod_rewrite is enabled on your server and that the .htaccess file is allowed in your web site root. You can also post your .htaccess file so I can take a look at it.

Best regards,
ARTIO Support Team
ARTIO Support Team

Re:Component breaks site links 14 years, 4 months ago #13293

.htaccess is in my sites root, and mod_rewrite is on from joomla settings. here is the .htacesss file im using (i rly just copied it from documentation):

 
##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 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 disallows 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.
#
#####################################################

## 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! Directory (just / for root)

RewriteBase /
 
 
########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core 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 tag in URL
RewriteCond %{QUERY_STRING} (\|%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
 

i hope this helps u understand my problem

Re:Component breaks site links 14 years, 4 months ago #13296

  • dajo
  • OFFLINE
  • Posts: 5069
The .htaccess file looks all right. Please make sure that the usage of .htaccess is allowed on your server (as described for example at: www.tildemark.com/software/servers/enabl...ccess-on-apache.html )

You can also try disabling JoomSEF and leave only the standard Joomla SEO with Apache mod_rewrite enabled to see if that works.

Best regards,
ARTIO Support Team
ARTIO Support Team

Re:Component breaks site links 14 years, 4 months ago #13304

Thank u for the quick replies.
My apache server config allows .htaccess files
LoadModule rewrite_module modules/mod_rewrite.so is uncommented,
Options FollowSymLinks,
AllowOverride All
are set in the httpd.conf.
I tested using joomla build in SEF with mod_rewrite on and it breaks the links. Any advice how to overcome this problem is appreciated

Re:Component breaks site links 14 years, 4 months ago #13329

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

If the standard Joomla SEF also doesn't work, there is no problem with JoomSEF but with your server configuration. Unfortunately, we can't offer you free support for this. You may try some very simple .htaccess file like:
RewriteEngine on
RewriteRule old-url new-url [R]

to see if your mod_rewrite even works correctly.
You can also use the mod_rewrite documentation: httpd.apache.org/docs/2.2/rewrite/
Or you can purchase 1 hour our support time and we'll try to find the problem directly on your server: www.artio.net/e-shop/support-services/joomla-related-support-1h

Best regards,
ARTIO Support Team
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný