Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 05:07 am EST

Geeklog Forums

Problem with url rewrite in htaccess for staticpages


Status: offline

tgc

Forum User
Regular Poster
Registered: 03/15/06
Posts: 82
I want to set up a url rewrite for my static pages so instead of
.../staticpages/index.php?page=test
I want
.../test.php

I put in my .htaccess file the following
Text Formatted Code
RewriteRule ^(.+).php staticpages/index.php?page=$1 [nc]


 
like explained here.

But when I want to acces the page, I get

Access to this page is denied. Either the page has been moved/removed or you do not have sufficient permissions.

Furthermore I can't access the staticpages editor at all until I turned off this rewrite rule again.

What do I miss Question

Frank
 Quote

All times are EST. The time is now 05:07 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content