|
#1
|
|||
|
|||
|
Hi im trying to change the url to make it more seo frinedly using sh404SEF. But whenever i do it nothing works except for my home page and i get a 404 error. Can someone please help?
Htaccess.Htaccess Source: Code:
##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z 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 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
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 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
# 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
############# Use this section if using ONLY Joomla! core SEF
## ALL (RewriteCond) lines in this section are only required if you actually
## have directories named 'content' or 'component' on your server
## If you do not have directories with these names, comment them out.
#
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
#
########## End - Joomla! core SEF Section
########## Begin - 3rd Party SEF Section
############# Use this section if you are using a 3rd party (Non Joomla! core) SEF extension - e.g. OpenSEF, 404_SEF, 404SEFx, SEF Advance, etc
#
RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional - see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
#
########## End - 3rd Party SEF Section
|
|
#2
|
||||
|
||||
|
What is in your error_log?
Make sure you're using the component compatible with Joomla 1.5 -- I had trouble getting it to work once upon a time and haven't tried since. What you've copied and pasted is the standard .htaccess for mod_write with Joomla. Try commenting out # Options +FollowSymLinks I'm not sure how shared servers are setup, but I know I need to do that with my dedicated because the way it's configured. |
|
#3
|
|||
|
|||
|
Code:
[Tue Oct 21 15:29:21 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:28:51 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:28:18 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:27:44 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:27:38 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:25:28 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/favicon.ico [Tue Oct 21 15:25:25 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/favicon.ico [Tue Oct 21 15:23:54 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:22:05 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:21:28 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:20:34 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/system/images/blue/notice-info.png [Tue Oct 21 15:20:34 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:18:22 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:18:05 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:18:02 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:17:49 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:40 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:37 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:33 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:24 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:10 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:16:05 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:14:50 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:13:40 2008] [error] [client 68.239.208.254] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:02:10 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:01:38 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:01:23 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 15:00:41 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:58:40 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:57:30 2008] [error] [client 68.192.153.17] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:36 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:25 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:22 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/system/images/blue/notice-info.png [Tue Oct 21 14:34:22 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:18 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:17 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:34:11 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/system/images/blue/notice-info.png [Tue Oct 21 14:34:11 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:33:32 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:33:15 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:30:19 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:23:37 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:23:30 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 14:22:44 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script [Tue Oct 21 13:39:17 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/funwebs [Tue Oct 21 13:34:59 2008] [error] [client 167.206.233.170] File does not exist: /home/funwebs/public_html/</script |
|
#4
|
|||
|
|||
|
FunWEbs
I have several Joomla 1.5x sites running sh404SEF and this is how I have it setup: Try in the Global Configuration-> Site-> SEO Settings set all 3 to "No" Also in your .htaccess you should be able to remove the "3rd Party SEF Section" section it is not part of the Joomla 1.5x .htaccess file and my Joomla/sh404SEF works fine with out it. Dave G |
|
#5
|
|||
|
|||
|
Just did what you said no luck.
|
|
#6
|
||||
|
||||
|
I'm out of suggestions here.
|
|
#7
|
|||
|
|||
|
Ok so first things first
Does the site work without sh404SEF being installed and the Joomla SEO turned off? then Does it work with the Joomla SEO turned on? A link to your site could be helpful. Dave G |
|
#8
|
|||
|
|||
|
The site is www.fun-webs.com It works fine with everything turned of and sh404sef turned off. Its just when anything in cluding joomla sef is on all the links go 404.
|
|
#9
|
|||
|
|||
|
Ok
Did you put back the stock htaccess file that comes with Joomla? make sure the following lines in the stock Joomla htaccess are not commented out and try your Joomla SEO again: Quote:
|
|
#10
|
||||
|
||||
|
Do you have a problem using the built in SEO in Joomla 1.5.x? I know it's not as good as that component, but it's a major improvement over 1.0.x
Did you try contacting the author of the component? Check the Joomla forums? |
|
#11
|
|||
|
|||
|
it doesnt work either. I have pretty much given up
|
|
#12
|
|||
|
|||
|
You cant give up yet
There is 3 more things to try: Do a google for: test mod_rewrite :it sounds like mod_rewrite it may not be working. Contact support and ask them to check your server/ site to see if mod_rewrite is working. I did note that you have a lot of plugins running, do any of them need to run with "System - Legacy" turned on if so try turning it off. Dave G |
|
#13
|
|||
|
|||
|
I a do have maybe one legacy componet/plugin mxcomment. Ill contact support now. Thanks for all the help btw
Edit: Contacted Support All they could say was mod_rewrite was enabled by default. Edit Again: Looks like we found the problem i did a mod_rewrite test and it failed sadly i used this website to find out how http://www.wallpaperama.com/forums/h...abled-t40.html. If you want to see for yoursellf go to www.fun-webs.com/rewrite.php Im going to contact support again. Contacted them waited for a response and it ended up being terminated. First promblem with hostgator support. Last edited by FunWEbs; 10-23-2008 at 06:03 PM. |
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Joomla! 1.5 please | goddessa | Suggestions | 20 | 08-26-2009 06:31 AM |
| Joomla | ufopsi.com | Webhosting | 18 | 06-23-2008 04:18 PM |
| Help with Joomla | journeyoftheanimals | Off-Topic | 4 | 04-02-2008 12:57 AM |
| CMS, Joomla, what to use? | Pitrow | Webhosting | 23 | 12-07-2007 11:42 AM |
| Joomla | joseacarras | Shared Hosting Support | 19 | 09-24-2007 02:39 AM |
All times are GMT -5. The time now is 06:15 PM.









