Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
deleted 6 characters in body
Source Link
lorenzo
  • 307
  • 3
  • 13

I just moved a website to drupal 7 and I have problems with the redirects.

The old website had all urls like this: www.mywebsite.com/index.php?var1=aaa&var2=bbbwww.example.com/index.php?var1=aaa&var2=bbb (where aaa and bbb changed for the different pages)

In the new Drupal website I use alias, so for example the page: www.mywebsite.com/index.php?var1=aaa&var2=bbbwww.example.com/index.php?var1=aaa&var2=bbb now it is replaced by www.mywebsite.com/content/somethingwww.example.com/content/something

I tried to redirect the old url to the new one with two different methods, but both failed. They redirect the users to the homepage.

  1. I create an alias
  2. I added a rewrite rule in the .htaccess file RewriteRule /index.php?var1=aaa&var2=bbb /content/something

As I said, both of them redirect to the homepage.

Any idea? thanks!

I just moved a website to drupal 7 and I have problems with the redirects.

The old website had all urls like this: www.mywebsite.com/index.php?var1=aaa&var2=bbb (where aaa and bbb changed for the different pages)

In the new Drupal website I use alias, so for example the page: www.mywebsite.com/index.php?var1=aaa&var2=bbb now it is replaced by www.mywebsite.com/content/something

I tried to redirect the old url to the new one with two different methods, but both failed. They redirect the users to the homepage.

  1. I create an alias
  2. I added a rewrite rule in the .htaccess file RewriteRule /index.php?var1=aaa&var2=bbb /content/something

As I said, both of them redirect to the homepage.

Any idea? thanks!

I just moved a website to drupal 7 and I have problems with the redirects.

The old website had all urls like this: www.example.com/index.php?var1=aaa&var2=bbb (where aaa and bbb changed for the different pages)

In the new Drupal website I use alias, so for example the page: www.example.com/index.php?var1=aaa&var2=bbb now it is replaced by www.example.com/content/something

I tried to redirect the old url to the new one with two different methods, but both failed. They redirect the users to the homepage.

  1. I create an alias
  2. I added a rewrite rule in the .htaccess file RewriteRule /index.php?var1=aaa&var2=bbb /content/something

As I said, both of them redirect to the homepage.

Any idea? thanks!

Source Link
lorenzo
  • 307
  • 3
  • 13

redirect index.php?var1=aaa&var2=bbb

I just moved a website to drupal 7 and I have problems with the redirects.

The old website had all urls like this: www.mywebsite.com/index.php?var1=aaa&var2=bbb (where aaa and bbb changed for the different pages)

In the new Drupal website I use alias, so for example the page: www.mywebsite.com/index.php?var1=aaa&var2=bbb now it is replaced by www.mywebsite.com/content/something

I tried to redirect the old url to the new one with two different methods, but both failed. They redirect the users to the homepage.

  1. I create an alias
  2. I added a rewrite rule in the .htaccess file RewriteRule /index.php?var1=aaa&var2=bbb /content/something

As I said, both of them redirect to the homepage.

Any idea? thanks!