• Resolved Athmaus

    (@athmaus)


    I moved my site from a .net to .info

    All the posts and pages are redirecting but the ‘/’ page

    I log to analytics and i see that i still get over 100 hits a day on the root. When i goto the old site it does redirect me to the new site, so not sure why it is not working or I am still seeing hits in analytics, but i know that the traffic is still getting directed to the old site due to ad impressions (using different ad networks for ads on the .net and .info)

    I have on the quick redirects it set

    ‘/’ to ‘new domain’

    any issues why this might be happening?

    https://wordpress.org/plugins/quick-pagepost-redirect-plugin/

Viewing 4 replies - 1 through 4 (of 4 total)
  • First I need to understand what you are doing.

    Sounds like you still have the dot.net site still set up and you are just redirecting the links from the old site to the new site?

    If so, that is really the wrong way to go about moving a domain. If you want to move an entire domain, the best way is to forward it to the new domain at your registrar (where you bought the domain name from). That will cause any URL to the old site to go to the New domain and still keep all the query string and URL data. THEN, after it reaches the new site, you would redirect as needed. Of the structure is the same as the old site, no redirection would even be necessary.

    The plugin is really designed to handle redirects for pages/posts that may no longer exist (due to changing site layout or moving), pages/posts that have a new permalink (maybe you changed for SEO or just fixed a bad permalink), and even to create shorter links to a long page/post. It is not designed to redirect and entire site to a new domain. There are much more efficient (and simple) ways to do that.

    If that is not what you are trying to do, let me know and I will try and help you out.

    Oh, and to answer the actual question you asked:

    any issues why this might be happening?

    The answer is, yes, there are issues. Even in normal usage of the plugin, the home page of a WordPress site is a lot different than any other page of a site. Under normal setup, the home page is a list of posts. If you change it in the setting to go to another page, WordPress loads the page during the template redirect action. It basically does the same for the posts page too, and this overrides the plugin functionality because of when the plugin hooks into WordPress to look for a redirect. We can’t hook any sooner (in most cases) or the normal WordPress functionality would be bypassed and we would not be able to perform some of the checks we need to do to check the redirect.

    So redirecting the home page is always a challenge.

    BUT – if you REALLY need to redirect the home page, you can do this trick to force a redirect:

    1. Set the WordPress home page to a specific page that you have set up or create a new one and set that as the home page (Under Settings/Reading menu).
    2. Go in and Edit the page you set up as the home page.
    3. In the Page Post Redirect section of the edit screen, put in the URL of where you want the redirect to go and check the active box (set tyoe to 301 or 302).
    4. Update the page

    Your home page should now redirect to the page or URL you want.
    This will not work if you have the home page set as posts.

    Hope this helps.
    Regards,
    Don

    Thread Starter Athmaus

    (@athmaus)

    Actually we are moving domains from the .net to the .info

    I have the new domain setup. The problem is we get a lot of traffic on many of the posts plus the pages, so we are trying to 301 the traffic to the new domain to keep post integrity and SEO intact.

    I have used your plugin before dong this and it work, but this time the root traffic doesn’t, but the root page is blog roll of the most recent posts.

    Ok, makes sense.
    Then do what I mentioned about forcing the redirect. Set you homepage of the .net site to a page and then redirect that page. That should work and still maintain the integrity of the SEO results ( As WordPress will take care of the main homepage load and then it will redirect with a 301 to the new site home page ).

    Regards,
    Don

    Thread Starter Athmaus

    (@athmaus)

    Still very weird i did what oyu said:

    page: home = index
    page: posts = posts page

    i was gettign 100 sessions a day from those links, i put both of those to redirect to the root of the new site, and the traffic never was sent, it is like it disappeared

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘root page’ is closed to new replies.