Go Back   HostGator Peer Support Forums > HostGator Peer Support Forums > Shared Hosting Support

Notices

Reply
 
Thread Tools
  #1  
Old 10-21-2008, 03:08 PM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Unhappy Need Help Joomla 1.5 sh404SEF

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
Reply With Quote
  #2  
Old 10-21-2008, 03:17 PM
kmaw's Avatar
kmaw kmaw is offline
Emperor Croc
 
Join Date: Mar 2005
Location: Ontario, Canada
Posts: 1,924
Default Re: Need Help Joomla 1.5 sh404SEF

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.
Reply With Quote
  #3  
Old 10-21-2008, 03:30 PM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: Need Help Joomla 1.5 sh404SEF

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
Thats the error log. Btw i just commented out what you said. Also im using the latest for joomla 1.5
Reply With Quote
  #4  
Old 10-22-2008, 07:11 AM
dave g dave g is offline
Swamp Croc
 
Join Date: Mar 2005
Location: Ellington a cow town in Connecticut
Posts: 371
Default Re: Need Help Joomla 1.5 sh404SEF

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
Reply With Quote
  #5  
Old 10-22-2008, 07:29 AM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: Need Help Joomla 1.5 sh404SEF

Just did what you said no luck.
Reply With Quote
  #6  
Old 10-22-2008, 07:42 AM
kmaw's Avatar
kmaw kmaw is offline
Emperor Croc
 
Join Date: Mar 2005
Location: Ontario, Canada
Posts: 1,924
Default Re: Need Help Joomla 1.5 sh404SEF

I'm out of suggestions here.
Reply With Quote
  #7  
Old 10-22-2008, 01:59 PM
dave g dave g is offline
Swamp Croc
 
Join Date: Mar 2005
Location: Ellington a cow town in Connecticut
Posts: 371
Default Re: Need Help Joomla 1.5 sh404SEF

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
Reply With Quote
  #8  
Old 10-22-2008, 03:00 PM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: Need Help Joomla 1.5 sh404SEF

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.
Reply With Quote
  #9  
Old 10-22-2008, 03:23 PM
dave g dave g is offline
Swamp Croc
 
Join Date: Mar 2005
Location: Ellington a cow town in Connecticut
Posts: 371
Default Re: Need Help Joomla 1.5 sh404SEF

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:
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]
Reply With Quote
  #10  
Old 10-23-2008, 11:55 AM
kmaw's Avatar
kmaw kmaw is offline
Emperor Croc
 
Join Date: Mar 2005
Location: Ontario, Canada
Posts: 1,924
Default Re: Need Help Joomla 1.5 sh404SEF

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?
Reply With Quote
  #11  
Old 10-23-2008, 04:09 PM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: Need Help Joomla 1.5 sh404SEF

it doesnt work either. I have pretty much given up
Reply With Quote
  #12  
Old 10-23-2008, 04:55 PM
dave g dave g is offline
Swamp Croc
 
Join Date: Mar 2005
Location: Ellington a cow town in Connecticut
Posts: 371
Default Re: Need Help Joomla 1.5 sh404SEF

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
Reply With Quote
  #13  
Old 10-23-2008, 05:51 PM
FunWEbs FunWEbs is offline
Hatchling Croc
 
Join Date: Oct 2008
Posts: 7
Default Re: Need Help Joomla 1.5 sh404SEF

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.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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.