WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
Does this plugin do this? (9 posts)

  1. jiri2
    Member
    Posted 3 years ago #

    I'd like to save all the links that were coming to the previous owner of this expiring domain.

    I don't know the previous owner's permalink structure
    Nor do I know the specific URLs those backlinks were falling on.

    So all I have to do is leave source URL blank and put the domain name in the target URL? Or am I missing something here?

    http://wordpress.org/extend/plugins/redirection/

  2. John Godley
    Member
    Plugin Author

    Posted 3 years ago #

    What do you mean by save? You can redirect everything to somewhere else, or you can look at the 404 errors and see what is being hit

  3. jiri2
    Member
    Posted 3 years ago #

    If a 404 error is a server issue, this is not what Im looking for. I'm looking for a way to redirect all the pages I couldnt save of the previous website and redirect them onto the front page. Is this what 301 errors do? Does this plugin do this, and how? The Redirection plugin has a bunch of options: Redirects, Groups, Modules. In Redirects what would I put as the source URL if I don't know the specific pages the links went to? If I understand this well, my target URL would be my main page, but when it comes to modules, does my WP permalink structure have to mimic the previous owner's? And what do I do in the groups section? Thanks a ton, im lost

  4. John Godley
    Member
    Plugin Author

    Posted 3 years ago #

    A 404 is not a server issue, it is when someones accesses a page that does not exist. Yes, with Redirection you can redirect URLs. As I said, you can redirect everything from one site to another. To do this you would need a regular expression redirection such as /(.*) => http:/your-other-site/

  5. jiri2
    Member
    Posted 3 years ago #

    Thanks, now i understand, i have to put a star after the /

  6. jiri2
    Member
    Posted 3 years ago #

    Just so i'm sure about myself though, did you say ''/*'' or ''/(.*)''?

  7. John Godley
    Member
    Plugin Author

    Posted 3 years ago #

    If you want to redirect everything to a single target URL then either .* or (.*) will work

  8. jiri2
    Member
    Posted 3 years ago #

    Well I'm trying the following. I want to redirect everything in the subdirectories to the main domain. So for the source URL I'm inserting:

    mydomain.com/(.*)

    and the target URL

    mydomain.com

    However, it doesnt seem to be working because whenever I insert a subdirectory that I havent built yet into the address bar, I just get a 404 error and it doesn't redirect.

    I was looking for this to redirect all the 404 errors of links that fall onto lost pages the previous domain owner had, and I want to redirect them onto my main domain. But I seem to be failing.

  9. John Godley
    Member
    Plugin Author

    Posted 3 years ago #

    You need to enter relative source URLs - /(.*), not mydomain.com/(.*)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic