Tagged: ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #962570

    Hi,

    I have started with my SEO optimalization and I am facing a problem. The problem is that I can only set “basic” form of WP permanent link (?page_id=xxx). It is not worth for browser searching. I would like to set “postname” form of permanent link, but if I do that, menu will stop work. Permanent links in current pages are transcribed, but after clicking on any button in menu at website I give only 404 error – page not found.

    Could it be fixed by creating every page again with current “postname” permanent link setting? Or I can only use “basic” perma links.

    Thank you for response.
    Best regards,
    Jakub.

    #962617

    Hey katak97,
    If I understand correctly, you have created your menu while your site was using “plan” permalinks:

    http://127.0.0.1/2017demo1/?p=123

    but when you changed your permalinks to “post name”

    http://127.0.0.1/2017demo1/sample-post/

    your menu items point to 404’s ?
    I have tried to recreate this, but when I saved my permalinks, my menu items updated.
    Perhaps I misunderstand.

    Best regards,
    Mike

    #962669
    This reply has been marked as private.
    #962681

    Hi,
    I believe your .htaccess file is not getting updated or has a line error in it, please read: How to Fix WordPress Posts Returning 404 Error

    Best regards,
    Mike

    #962729

    Hey,

    oh I didn’t even know about this file, thank you for response. I have read that article and watched the video and then found out that this file is missing in the wp files at FTP server. So I have created this file in FileZilla with name “.htaccess” and inserted the right code from site you have sent me -> I have got back to my WP admin page, refreshed and saved again “postname” permalink setting -> but the conclusion is same – still give me an 404 error page (excluding home page).

    It is weird, because it gives the error as the page wouldn’t exist, but in browser is the same link as is the permalink in current page at WP admin. Still don’t know where could be the problem.

    If you would have any more idea how to fix it, I will welcome it. If not, I have to be satisfied with a “default” permalink setting. Which is not the best option for SEO of course.

    UPDATE: I have tried it also in my test webpage which is using Enfold as well. I have set permalinks to “postname”. I have created a page with some content. It gave some permalink, which worked when I clicked on it at admin page. When I set this page as Enfold home page and then I clicked to that permalink, it showed me an 404 error again. Just for information, I am not sure if it would be useful.
    Maybe there is problem with WP installation, but I would rather found another way.

    Best regards,
    Jakub.

    • This reply was modified 6 years, 6 months ago by katak97. Reason: UPDATE
    #962866

    Hi,
    Typically the .htaccess is a hidden file when using FTP, sorry I forgot to tell you.
    In Filezilla look for this setting
    2018-05-27_131245
    See if this shows you two files now, I can’t imagine you had no .htaccess file, it’s pretty important.
    If this doesn’t help please include ftp access in the Private Content area.

    Best regards,
    Mike

    #962899
    This reply has been marked as private.
    #963656

    Hi,
    Thank you for the login, I have looked and it seems the htaccess is not being used. I believe the your webhost has not enabled “AllowOverride” in your Apache server, or the server needs to be restarted to take effect.
    Please contact your webhost and explain that the wordpress permalinks rules in the htaccess file are not working, and ask if the “AllowOverride” in enabled.
    Or if they can look at the error log to see what is going on.

    Best regards,
    Mike

    #972818

    Hey Mike,

    thank you for that response. It helped and permalinks are working now!

    Keep going with your work guys. It is amazing!

    Best regards,
    Jakub.

    #973069

    Hi,
    Thanks for letting us know, glad to hear you have it worked out now.
    We will close this now, thanks for using Enfold.

    Best regards,
    Mike

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘SEO optimalization by permanent link’ is closed to new replies.