Menu Content

Podpora

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

Problem with installation
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: Problem with installation

Problem with installation 15 years, 12 months ago #5370

I installed Artio SEO. Turned SEF in global on, rewrite mod changed to .htaccess. I have Joomla 1.5.8/legacy. Php version 5.2.6. Mysql. This is what I put in my .htaccess file.... RewriteEngine on

#AuthName "Restricted Area"
#AuthUserFile "/home/xxx.xxx/.htpasswds/public_html/passwd"

#RewriteCond %{HTTP_REFERER} !^xxx.xxx/.*$ [NC]
#RewriteCond %{HTTP_REFERER} !^xxx.xxx$ [NC]
#RewriteCond %{HTTP_REFERER} !^www.xxx.xxx/.*$ [NC]
#RewriteCond %{HTTP_REFERER} !^www.xxx.xxx$ [NC]
#RewriteRule .*\.(jpg|jpeg|gif|png|bmp|js|css|html|swf|htm)$ - [F,NC]
#RewriteRule ^searchword/(.*)/ index.php?searchword=$1&option=com_search [QSA,NC]
# 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 dissallows 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

# 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 <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%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

<Files 403.shtml>
order allow,deny
allow from all
</Files>

RewriteCond %{HTTP_HOST} ^xxx.xxx$ [OR]
RewriteCond %{HTTP_HOST} ^www.xxx.xxx$
RewriteRule ^(.*)$ "http\:\/\/xxx\.xxx" [R=301,L]
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml


RewriteCond %{HTTP_REFERER} !^xxx.xxx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^xxx.xxx$ [NC]
RewriteCond %{HTTP_REFERER} !^xxx.xxx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^xxx.xxx$ [NC]
RewriteCond %{HTTP_REFERER} !^www.xxx.xxx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^www.xxx.xxx$ [NC]
RewriteCond %{HTTP_REFERER} !^www.xxx.xxx/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^www.xxx.xxx$ [NC]
RewriteRule .*\.(.*.*.*.*.*|jpg|jpeg|gif|png|bmp|image/jpeg)$ - [F,NC]

AuthUserFile "/home/xxx/.htpasswds/public_html/passwd"

I'm getting 404 errors. The new url appears but the error states it can't find the page. Let me also explain that I recently switched hosts, and changed templates. Everything was working fine before, but then I started having frontpage issues with a frontpage slider opening in frontpage and not in new window. Template company suggested disabling this extension... I uninstalled it and just reinstalled the newest version. This is a very valuable asset and would like to have it working again. Can you help me out with this. I may have messed up the format of this file.

Re:Problem with installation 15 years, 11 months ago #5381

Anyone?

Re:Problem with installation 15 years, 11 months ago #5385

All of the new urls are there so when I go to Artio comp and turn it on I can see the new urls but when you go to the page the url appears with a 404 error message.

Re:Problem with installation 15 years, 11 months ago #5390

I've copied the code from the installation instructions and I am still getting 404. I went into database and manually removed jos_redirection - unistalled and reinstalled Artio - still getting 404 error when enabled.

Re:Problem with installation 15 years, 11 months ago #5392

Okay. I've been writing to myself.. I'm learning..I renamed my old messed up .htaccess and created a new one copying the code provided, and it is all good. I just have one tab module that is opening up on frontpage that template co. saying SEO related.
  • Page:
  • 1
Přihlášení uživatele Prázdný