SEO fails with 404; .htaccess is blank, cannot be deleted etc

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
kalpax
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 28, 2005 6:33 pm

SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by kalpax » Thu May 18, 2006 8:08 am

I have joomla 1.08 on a webhost server and can't get SEO to work. On the same webserver, different domain, I have joomla 1.07 working with SEO, on linux/apache, it was simple to set up.

I probably fouled this up by installing OpenSEF before I'd enabled j's internal SEO, but I don't know. I've since uninstalled OpenSEF but hasn't helped.

There are several strange things here.

.htaccess exists but is empty. I'm unable to delete it via joomlaxplorer or the webhosts's file browser software.

If I paste the text from a htaccess.txt into .htaccess, immediate 404 errors result.

I can't turn SEF on in the j control panel because it's 404 after altering .htaccess.

I'm only able to edit the .htaccess file via a special form on the webhost control panel, is this normal?.

I can't find a way out of this, if someone could help that would be great.
Last edited by kalpax on Sat May 20, 2006 12:25 am, edited 1 time in total.

User avatar
toubkal
Joomla! Hero
Joomla! Hero
Posts: 2860
Joined: Thu Aug 18, 2005 4:35 pm
Location: Cheshire, England
Contact:

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by toubkal » Thu May 18, 2006 11:53 am

I would ask the web host

Many webhosts either do not allow .htaccess control at all or they limit what you are able to do within them

I had to move hosts for one site because the client's host would only allow .htaccess to be used for password securing folders

It is odd that you have one site ok though.

Talk to your host
Do you want the answer to be as vague as your question?

kalpax
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 28, 2005 6:33 pm

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by kalpax » Thu May 18, 2006 7:30 pm

Thanks. But my webhost does allow me to edit the .htaccess. I just can't paste the data in there without it busting everything.

Also they have already allowed apache to rewrite etc else other site wouldn't be SEO ok.

When one first installs j and turns on seo, it does nothing to .htaccess, right? You're supposed to then rename htaccess.txt to .htaccess. So, I wonder how I got a blank .htaccess, since I didn't create manually? Or do most apache websites start life with a blank .htaccess file? If so, the instructions for j seo might say "replace your .htaccess with one created by renaming htaccess.txt"?

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by dhuelsmann » Thu May 18, 2006 9:21 pm

Do you have FTP access to your site? If so you ought to be able to simply upload a new htaccess and overwrite the existing one. I use WS_FTP.

Regards

Dave
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kalpax
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 28, 2005 6:33 pm

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by kalpax » Fri May 19, 2006 4:14 am

I do have ftp access to the site. I put up the .htaccess file and got the 404-403 errors. Then I removed the .htaccess file. Now I'm locked out, nothing gets me anything other than 404-403. I've emailed the webhost but I sure don't understand this.

kalpax
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 28, 2005 6:33 pm

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by kalpax » Fri May 19, 2006 6:19 am

I'm still completely locked out of the site. I've replaced .htaccess, removed it, nothing fixes.

I realize now that the site that uses seo on this server is 1.07, wehre the new site is 1.08. I could never get 1.08 seo to work locally either (winxp + xampp). Is there a general issue with 1.08 and seo?

User avatar
dhuelsmann
Joomla! Master
Joomla! Master
Posts: 19659
Joined: Sun Oct 02, 2005 12:50 am
Location: Omaha, NE
Contact:

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by dhuelsmann » Fri May 19, 2006 12:30 pm

There is no issue with seo and 1.08. There was an htaccess file distrubuted with 1.08 and labelled htaccess.txt-dist, I believe. If you have that one, I would recommend you place that one as your active htaccess. Also, you can go into you configuration.php and disable seo by changing $mosConfig_sef = '1'; to $mosConfig_sef = '0';

Regards

Dave
Regards, Dave
Past Treasurer Open Source Matters, Inc.
Past Global Moderator
http://www.kiwaniswest.org

kalpax
Joomla! Intern
Joomla! Intern
Posts: 57
Joined: Wed Sep 28, 2005 6:33 pm

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc (solved)

Post by kalpax » Fri May 19, 2006 2:07 pm

ISP had to adjust something, solved, thanks!
Last edited by kalpax on Sat May 20, 2006 12:24 am, edited 1 time in total.

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: SEO fails with 404; .htaccess is blank, cannot be deleted etc

Post by kenmcd » Mon May 22, 2006 9:32 am

Installing OpenSEF would certainly not be the issue.

ALWAYS get Joomla core SEF working first.
If standard Joomla core SEF does not work, OpenSEF will not work.
██ LibreTraining


Locked

Return to “Administration - 1.0.x”