Permalink structure issue, first time to encounter.

5 replies
Hello everyone,

I need your guidance and help on how I can sort this problem.

I have a fresh installed wordpress on this subdirectory, www.domainname.com/sample

I set my permalink to /%postname%/

Now, when I created right away my first page, and named it to 1004. I expect that the permalink of this page will be www.domainname.com/sample/1004. The problem now, it will add -2 at the end of the permalink making it www.domainname.com/sample/1004-2

In my subdirectory, only wordpress files are there. No directory that has a name of 1004.

Even though it's a fresh installed wordpress, I checked the post, but only the defaults are there.

I contacted hostgator, but the support person can't give an exact solution.

I just thought, you guys have tried this kind of problem.

It's my first time really to have this issue. I find it confusing.

I checked my database, there are no duplicates.

Please help.

Sincerely,
George B.
#encounter #issue #permalink #structure #time
  • Profile picture of the author Alex Sol
    I have had this happen to me several times, usually when a post is made, then deleted then re-posted as new but using the same title... I never really looked for a fix but I think you should hit up the wordpress support boards and not your hosting company.
    Signature
    Alex Sol, Full time online marketer since 2007
    The Extra Paycheck Blog | Extra Paycheck Podcast
    {{ DiscussionBoard.errors[5214257].message }}
  • Profile picture of the author Rf Li
    Banned
    [DELETED]
    {{ DiscussionBoard.errors[5214260].message }}
    • Profile picture of the author Go4DBest
      Originally Posted by Rf Li View Post

      SOLUTION:

      Make sure you look in your pages/posts trash and COMPLETELY remove them from your site, empty the trash. You can then go to the specific page you want to change and edit the url directly to what you want it to be.

      The reason you are getting the -2 is cause the site already exists, just in your trash.

      Let me know if you have any more questions.
      Thanks for your input.

      However, this is a fresh installed wordpress site, so there are no posts/pages in the trash.

      George B.
      Signature
      We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
      {{ DiscussionBoard.errors[5214779].message }}
  • Profile picture of the author TheKing
    I can look in the matter for you but i need Wp-Admin details for that
    let me know if you still facing same problem
    {{ DiscussionBoard.errors[5214280].message }}
  • Profile picture of the author RobKonrad
    Happens sometimes if:

    - you create a post, while writing WP auto-saves
    - you somehow finish the post in another browser window/tab

    draft gets the 1004, final post gets the 1004-2..

    Cheers,
    Rob
    Signature
    ================================================== ===
    This blog is awesome: http://www.robkonrad.com/blog. Read it.
    ================================================== ===
    {{ DiscussionBoard.errors[5217252].message }}
  • Profile picture of the author Go4DBest
    Thanks a lot for all your inputs warriors. We have decided to make it 10-04.

    It's my first time really to encounter this kind of problem.

    Sincerely,
    George B.
    Signature
    We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
    {{ DiscussionBoard.errors[5218936].message }}

Trending Topics