2012-10-24, 16:42:48
I can never seem to get past this:
Once I set Pretty URLs, all links that have slugs applied are not found by the rewritten link.
I am currently using GS Blog. (This behavior has plagued me with lots of other GS configurations) The blog page is fine, but when I click to go to the entry by its title, I get:
Oops! Page not found!
We are sorry, but the page you are looking for does not exist.
This can be experienced at http://www.salsburg.us.
Any help appreciated. I know it is something I have left out or is misconfiured.
My .htaccess file is pasted below - unchanged from the suggested code provided by GS Blog.
Once I set Pretty URLs, all links that have slugs applied are not found by the rewritten link.
I am currently using GS Blog. (This behavior has plagued me with lots of other GS configurations) The blog page is fine, but when I click to go to the entry by its title, I get:
Oops! Page not found!
We are sorry, but the page you are looking for does not exist.
This can be experienced at http://www.salsburg.us.
Any help appreciated. I know it is something I have left out or is misconfiured.
My .htaccess file is pasted below - unchanged from the suggested code provided by GS Blog.
Code:
AddDefaultCharset UTF-8
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
RewriteEngine on
# Usually RewriteBase is just '/', but
# replace it with your subdirectory path -- IMPORTANT -> if your site is located in subfolder you need to change this to reflect (eg: /subfolder/)
RewriteBase /
RewriteRule ^post/([^/.]+)/?$ index.php?id=index&post=$1 [L]
RewriteRule ^tag/([^/.]+)/?$ index.php?id=index&tag=$1 [L]
RewriteRule ^page/([^/.]+)/?$ index.php?id=index&page=$1 [L]
RewriteRule ^archive/([^/.]+)/?$ index.php?id=index&archive=$1 [L]
RewriteRule ^category/([^/.]+)/?$ index.php?id=index&category=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]