Skip to main content
replaced http://wordpress.stackexchange.com/ with https://wordpress.stackexchange.com/
Source Link

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This questionThis question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

UPDATE

There is a wp_posts record in the database for the page with title 'Home' which has the post_name field set to 'home-2'.

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

UPDATE

There is a wp_posts record in the database for the page with title 'Home' which has the post_name field set to 'home-2'.

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

UPDATE

There is a wp_posts record in the database for the page with title 'Home' which has the post_name field set to 'home-2'.

added 142 characters in body
Source Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

UPDATE

There is a wp_posts record in the database for the page with title 'Home' which has the post_name field set to 'home-2'.

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

I'm working on a site which has some incorrect permalinks contains 'home-2' e.g. http://example.com/home-2/pagetitle/. I have no way of knowing where home-2 came from and manually editing the permalink in the page editor only allows me to edit the pagetitle portion.

This question seems relevant but refers to the post title and not the portion of the URL I need to change.

So how might this home-2 situation have occurred. Perhaps a category or parent page? There are no posts or pages in the trash with that name. And how can I remove it without using a plugin such as this to reset the permalinks?

UPDATE

There is a wp_posts record in the database for the page with title 'Home' which has the post_name field set to 'home-2'.

edited title
Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43

Is there a way to regenerate page permalinks without a plugin?

added 57 characters in body
Source Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43
Loading
Source Link
codecowboy
  • 1.8k
  • 6
  • 23
  • 43
Loading