| Pretty Permalinks .htaccess, pretty, permalinks, blog |
Moriarty

msg:4549463 | 3:02 pm on Feb 27, 2013 (gmt 0) | 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 On RewriteCond %{REQUEST_METHOD} POST RewriteCond %{REQUEST_URI} ^(.*)wp-comments-post\.php* RewriteCond %{HTTP_REFERER} !^(.*)thedomain.com.* 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 WordPress This 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: Defaulthttp://thedomain.com/?p=123 Day and namehttp://thedomain.com/blog/2013/02/27/sample-post/ Month and namehttp://thedomain.com/blog/2013/02/sample-post/ Numerichttp://thedomain.com/blog/archives/123 Post namehttp://thedomain.com/blog/sample-post/ Custom Structurehttp://thedomain.com/blog Where it used to be without "blog". What I want is something like this: Custom Structurehttp://thedomain.com/%classification*%/%Sample-post%/ (*or whatever it was termed - I don't know the specific terminology). That is to say a permalink structure like "site - my classifcation - my post". (Without "blog"!) Any suggestions? Thanks, Moriarty [edited by: lorax at 7:37 pm (utc) on Feb 27, 2013] [edit reason] removed details [/edit]
|
Dether

msg:4571472 | 9:33 am on May 7, 2013 (gmt 0) | I do not know if You were trying to change Your permalink structure in wordpress options? You can also look for plugin which will set them for u.
|
Dether

msg:4578186 | 12:32 pm on May 27, 2013 (gmt 0) | Well You can change permalinks in wordpress options, no need for coding :)
|
|
|