Post by wakabayashi » Wed Feb 06, 2013 5:31 am

I'm using a module which doesn't support the seo-keywords for rewritting the urls. I'm confused with the .htaccess because I think it doesn't work normal. I need to rewrite 2 urls.

I want to rewrite this url: http://www.chesspoint.ch/schachblog?page=2
to this: http://www.chesspoint.ch/page/2.php

I tried it with this rule:

Code: Select all

RewriteRule ^page/([^/]*)\.php$ /schachblog?page=$1 [L]
But its not working? What do I make wrong?

New member

Posts

Joined
Thu Aug 04, 2011 2:55 am

Post by Avvici » Thu Feb 07, 2013 6:12 pm

The internet is full of good examples of how to do a proper 301 redirect. Please search and find.

And example: http://ndesign-studio.com/blog/301-htaccess-redirect

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by wakabayashi » Thu Feb 07, 2013 10:46 pm

Thanks for you answer. But ofc i searched before I opened the Thread. I'm also been able to make normal 301 redirects. I just have the problem with the above!

In my htaccess file I have for example:

Code: Select all

RewriteRule ^Shop/Lehrmittel/$ /schach-lernen [R=301,L]
This works perfect. But where is the Problem with the code above?

New member

Posts

Joined
Thu Aug 04, 2011 2:55 am
Who is online

Users browsing this forum: Bing [Bot] and 74 guests