Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

yanzen on "301-redirect in htaccess"

$
0
0

I know it is not strictly a zenphoto-issue, but I htought maybe someone here has had solved it already.

I am trying to achieve a 301-redirect of a page to a news category through htacess. The page is called "foo", the news-category is called "bar", so /pages/foo should redirect to /news/category/bar

So far I use

Redirect 301 /pages/foo http://www.mysite.de/news/category/bar

The problem is, that it somehow adds the non-beautified url-paramaeters to the end, so when I click on the menu item "foo" I get redirected to

mysite.de/news/category/bar?p=pages&title=foo

Does anyone know how I can prevent the rule from adding "?p=..."?

Thanks a lot and Happy Christmas


Viewing all articles
Browse latest Browse all 2917

Trending Articles