Welcome to Geeklog Monday, November 20 2017 @ 04:07 pm EST


Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/2005
Posts: 339
Location:Panama City, Republic of Panama
confused
This is probably going to sound dumb, but all of a sudden I can't find the .htaccess file. It should be in the root directory, right? Looks like it's gone missing. I'm digging through all of the directories and still can't find it. The funny thing is that everything seems to work just fine...

Anybody got an idea?

Don
www.panama-guide.com

Status: offline

winnerdk

Forum User
Full Member
Registered: 24/04/2005
Posts: 339
Location:Panama City, Republic of Panama
cheerful
Never mind, I figured it out. I could access the .htaccess file through the root access to the server, but for some reason it did not show up (at all) using FTP or File Manager in CPanel. Whatever. In any case, I fixed my problem.

Don
http://www.panama-guide.com

:kickcan:

Oleg

Anonymous
caffeinated
In CPanel, when opening File Manager, check the box "Show hidden files (dotted files)". It should work

Status: offline

beewee

Forum User
Full Member
Registered: 05/08/2003
Posts: 969
Location:The Netherlands, where else?
I believe that a default Geeklog installation doesn't have (and need) a .htaccess file.
Dutch Geeklog sites about camping/hiking: www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net

Status: offline

::Ben

Forum User
Full Member
Registered: 14/01/2005
Posts: 1569
Location:la rochelle, France
Hello,

Not sure because each one could need a specific file.

What would you put in this geeklog file?

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS

John

Anonymous
confused
Hi Winnerdk,

Could you please share how you sloved this problem because i'm having the same problem and i don't know what to do.

Thanks

Status: offline

ivy

Forum User
Full Member
Registered: 25/11/2004
Posts: 290
Location:Tokyo Japan
.htaccess example.


ErrorDocument 404 /404.php

# www.XXX.com
# RewriteEngine on
# RewriteCond %{HTTP_HOST} ^XXX\.com$
# RewriteRule ^(.*)$ http://www.XXX.com/$1 [R=301,L]

# XXX.com
# RewriteEngine on
# RewriteCond %{HTTP_HOST} ^www\.XXX\.com$
# RewriteRule ^(.*)$ http://XXX.com/$1 [R=301,L]



Geeklog Japan https://www.geeklog.jp

All times are EST. The time is now 04:07 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content