WordPress.org

Ready to get started?Download WordPress

Forums

PERMALINK PROBLEM-HAVING MORE THAN TWO PERMALINK FOR SAME POST (6 posts)

  1. Monica28
    Member
    Posted 2 years ago #

    hello!
    I am facing a problem with my PERMALINK.Previously the permalink of my site was
    http://www.watchonlineshow.com/category/hollywood/hollywood-movies-by-year/hollywood-movies-of-2012/

    then I added a code in my functions.php file, also I activated a plugin called"No Category Parents " to make my permalink look like this
    http://www.watchonlineshow.com/hollywood-movies-of-2012/
    AND THE CODE IS :

    add_action( 'init', 'build_taxonomies', 0 );  
    
    function build_taxonomies() {
    
      register_taxonomy( 'category', 'post', array(
    		'hierarchical' => true,
    	 	'update_count_callback' => '_update_post_term_count',
    		'query_var' => 'category_name',
    		'rewrite' => did_action( 'init' ) ? array(
    					'hierarchical' => false,
    					'slug' => get_option('category_base') ? get_option('category_base') : 'category',
    					'with_front' => false) : false,
    		'public' => true,
    		'show_ui' => true,
    		'_builtin' => true,
    	) );
    
    }

    Now the problem is that all previous links as well as new links are working and the same page is loaded from both urls. I want to know whether this is 301 Redirect? Or its a bad thing

  2. Paul Kaiser
    Member
    Posted 2 years ago #

    Hi there,

    It is not a 301 Redirect, but also not necessarily a bad thing. WordPress does this using permalink aliases, that is -- it doesn't forget the old link, just in case you spread that link around the internet before you updated to a new permalink structure.

    That said, you don't want the rest of the internet using two different URLs to get to the same page on your site. SO, if you have any sites (or your own site) linking via the old URL, you should update that to use the new structure.

    If you don't, then your "Link Juice" for SEO purposes will get divided between the two different URLs.

    Let me know if you need more clarification / help.
    Take care,
    Paul

  3. Monica28
    Member
    Posted 2 years ago #

    Thanks alot paul!
    So in order to change this, should I redirect my old links to the new one using REDIRECTION plugin?
    There are almost 600 urls that need to be changed.Would this affect my site's loading time?

    One more thing,I just came to know that this is happening due to SEO ULTIMATE plugin.
    SEO ULTIMATE has enabled 4 links.
    mysite.com/category/parents/parents1/child
    mysite.com/parents/parents1/child
    mysite.com/parents1/child
    mysite.com/child
    Using any of the links opens the same page,I mean same content(no redirection to any link is done).
    Is this happening because of the 404 Monitor of "SEO ULTIMATE"?
    Please Help!!

  4. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    I need to hire you two to type for us. 8 minutes for all this!

  5. Paul Kaiser
    Member
    Posted 2 years ago #

    Monica,
    1. The important thing about your URL's is that you promote / publish only one version of the URL. It's okay that different versions of the URL work, but you only want "the rest of the world" to be using one version of the URL.

    In your case, you now want the world seeing URLs like this:
    http://www.watchonlineshow.com/hollywood-movies-of-2012/
    (Correct?)

    I just checked through your site, and that is always how the URLs are listed, so you should be fine.

    Paul

  6. Monica28
    Member
    Posted 2 years ago #

    Yes paul that is exactly what I want . But still I have doubts about traffic being divided over 4 different links because google has already crawled 2 of the above links.
    Plus, doesn't this create a problem of DUPLICATE CONTENT for web Browsers??

Topic Closed

This topic has been closed to new replies.

About this Topic