i trying make links seo friendly, current links this:
site.dev/al/?page=about
and trying change this:
site.dev/al/about
below can see have been trying in
.htaccess
so far:
<ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule ^(.*)$ ?page=$1 [l,ns] rewriterule ^([^/]*)$ ?page=$1 [l] </ifmodule>
this apache log message:
[wed apr 05 20:35:44 2017] [error] [client 127.0.0.1] request exceeded limit of 10 internal redirects due probable configuration error. use 'limitinternalrecursion' increase limit if necessary. use 'loglevel debug' backtrace.
have rule in <documentroot>/al/.htaccess
:
rewriteengine on rewritebase /al/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule .+ ?page=$0 [l,qsa]
Comments
Post a Comment