Manipulate Permalink
i’m not familiair with WPML, but i do know that qTranslate has the feature your describing.
i’m not familiair with WPML, but i do know that qTranslate has the feature your describing.
I might not have understood your questions fully, but can’t you just change the rewrite slug for your custom post type to /projects instead of /portfolio?
You’ll need to know which version of IIS running on the server. Old IIS did not have url re-write built-in and require third party module to function. New IIS have them built-in and some cases they also can load your .htaccess file for rules. Make sure you have IIS URL Rewrite installed and enabled.
In a word, No. As long as you have %postname somewhere in there you should be fine. Having it at the end, beginning, or middle shouldn’t matter. Although the Codex is a great resource it’s also edited and written by other WordPress users.
Sometimes a plugin changes WordPress’ internal rewrite rules during an update, an installation or deactivation. If the plugin’s update happens to run after your taxonomy registration it may just wipe out the custom rules for the taxonomy. To inspect the currently active rewrite rules use the plugin Monkeyman Rewrite Analyzer. See this answer for details. … Read more
The issue wasn’t caused by WordPress, I found out that my httpd.conf file had a default setting of AllowOverride None which was causing my rewrite rules in my .htaccess file not to work. Probably something I should have checked in the first place, but easy to overlook as well.
It’s not clear, but I’m assuming you want a ‘log out’ url, that brings the user back to the current page? get_permalink() however, get’s the permalink of the current post in the loop (if you’re using it outside the loop, you’ll find that it takes the user to the last post in the loop after … Read more
Did you check the Apache capability for it? If Not yet, open the httpd.conf of your Apache directory and remove the ‘#’ that’s prepended to the line ‘LoadModule rewrite_module modules/mod_rewrite.so’ plus change the term ‘AllowOverride None’ to ‘AllowOverride All’. That did the trick for me after a many hours of searching…
strangely familiar to this, but it is different, so here’s a modified version add_filter( ‘post_link’, ‘remove_parent_cats_from_link’, 10, 3 ); function remove_parent_cats_from_link( $permalink, $post, $leavename ){ $cats = get_the_category( $post->ID ); if ( $cats ) { // Make sure we use the same start cat as the permalink generator // what happens now actually is the … Read more
I believe the primary reason that the GET parameter format is still used for searches is that search forms are regular GET forms that when submitted form URLs with the GET parameters appended. But a further problem with using custom URLs to capture searches is that search terms can be arbitrary text, including slashes, etc, … Read more