Site Search:
 
Speak Korean Now!
Teach English Abroad and Get Paid to see the World!
Korean Job Discussion Forums Forum Index Korean Job Discussion Forums
"The Internet's Meeting Place for ESL/EFL Teachers from Around the World!"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Help me tell my website what to do. Please. SSI/shtml...

 
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum
View previous topic :: View next topic  
Author Message
Atavistic



Joined: 22 May 2006
Location: How totally stupid that Korean doesn't show in this area.

PostPosted: Fri Dec 14, 2007 2:50 pm    Post subject: Help me tell my website what to do. Please. SSI/shtml... Reply with quote

I have no idea what the correct terms are, so I'm going to try and explain this as much as I can.

Most of my pages are .shtml because I'm doing SSI. Because I designed my website like this from the beginning, I have NOT changed me .htaccess file to parse, yadda yadda. Fine. No problem.

But it used to be that if you went to www.mywebsitenamehere.com/gallery or /list or /whatever, it would automatically go to /whatever.shtml without displaying that in the browser bar. I could link just to /whatever and it was fine, it would find it. Now, for some reason, I must link to /whatever.shtml and that ugliness shows up in the browser bar.

A) Does anyone understand what I'm saying and b) does anyone know how to fix it?

I am looking for either

something that sort of says "OK, folks, if we find a /file, look for /file.html first and if that doesn't exist then look for /file.shtml and if that doesn't exist then look for /file.htm and if that doesn't exist then..."

OR

something that permanently redirects all /file to /file.shtml WITHOUT me having to manually write a redirect for every file on my site.

I DO have access to the .htaccess file.

Anyone? Please? Smile
Back to top
View user's profile Send private message
jeffkim1972



Joined: 10 Jan 2007
Location: Mokpo

PostPosted: Sat Dec 15, 2007 4:58 pm    Post subject: Reply with quote

Atavistic,

post your

.htaccess

and

httpd.conf

files, let's take a look.
Back to top
View user's profile Send private message
ttompatz



Joined: 05 Sep 2005
Location: Kwangju, South Korea

PostPosted: Sat Dec 15, 2007 5:48 pm    Post subject: Reply with quote

jeffkim1972 wrote:
Atavistic,

post your

.htaccess

and

httpd.conf

files, let's take a look.


It might also be in the server config.ini file (depending on what O/S and server software he is using).

From his brief and incomplete description, he wants to change/add to the acceptable default file name list and that would be in the server config file.
Back to top
View user's profile Send private message Send e-mail
tfunk



Joined: 12 Aug 2006
Location: Dublin, Ireland

PostPosted: Sun Dec 16, 2007 6:34 am    Post subject: Reply with quote

If you are using apache then make sure you have mod_rewrite enabled (phpinfo(); will tell you what's enabled)and then study up the Apache RewriteCond and RewriteRule directives (if you want to edit .htacess which is probably likely if you aren't running your own server).

Google 'friendly urls'.

I found this but didn't have time to review it:

http://www.phpriot.com/d/articles/php/application-design/search-engine-urls/index.html
Back to top
View user's profile Send private message Visit poster's website
The King of Kwangju



Joined: 10 Feb 2003
Location: New York City

PostPosted: Mon Dec 17, 2007 9:22 am    Post subject: Reply with quote

Here's a nice little tool:

http://www.mod-rewrite-wizard.com/
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


This page is maintained by the one and only Dave Sperling.
Contact Dave's ESL Cafe
Copyright © 2018 Dave Sperling. All Rights Reserved.

Powered by phpBB © 2001, 2002 phpBB Group

TEFL International Supports Dave's ESL Cafe
TEFL Courses, TESOL Course, English Teaching Jobs - TEFL International