• I have a domain name (http://www.the-rodeo.com) which I currently have set to forward to my current host (home.exetel.com.au/rodeoclown/).
    One of these days (read: when I get some cash) I’ll actually get a real host and setup the dns properly but for now…

    I set the blog address to the-rodeo.com and the wordpress URI to the host address. This works fine, with all permalinks going to the the-rodeo.com address BUT the next page link at the bottom of the page (and in categories etc) gives a wrong URI (www.the-rodeo.com/rodeoclown/?paged=2).

    I tracked down the error to the wp-includestemplate-functions-links.php file and the get_pagenum_link function, but I can’t figure out why it is happening. The first line: $qstr = $_SERVER['REQUEST_URI']; returns /rodeoclown/ (not sure about the slashes), and I’m not really sure why.

    Anyhow, for now I’ve fixed the problem with a massive hack (str_replace('/rodeoclown','',$qstr);) right before the return, but I really don’t like this and would like to fix it properly.

    Any ideas as to how to make this work properly?

    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • With redirects there is always a problem. WP just doesn’t “like” them. I am afraid you have to live with your hack until you get some cash 🙂

    Thread Starter rodeoclown

    (@rodeoclown)

    OK, fair enough.
    Thanks for that (at least I know for sure now :)).

    Well, if anyone else has the same problem, there’s the hacky fix 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Blog home and URL redirection’ is closed to new replies.