1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

annoying wordpress redirect problem

Discussion in 'WordPress' started by disgust, Oct 25, 2005.

  1. #1
    disgust, Oct 25, 2005 IP
  2. aeiouy

    aeiouy Peon

    Messages:
    2,876
    Likes Received:
    275
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you checked your .htaccess file for a redirect/mod rewrite?
     
    aeiouy, Oct 25, 2005 IP
  3. sarahk

    sarahk iTamer Staff

    Messages:
    28,500
    Likes Received:
    4,460
    Best Answers:
    123
    Trophy Points:
    665
    #3
    I run mine on a subdomain so you shouldn't be having problems.

    I'd check the wordpress settings for the rewrite.

    On my site I have

    /%postname%/%post_id%/

    but in some cases you need

    /index.php/%postname%/%post_id%/

    It's worth a look!
     
    sarahk, Oct 26, 2005 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    I ended up adding a slash to the end of the base URL where it's linked from in the templates itself for mine.

    For example, this is what I'm using in my header template:

    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    Code (markup):
     
    digitalpoint, Oct 26, 2005 IP
  5. franktank

    franktank Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm having exactly the same problem. I have been through the htaccess with a fine toothed comb, cannot find anywhere that the www. version of my domain is referred to. Very annoying.
     
    franktank, Apr 8, 2007 IP
  6. franktank

    franktank Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    http://shihengcheong.com/blog/2007/02/fixing-canonical-urls-with-wordpress-url-rewrite/
     
    franktank, Apr 22, 2007 IP
  7. no1san

    no1san Active Member

    Messages:
    73
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #7
    no1san, Apr 22, 2007 IP