URLs are case sensitive?

Having trouble installing serendipity?
Post Reply
yep911
Regular
Posts: 6
Joined: Tue Mar 30, 2010 4:32 pm

URLs are case sensitive?

Post by yep911 »

During installation I created a folder using capital letters: DentalBlog
when I tried to rename folder to all lower case letters the links stopped working and I was getting 404 page. So I renamed it back to DentalBlog and in hosting specified a redirect if someone enters all lower case to point to DentalBlog.
http://www.affordablediscountdentalplan ... entalBlog/
Google still gets the 404 page. What can I do?
This is how Googlebot fetched the page.

URL: http://affordablediscountdentalplans.com/DentalBlog/

Date: Mon Mar 29 23:06:45 PDT 2010

Googlebot Type: Web

HTTP/1.1 404 Not Found
Date: Tue, 30 Mar 2010 06:02:43 GMT
Server: Apache
Content-Length: 328
Connection: close
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL /DentalBlog/ was not found on this server.</p>
<p>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URLs are case sensitive?

Post by garvinhicking »

Hi!

On linux, directory names on Apache Webservers are case sensitive, yes.

Checlk your .htaccess file if it still contains mentions of /dentalblog, and make sure that all configuration options use DentalBlog again.

Regards
,Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: URLs are case sensitive?

Post by garvinhicking »

Hi!
yep911 wrote:What should I do to make this directory all lowercase?
Rename the directory, log in to the s9y backend, go to the configuration, change all related path settings to be lowercase, check your .htaccess so that it really also contains lowercase letters.

You might also want to use a tool like phpMyAdmin to check the serendipity_config and serendipity_plugins database tables for any occurence of the old path and make those values lowercase.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply