You are here: Redirect « All PHP « IT news, forums, messages
Redirect

Posted by Peppermint on 12/08/06 18:24

I've got a catalog of static pages in HTML and have a site hosted on a
shared Red Hat server running Apache, php 4.4.4

It the site there are a few hundred pages of a catalog; I'd like to be
able to redirect users to a particular page by URL
For example, if they were to go to http://mysite.com/catalog/aaa they
should be redirected to http://mysite.com/catalog/AAA.html

I can get to the .htaccess file but can't figure out how to do this
using just this, as the files are case sensitive and always in the
format [A-Z0-9][A-Z0-9][A-Z0-9].html, ie. X12.html. It's always
uppercase. So far I haven't been able to figure this out using just
..htaccess because of the case sensitive nature of the files. I hoped
that there might be a solution in PHP but have no idea what to look for.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация