13 replies
  • WEB DESIGN
  • |
I made a wordpress site. When I made a new post, I changed the URL to something else and now all my posts have the same URL.

For example:
I changed www.mysite.com/?p=51
to
www.mysite.com/my-first-post

Now all my new posts go to www.mysite.com/my-first-post and I don't know how to change the URL.

When I go to posts => edit, the only two options are "view post" and "get shortlink" instead of the option of changing the URL like it was when I first made the change.

Under the where you enter the title it says:
permalink www.mysite.com/my-first-post "view post" "get shortlink"

So how do I change the URL to something else like www.mysite.com/my-second-post?
#wordpress
  • Profile picture of the author Robert X
    You should be able to go on to your hosting account, get on a live chat with them and they'll fix it with you on the spot. I'm retarded with technical stuff so I have them fix stuff for me all the time.
    Signature

    [

    {{ DiscussionBoard.errors[4017793].message }}
  • Profile picture of the author VegasGreg
    Originally Posted by jguo713 View Post

    I made a wordpress site. When I made a new post, I changed the URL to something else and now all my posts have the same URL.

    So how do I change the URL to something else like www.mysite.com/my-second-post?
    How did you change the post url the 1st time?

    Did you create a second post yet, or do you want to change the 1st post the /second-post for some reason?
    Signature

    Greg Schueler - Wordpress Fanatic... Living The Offline Marketing Dream...

    {{ DiscussionBoard.errors[4017796].message }}
  • Profile picture of the author Brian F Adams
    Easy to fix:

    you need to go into your WP admin panel, settings, permalinks, change permalinks to custom structure and use: this code /%postname%/
    This will allow all posts to use the title as the permalink and is the first step towards onsite SEO also.
    {{ DiscussionBoard.errors[4017810].message }}
    • Profile picture of the author jguo713
      Thanks, but do I need two structure tags?

      For example:
      /%post_id%/%postname%/

      I read somewhere that you need two structure tags for performance reasons and that using the "/%postname%/" alone or first is not recommended.

      But I don't want to use the "/%post_id%/" structure tag because it doesn't look clean.

      Any advice on making it look clean without losing performance on my site?
      {{ DiscussionBoard.errors[4017830].message }}
      • Profile picture of the author retsek
        Originally Posted by jguo713 View Post

        Thanks, but do I need two structure tags?

        For example:
        /%post_id%/%postname%/

        I read somewhere that you need two structure tags for performance reasons and that using the "/%postname%/" alone or first is not recommended.

        But I don't want to use the "/%post_id%/" structure tag because it doesn't look clean.

        Any advice on making it look clean without losing performance on my site?
        That advise is really only valid if you have upwards of over 10s of thousands of posts. If that is so, then it's best to use a year/month/ or day tag before the postname to help with db performance.

        If it's just a 10-100 posts blog, you shouldnt worry about it. Just use %postname% for best SEO.

        As for your FTP problem, Use your CPanel or File Manager to just change the permissions on the .htaccess file to 666 and try save the permalinks page again. Wordpress will take care of it. After that, change back the permissions for security.
        {{ DiscussionBoard.errors[4018084].message }}
        • Profile picture of the author jguo713
          Thanks.

          But I got one more question. I can't find the .htaccess file.
          Does it mean I need to create it?
          I watched a youtube video and it says to create it by:
          Create it by opening up notepad and saving a black document as 1.htaccess
          Then upload it to your filemanager.
          Then edit it and delete the 1 in front of it as well as the .txt part

          Is that right?
          {{ DiscussionBoard.errors[4018098].message }}
  • Profile picture of the author hueyliew
    You can just use /%postname%/
    Signature
    * Learn to turn your digital PLR trash to cash *
    * Learn WordPress 3.0 *
    * What is Amazon S3 *
    {{ DiscussionBoard.errors[4017847].message }}
    • Profile picture of the author jguo713
      Ok, I made the changes but now I'm getting an error.
      Saying
      Not Found

      The requested URL /post-name/ was not found on this server.
      Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


      In the above example, the title of my post is "Post Name"
      {{ DiscussionBoard.errors[4017892].message }}
      • Profile picture of the author Robert X
        Originally Posted by jguo713 View Post

        Ok, I made the changes but now I'm getting an error.
        Saying
        Not Found

        The requested URL /post-name/ was not found on this server.
        Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


        In the above example, the title of my post is "Post Name"
        See,, I told you to do the online chat with tech service
        Signature

        [

        {{ DiscussionBoard.errors[4017962].message }}
  • Profile picture of the author hueyliew
    Did you put in /%postname%/ under custom setting of permalink, permalink is in setting (on the left hand side of dashboard). If you wish I can look at it for you, I will be free for the next 30 minutes. You can PM me with your login details ...
    Signature
    * Learn to turn your digital PLR trash to cash *
    * Learn WordPress 3.0 *
    * What is Amazon S3 *
    {{ DiscussionBoard.errors[4017930].message }}
    • Profile picture of the author jguo713
      Yes, I put in custom setting of permalink.

      This is what I read on a site:
      How to Fix the Error

      Don't worry, it's super easy...and quick

      To remedy this problem, simply FTP into your website space and right click your .htaccess file. Change the settings or "file attributes" to 666. Go back to your Permalinks page, choose the link structure you want, and save it. Now, it works!

      Don't forget to go back to your FTP space and CHMOD your .htaccess file back to 644 - otherwise, it's a major security risk!



      How do I FTP into my website?
      {{ DiscussionBoard.errors[4018006].message }}
  • Profile picture of the author jaybaker
    no. you should not have to create your htaccess file. Look for .htaccess as the file name. The . in front of htaccess tells unix that its supposed to be a hidden file.
    Signature

    Do you want to make successes or excuses? Success? Alright then... See what's in store for you....
    - The AC Assassin

    {{ DiscussionBoard.errors[4018137].message }}
    • Profile picture of the author jguo713
      THANKS EVERYONE!

      Finally got it.

      Had to click the show hidden files tab when I logged into my file manager to find the .htaccess file :rolleyes:.

      PROBLEM FIXED

      Thanks Again
      {{ DiscussionBoard.errors[4018180].message }}

Trending Topics