WordPress.org

Ready to get started?Download WordPress

Forums

URL Aliases (5 posts)

  1. syam22587
    Member
    Posted 1 year ago #

    Hi I am newbie to WordPress.

    Currently I am working with on http://people10.com/blog/
    which is been developed by other develoer.

    Now I got a requirement to change the URL Pattern . Currently its following the follwoing URL pattern.

    http://people10.com/blog/2012/08/20/10-tips-to-beat-the-agile-fixed-bid-blues/

    I need to change to

    http://people10.com/blog/10-tips-to-beat-the-agile-fixed-bid-blues/

    I found the Solution to change the URL Pattern at Permalinks Settings option.

    Now my issue is after changing the URL pattern i need a redirection for the old URLs.

    i,e., if some give old URL (http://people10.com/blog/2012/08/20/10-tips-to-beat-the-agile-fixed-bid-blues/) , it should automatically redirect to http://people10.com/blog/10-tips-to-beat-the-agile-fixed-bid-blues/

    link.

    I believe there should be a solution for this. But as a newbie to WordPress i am unable to get the same on Google. Can anyone assist in getting solved this issue ?

    -
    Thanks
    Syam

  2. Pankaj Pandey
    Member
    Posted 1 year ago #

    Go to wp-admin/options-permalink.php

    then choose post name in Common Settings then save changes. it will solve your issue

  3. syam22587
    Member
    Posted 1 year ago #

    Pankaj,

    Redirection is working only in one way.

    1.
    If I select Permalink pattern to Day and name then its redirecting
    http://localhost/blog/sample-post/ to http://localhost/blog/2012/10/11/sample-post/ .

    2.
    But if i select the Permalink pattern to postname
    http://localhost/blog/2012/10/11/sample-post/ is not redirecting

    http://localhost/blog/sample-post/ .

    My requirement is second one. As this blog is already submitted in many articles which is following http://localhost/blog/2012/10/11/sample-post/ pattern and need a redirection to http://localhost/blog/sample-post/

    -Syam

  4. Pankaj Pandey
    Member
    Posted 1 year ago #

    But if i select the Permalink pattern to postname
    http://localhost/blog/2012/10/11/sample-post/ is not redirecting

    http://localhost/blog/sample-post/ .

    do Permalink pattern to postname then let me know. it must work

  5. syam22587
    Member
    Posted 1 year ago #

    I have given the Permalink pattern to postname . Then i have checked with

    http://localhost/blog/2012/08/20/10-tips-to-beat-the-agile-fixed-bid-blues/

    Its giving 404 Error.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags