Pretty Permalinks
-
I had an issue with my .htaccess file, and having wiped it, resolved that issue. Now I am faced with another issue which is that all my permalinks are headed by /blog/ . This is rather annoying as all my previous (and indexed) links are now 404s.
This is how my CURRENT access file looks like (at least the WordPress part of it).
<IfModule mod_rewrite.c>
RewriteEngine OnRewriteCond %{REQUEST_METHOD} POST
RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post.php*
RewriteCond %{HTTP_REFERER} !^(.*)thecatswhiskers.nl.*
RewriteCond %{HTTP_REFERER} !^http://jetpack.wordpress.com/jetpack-comment/ [OR]
RewriteCond %{HTTP_USER_AGENT} ^$
RewriteRule ^(.*)$ – [F,L]</IfModule>
# END Better WP Security# 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>
# END WordPressThis is at the end of the file, there is some stuff from a security plugin before that.
At this moment, In my Permanlinks settings I can only choose from the following:
Default http://thecatswhiskers.nl/?p=123
Day and name http://thecatswhiskers.nl/blog/2013/02/27/sample-post/
Month and name http://thecatswhiskers.nl/blog/2013/02/sample-post/
Numeric http://thecatswhiskers.nl/blog/archives/123
Post name http://thecatswhiskers.nl/blog/sample-post/
Custom Structure http://thecatswhiskers.nl/blogWhere it used to be without “blog”. What I want is something like this:
Custom Structure http://thecatswhiskers.nl/%classification*%/%Sample-post%/ (*or whatever it was termed – I don’t know the specific terminology).
That is to say “site – my classifcation – my post”.
Any suggestions? Thanks, Moriarty
PS if this is in the wrong part of the forum, please move it where appropriate. M
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
-
I’ll have to try something else. Usually if it comes to a .htaccess file it’s me that answers.
I am very disappointed. Never mind, that seems to be way of WordPress. See ya. M
- The topic ‘Pretty Permalinks’ is closed to new replies.