Help - Search - Members - Calendar
Full Version: .htaccess Help
Zymic Webmaster Forums > Web Design & Development > Server Side Scripting > PHP
Narkoleptika
Hello, I'm trying to achieve clean URLs using a .htaccess file with the following code:
CODE
RewriteEngine On
RewriteRule ^([a-zA-Z0-9]+)$ index.php?page=$1
RewriteRule ^([a-zA-Z0-9]+)/$ index.php?page=$1


This would allow my URLs to be something like this:
http://www.narkoleptika.com/home
instead of something like this:
http://www.narkoleptika.com/index.php?page=home

I'm not sure if there's something disabled with Zymic hosting that would disallow this or if I need to change something to satisfy some sort of requirement that Zymic has in place; it works fine on my test server on my home computer.

Any and all help is greatly appreciated.
Thank you.
Ed
Add:

CODE
RewriteBase /
Narkoleptika
Thank you very much! Im on my phone at work right now so Ill see if it works when I get home around 12 PST smile.gif
Narkoleptika
Works like a charm now!
Thank you very much! smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.