• eliza49

    (@eliza49)


    Hi!

    I have moved content around on my website, and have redirected all the appropriate URL’s in my htaccess file. For example:

    redirect 301 /blog/2009/05/something-something/ https://www.domain.com/page/subpage/

    This all works fine. The trouble is, that Google seems to have indexed some of my most important blogposts with the id URL, like https://www.domain.com/blog/?p=1048. Now when writing a redirect in my htaccess file for these, the redirect simply doesn’t seem to work.

    This is what I am entering:

    redirect 301 /blog/?p=1048 https://www.domain.com/page/subpage/

    Still, I am getting a “not found” error when trying to go to https://www.domain.com/blog/?p=1048

    I need to find a solution so as not to lose the Google ranking of these pages, so if anyone has an idea that would be much appreciated!

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘301 redirects in .htaccess of URL’s like “/blog/?p=545”’ is closed to new replies.