Permalinks issue?

Posted in: Newspaper
Post count: 1

Hello guys,

Please, I need some help with Permalinks.

The permalink’s configuration by default is that:

"/index.php/%year%/%monthnum%/%day%/%postname%/".

And the Newspaper page URL becomes like that: https://www.mysite.com/index.php/pagename

When I remove the “index.php/” from the permalink configuration, the page URL changes to: https://www.mysite.com/pagename, but the page not work. It just shows a 404 error instead.

Any ideas?

Btw, this is the .htaccess conf:

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

Post count: 22421

Hello,

A custom structure such as the one described will not work for pages. Pages will always be simply URL/pagename on any theme. I’m not sure where the index.php comes from. It could be a plugin causing it. You can use seo yoast for better permalink control.

Thanks.

Post count: 1

I am also getting this problem with the index.php being inserted is there an easy fix

Post count: 20688
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.