Posts: 21
Threads: 5
Joined: May 2013
2013-05-15, 11:15:05
(This post was last modified: 2013-05-15, 11:26:40 by el_fuerte.)
I installed gsBlog on
my website, and while fancypants url generation works for pages, it's giving me a 404 on blog posts. Same issue with clicking on tags as well.
If it was .htaccess then it wouldn't work for either page type, so I don't believe that's the issue. But stranger things have happened. Here's what my file contains:
Code:
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Did I miss a configuration in the admin?
Posts: 6,266
Threads: 181
Joined: Sep 2011
For blog plugins you have to add the plugins rules also for the rewrites.
Posts: 21
Threads: 5
Joined: May 2013
(2013-05-15, 11:38:56)shawn_a Wrote: For blog plugins you have to add the plugins rules also for the rewrites.
Is that mentioned in any of the wikis? I don't see it in the plug-in page for this.
Posts: 2,928
Threads: 195
Joined: Feb 2011
(2013-05-20, 00:32:43)el_fuerte Wrote: (2013-05-15, 11:38:56)shawn_a Wrote: For blog plugins you have to add the plugins rules also for the rewrites.
Is that mentioned in any of the wikis? I don't see it in the plug-in page for this.
isn't there an instruction in the settings?
As far as I remember you have to define that you want PERMALINKS for the blog posts and after that you will get the code which you have to add to your .htaccess file
check the settings of the plugin
Posts: 6,266
Threads: 181
Joined: Sep 2011
Gs blog even has them listed on its settings page when you enable fancy urls. You can't miss it not sure how you did.
Posts: 21
Threads: 5
Joined: May 2013
I am an idiot; I missed the hyperlink at the bottom of the blog settings page. Sorry about that.
Posts: 2,928
Threads: 195
Joined: Feb 2011
no sorry ;=)
it#s good that it is working for you now!
Cheers. Connie