All WP pages direct to 404 or index.php

Do the old urls still work after enabling “pretty” permalinks? Only your cpt and taxonomies for it don’t work but the rest of the site does? Flush Rewrite Rules: WordPress uses rewrite rules to handle permalinks. Sometimes, these rules do not recognize new custom post types or taxonomies until they are flushed. You can flush … Read more

Understanding images handeling

They aren’t the same, one is the URL of the file in the uploads folder, the other is the permalink of the attachment post that represents that file. All uploaded files have attachment posts, that’s what you’re seeing listed in the media library. WordPress itself doesn’t know about the files and can even show things … Read more

Permalink issue with new blog posts > getting 301 redirect

Your WordPress site is set up to include the date in the permalink structure for blog posts. To avoid the 301 redirects and have your desired permalink structure https://website.com/sample-post/ In the Permalink Settings page, you’ll see several common options for permalink structures. Choose the Custom Structure option: In the input field, enter /%postname%/ after save … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)