• Hello

    my website working on wordpress 4.8, and the permalink is /%category%/%post_id%/

    i tried to upgrade the website to 5.3, everything works fine except 3 categories, those categories did not works at all, and every article turns to show me blank page with 1 attachment photo..

    what should i do to make all categories working ?

    also i tried to change the permalink to something else but my google urls will be 404..

    please advice

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    everything works fine except 3 categories

    Do ALL other categories work fine?

    If so, what’s the difference between the “3 categories” and the rest of the categories?

    Meanwhile, try re-setting your permalink structure at Admin panel>>>Settings>>>Permalinks. Sometimes, that works if it is a simple db issue. WordPress will create/rebuild the .htaccess file. If WordPress cannot automatically edit the .htaccess file( if it is not writable), then WordPress will provide manual instructions after saving the correct block of code so that you can manually add it to your .htaccess file.

    Thread Starter raied

    (@raied)

    yes sir all categories works fine with /%category%/%post_id%/

    3 of them showing the articles but those articles not showing any content

    nothing diffrent between them and the others. i even tried to import my articles + images on clean wordpress (local host) and same issue is there

    3 of my categories not working with /%category%/%post_id%/

    this is my htaccess file content

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter raied

    (@raied)

    this is my demo website with one of the broken categories.

    http://autosportme.com/2020/cms/category/motogp/

    if you click on any article here you will see what i am talking about..

    Create two new categories with content, probably the imported paths still have the old path of the old domain so to check if it is a path problem creates two categories.

    Thread Starter raied

    (@raied)

    i tried creating new category and add some artciles to it but same issue

    Moderator t-p

    (@t-p)

    Thread Starter raied

    (@raied)

    try clicking on article.. the problem is there, inside article

    you can only import existing routes, if you have an example installation of local absolute root /www/home/user/public_html/path_wordpress/ and the absolute remote url (visible to the browser). http://yoursite.com/path_wordpress/
    refer to the installation from the path_wordpres/
    to make a path compatible from a /path_wordpres/ to root directory, you must manually export and modify the paths (change the path of the content ,inside the exported file) in the new path, before importing.
    therefore if the server does not have access to the uploads folder of the domain installed in root you must export your categories modify the path in the new one, download on your PC the content where your uploads reside and add these folders to your installation /path_wordpress/wp-content/uploads/ and modify it in the root path /wp-content/uploads/ in your export and insert the images .
    hire a developer from jobact so that everything is working.

    Thread Starter raied

    (@raied)

    thank you

    okay so why the defected category and their articles start working fine when changing permalink to post name ?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘problem with permalink’ is closed to new replies.