dmclark
Member
Posted 7 years ago #
Hi,
I took the plunge nand decided to get acclimated with 1.3. I am having a problem where I cannot use the peralink structure /index.php/%postname%/.
the .htaccess generated for this structure is:
RewriteRule ^site/([^/]+)/(feed|rdf|rss|rss2|atom)/?$ /index.php?pagename=$1&feed=$2 [QSA,L]
RewriteRule ^site/([^/]+)/page/?([0-9]{1,})/?$ /index.php?pagename=$1&paged=$2 [QSA,L]
RewriteRule ^site/([^/]+)/?$ /index.php?pagename=$1 [QSA,L]
is this a bug?
Or, try adding year, month, and day.
dmclark
Member
Posted 7 years ago #
It works with y/m/d but why is that necessary?
I've also tried the same URL structure with 1.2; same issues -- broken URLs.
From what I can tell, you'll need y/m/d/title (and the correct mod_rewrite in .htaccess) for all URLs to work.
Actually I know a site which did make two posts with the same title on the same day, and as a result, neither post could be accessed through the permalinks. So as long as you don't do that, you're fine!
Permalink structures that are prefixed with index.php don't use htaccess. Regardles, 1.3 should handle /index.php/%postname%/ and /%postname%/. 1.3 also fixes the YMD breakage. It no longer requires y/m/d in the permalink structure.
dmclark
Member
Posted 7 years ago #
Ryan - that is what I though, but its not working. Should I file a bug, or is this a know inconsistency?