Stop wordpress from creating Post pages

Discussion in 'WordPress' started by freakadmins, Dec 6, 2012.

  1. #1
    I want to stop wordpress to create new page for every post that I make.

    Like whenever I am making an post "xyz title", my coupon theme creates an seperate page for it like "http://mydomain.com/code/xyz-title" which is then getting crawled by google. But I already applied post redirection.. like whenever someone clicks on latest post its directly gets redirected to external URL.

    Please can anyone help?
     
    freakadmins, Dec 6, 2012 IP
  2. Devtard

    Devtard Notable Member

    Messages:
    850
    Likes Received:
    133
    Best Answers:
    4
    Trophy Points:
    220
    #2
    You cannot stop WP from creating posts unless you write your own plugin. You can use robots.txt to prevent spiders from indexing these pages, though.
     
    Devtard, Dec 7, 2012 IP
  3. imarkedy

    imarkedy Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Great answer Devtard - I would suggest not using 301s and just recreating the content on a new page. Why create 301s?
     
    imarkedy, Dec 8, 2012 IP
  4. tushonline

    tushonline Member

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #4
    I would say, what you're doing in a 'long-way home' kind of thing. What you need is a better structure your site.
    You can use Custom Post Types and Custom Fields feature from WordPress.

    Once this is done - you have a nice post formats to create multiple entries which can be displayed on home or any category page.... & then use custom fields within these new entries to add external URLs to go to when clicked on . . say "Claim This Offer".

    Install Yoast SEO plugin to then noindex these post_types.

    Little lengthy procedure for once but peace of mind of later...

    Hope this helps
     
    tushonline, Dec 14, 2012 IP
  5. freakadmins

    freakadmins Greenhorn

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Thankx tushonline. Works fine for me :D Cheers!!!
     
    freakadmins, Dec 16, 2012 IP
  6. tushonline

    tushonline Member

    Messages:
    40
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    30
    #6
    Cheers buddy :)
     
    tushonline, Dec 16, 2012 IP