Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6925681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:49:15+00:00 2026-05-27T10:49:15+00:00

I am migrating a website to a drupal CMS. I would like to know

  • 0

I am migrating a website to a drupal CMS.

I would like to know how google responds on a redirect from a redirect.
I’ll try to explain what i’m trying to accomplish:

The old situation: http://www.old-site.com/page?pid=123

The new situation: http://www.new-site.com/page/pagetitle

I want to create a 301 redirect in my .htaccess file as i have done for alot of other pages.
But in this particular situation the old page id (pid) is not known in the new website.

My plan is to create the following rewrite rules:

RewriteCond %{QUERY_STRING} ^pid=(.*)$
RewriteRule ^page.aspx$ page-redirect/%1? [R=301,L,NC]

Right now i have the correct page id. What i then want to do is create a little script that rewrites the url from page-redirect/123 to page-redirect/newtitle as i do know the title that comes with the id

Then i want to have the following rule handle the new title:

RewriteRule ^page-redirect/(.*)$ page/%1? [R=301,L,NC]

So basicly the bottomline question is: How does this affect the google index? Our client wants to maintain his (good) organic results in google.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T10:49:15+00:00Added an answer on May 27, 2026 at 10:49 am

    Instead of Redirecting from page.aspx to page-redirect, why not Rewrite to page-redirect. That way page-redirect can figure out the final url page-redirect/newtitle and issue a single 301 redirect for it i.e.

    RewriteCond %{QUERY_STRING} ^pid=(.*)$
    #just do a server side rewrite instead of a redirect
    RewriteRule ^page.aspx$ page-redirect/%1? [L,NC]
    

    The redirect logic will exist within your page-redirect code.

    If you still choose to do 2 301 redirects, it is not ideal, but Google should transfer the page-rank of the old urls to the new ones.

    Note that either way, when you do move content via a 301 (1 or 2), you should expect a temporary dip in your page rank as your old pages drop off the index and the new ones are added.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm migrating my library's website from webcal to google calendar. The site is written
i am migrating a website from asp to asp.net. i have some asp pages
i am migrating a website from asp.net to asp.net mvc in the asp.net site
I have a website in which I am migrating membership from ASP.NET services to
I am working on a project to migrate a website from asp.net to drupal
hey again stackoverflowers I'm migrating a website from old ASP (in VBScript) and there's
I have been migrating a client's website from a Bluehost account to my own
I'm migrating a Website from Rails 2 (latest) to Rails 3 (beta2). Testing with
Background: We are migrating a website hosted on a dot net based custom CMS
I'm migrating a website from a server that has Apache web-server to another server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.