Hi there
I have commenced work on a CMS app.
My starting point was creating a dynamic navigation script.
Now I want to ensure my URL's appear as static URL's.
What I want to do is have the URL appear as :
as this will be re-directed to index.php and I'll explode the URL etc to deterimine what content page to serve up.
So I created a .htaccess file with the following :
But now my dynamic navigation won't display - all I get are javascript errors.
My initial question is : Does the .htaccess file affect other code within files, e.g.
I hope someone can shed some light.
Thanks
Nigel Wilson
Christchurch Web Design
I have commenced work on a CMS app.
My starting point was creating a dynamic navigation script.
Now I want to ensure my URL's appear as static URL's.
What I want to do is have the URL appear as :
as this will be re-directed to index.php and I'll explode the URL etc to deterimine what content page to serve up.
So I created a .htaccess file with the following :
Code:
RewriteEngine on
RewriteRule ^(.*)$ index.php T=application/x-httpd-php]
But now my dynamic navigation won't display - all I get are javascript errors.
My initial question is : Does the .htaccess file affect other code within files, e.g.
Code:
<SCRIPT LANGUAGE="JavaScript" SRC="files/scripts/lw_layers.js"></SCRIPT>
I hope someone can shed some light.
Thanks
Nigel Wilson
Christchurch Web Design