Advertisement

.htaccess already exists?

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

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
rteeples
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Fri Mar 23, 2007 9:43 pm

.htaccess already exists?

Post by rteeples » Mon Feb 25, 2008 11:59 pm

I'm trying to turn on the SEF URLS in the global config, but when I try to rename the htaccess.txt file to .htaccess, it tells me there already exists a file with that name.

How can I fix this?

Advertisement
User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: .htaccess already exists?

Post by brad » Tue Feb 26, 2008 12:03 am

Merge or replace it.

Take a backup first, and you can't go wrong.

rteeples
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Fri Mar 23, 2007 9:43 pm

Re: .htaccess already exists?

Post by rteeples » Tue Feb 26, 2008 12:12 am

Thanks, Brad,

Do I merge the ones in the www folder, or the ones in the public_html folder?

Is there any trick to merging them?
Feel free to check out my Joomla site (it's free): http://www.LearningMarkets.com

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: .htaccess already exists?

Post by brad » Tue Feb 26, 2008 12:20 am

Most likely, the www is just an alias to public_html. Chances are that the existing .htaccess file is even blank. Have you checked?

rteeples
Joomla! Intern
Joomla! Intern
Posts: 69
Joined: Fri Mar 23, 2007 9:43 pm

Re: .htaccess already exists?

Post by rteeples » Tue Feb 26, 2008 12:29 am

Yep. It was empty. I deleted it and renamed the txt file, and voila, it worked like a charm.

Thanks for the help.
Feel free to check out my Joomla site (it's free): http://www.LearningMarkets.com

User avatar
brad
Joomla! Master
Joomla! Master
Posts: 13272
Joined: Fri Aug 12, 2005 12:38 am
Location: Australia
Contact:

Re: .htaccess already exists?

Post by brad » Tue Feb 26, 2008 2:24 am

Good work, I'm glad it was that easy.

Have a good one.

smartfoxcoupons
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Thu Sep 30, 2010 5:56 pm

Re: .htaccess already exists?

Post by smartfoxcoupons » Tue Aug 30, 2011 4:58 pm

Thank you so much for keeping this help topic online. I had this same issue (6 years later!). I renamed the .htaccess file to .htaccesss.txt (I didn't want to delete it in case I needed it again) and commented out the three lines that were in it and renamed htaccess.txt to .htaccess that it worked like a charm.

shikz
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed May 14, 2014 10:44 am

Re: .htaccess already exists?

Post by shikz » Wed May 14, 2014 10:56 am

Hi,

I am also facing this issue.
Show Hidden Files (dotfiles) is checked and I can see .htaccess file which is not blank.
One more file is there which is empty .htaccess-1397112620
Both of them are hidden files as I can see htaccess.txt whether I check the option or not for hidden file.
When I search through search all your files I can also find .htaccess in public_html/admin/components/com_osefileman/config and public_html/admin/components/com_osefileman/include.

I can also see htaccess and htaccess.php files too.

Please help how to rename txt file in this case. :(

Advertisement

Locked

Return to “General Questions - 1.0.x”