• Hello everyone,
    I have issues with WP installed at subdomain. Could anyone help me with this issue?

    Let’s say we have domain to which wordpress was installed into the folder “wp”. So wordpress (main page) is accessible on domain wp.domain.com

    So we had following scenario:
    Static web:www.domain.com
    WordPress: wp.domain.com

    Actual WP links – for example products: domain.com/wp/product-category/audi/

    We have moved the static pages to another hosting, so right now we are in following situation:

    Hosting A: static pages www.domain.com is working fine
    Hosting B: WordPress wp.domain.com is working fine
    But WordPress itself is not working as every page address is used like domain.com/wp/product-category/audi/

    But this is redirected to the new hosting with static pages. so WP is not working.

    How should I transform WP in order to make WP work on subdomain at Hosting B? I assume the WP should work at something like thiswp.domain.com/wp/

    How should I make WP work with the subdomain?
    Thank you for any help.

    • This topic was modified 8 years, 8 months ago by juros89.
    • This topic was modified 8 years, 8 months ago by juros89.
    • This topic was modified 8 years, 8 months ago by juros89.
Viewing 3 replies - 1 through 3 (of 3 total)
  • If I’m understanding correctly, your static pages are linking to the wordpress site like this: domain.com/wp/product-category/audi

    They should instead link to the page like this: wp.doamin.com/product-category/audi

    You don’t need the /wp on the end of the subdomain if you have the subdomain already pointing to the domain.com/wp folder.

    Hope that helps!

    Thread Starter juros89

    (@juros89)

    Well, not really.

    static web: http://www.domain.com (hosting A)
    WordPress: wordpress.domain.com (hosting B)

    DNS records for http://www.domain.com are pointing to hosting A server.
    DNS records for wordpress.domain.com are pointing to hosting B server.

    On hosting A, there is static website no wordpress.

    But all links on wordpress page looks like `www.domain.com/WP/… which is bad as DNS point this to hosting A where is no wordpress, so only main site of WP is working.

    Not sure what you mean by ‘links on the wordpress page’. If that ‘wordpress page’ is on the static site linking to the wordpress site, then, if you change your static page links to http://wordpress.domain.com/… instead of http://www.domain.com/WP/… it should work.

    Links from hosting A to hosting B should be written as href=’wordpress.domain.com/…’. Links from wordpress.domain.com to the static site should be written as href=”www.domain.com/…”

    If you give me a link to the sites I might could help more.

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

The topic ‘WP at subdomain not working’ is closed to new replies.