hi,
i have installed "phpBB static URLs mod_rewrite 1.0.0" successfully.
the only mistake was , i´ve forgotten to upload robots.txt
and then i have changed
Code:post- -> beitrag-
forum- -> film-kino-forum-
about- -> kino-news-
unfortunally google found its way to the website before i´ve done this.
now there a lot of serps
with post-x.html because robots.txt was missing
no one with about-x.html because of the double content to post (lucky me)
and forum-y.html in the index of google.
now if added
Code:Disallow: beitrag-*.html$
Disallow: forum-*.html$
to robots.txt to lock out post, beitrag und forum
and added
Code:RewriteRule ^forum-([0-9]*).html film-kino-forum-$1.html [R=301,L]
RewriteRule ^forum-([0-9]*).* film-kino-forum-$1.html [R=301,L]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) beitrag-$1.html&highlight=$2 [R=301,L]
RewriteRule ^post-([0-9]*).* beitrag-$1.html [R=301,L]
to .htaccess, rewriting post and forum as long as they are in the index
this works also fine and the google results find their way to
the target.
my question is:
is this well done or only good luck of a stupid guy?
regards