Support » Fixing WordPress » Should you alter the URL after setup – subdomain problem

  • dorich

    (@dorich)


    I originally set up my site using the URL format = http://www.example.com/subdomain – I had no experience of doing this and assumed that it wouldn’t make any difference if I used
    the www version or subdomain.example.com.

    Now I’ve found a problem with AJAX loads that requires that pages have the subdomain.example.com format.

    I can see two ways of approaching this:

    • Edit all the permalinks, about 25, and change everything to the correct format.
    • Use a redirect in .htaccess, something I have no experience of.

    The site is still in development so I don’t have to worry changing the url from the point of view of historic visitors.

    Question: Can anyone with experience in this area offer advice on the best approach to making this change – pitfalls, problems, pros, cons???

    Thanks

Viewing 1 replies (of 1 total)
  • webjunk

    (@webjunk)

    If the site resolves using the subdomain then you need WP to have that as the site URL. If it is as /subdomain then you need to check how you are resolving www vs. non-www and edit site URL appropriatly.

Viewing 1 replies (of 1 total)
  • The topic ‘Should you alter the URL after setup – subdomain problem’ is closed to new replies.