Page slugs not working in WordPress

My website is redotube.rf.gd

WordPress has an option to change slugs for pages. I changed a page slug to be “upload,” so it would be redotube.rf.gd/upload, but the URL stays as redotube.rf.gd/?page_id=107. The slug changes in my locally-hosted websites, so I think it might be a problem with InfinityFree. Does anyone know how to fix this?

How URLs are generated is entirely handled by WordPress, I don’t think server settings could affect that.

I just tried to check your website, but it doesn’t appear to work at all for me and just returns a blank page. When I check the generated page, it seems that the head section of the page is returned twice, and the body is basically empty. In either case, there are not URLs on the page.

Do you see the same? If so, you may want to try disabling plugins or switch to one of the default themes to see what’s causing the issue.

2 Likes

Sorry! I forgot to disable a plugin I was using to keep my site private. It should be disabled now.

I checked a few things and I can see the following:

  • Your website is missing the default WordPress .htaccess rules. If these are not setup, no permalink setting will work. You can find the code needed on the WordPress website, and you can add them to the file at htdocs/.htaccess using the file manager.
  • I checked the permalink structure configured in your website, and the value is currently empty. So please go back to the WordPress settings and update your permalink configuration.
4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.