Tagged Questions
0
votes
1answer
38 views
Per Page Permalink Structure for Page Post Type
I am trying to Re-Write Page URL's so that they END with .htm
I was able to do this using...
/* Add .htm extension to Page URL Links */
add_action('init', 'htm_page_permalink', -1);
function ...
0
votes
1answer
67 views
Append custom parameter to taxonomy/term URI
I have a Custom Post Type named "Cars" and 2 Custom Taxonomies "Ferrari" and "Lamborghini". Each taxonomy has 2 Terms: "New" and "Used".
These URIs work as expected:
http://myhost/ferrari/new
...
0
votes
1answer
91 views
Tricky URL rewrite with custom values in url
We have custom post type as user_images and each of these post has a image attached with image name is 3 digit number followed by extension.
When the url
http://mysite.com/wp_username/3digitnumber
...
1
vote
1answer
275 views
How to Rewrite Wordpress URL for a Plugin
I am trying to build a Wordpress plugin here with a custom user admin area. What I would like to do is when the user adds /edit at the end of the page, it should open a page from my plugin. So for ...
0
votes
1answer
91 views
Rename page URL
I have the following URL structure:
http://localhost/wordpress/gallery?id=331
id specifies the id of the post.
gallery is a normal page inside which I am accessing the id of the post and fetching ...
0
votes
1answer
164 views
Rewrite /category/cars into /topics/cars
I know there are plenty of question and posts about this out there, however I couldn't find a solution or existing thread to my specific question.
If I list my categories and click on "cars" the url ...
2
votes
3answers
299 views
flexible rewrite 'ramble' URLs with Wordpress
I want to access my post with id 17 like this:
http://localhost/archives/17/moot-bla-foo-ramble
In other words, the id shall decide, everything thereafter may (or may not) be the slug or anything ...
1
vote
1answer
191 views
Best structure / rewrite rules to achieve the following url
I have been trying to achieve the following url structure in Wordpress and maintain a level of reusability in the admin area.
It is for a client preview area and needs to reflect multiple versions of ...
0
votes
2answers
194 views
Viewing category pages without the word 'category' in URL
When I view a static page its url is like: http://example.com/mybooks/
When I view a category page its url is like: http://example.com/category/books-ebooks/
For SEO, I want some modification so ...
3
votes
4answers
3k views
URL Rewrite + Page + Custom Post Type = Unusual Redirect
Yet another URL rewrite issue :)
The Problem
I have a URL rewrite rule that should work, but against all logic it redirects without passing the query var.
The Juicy Details
The site has a page ...
2
votes
1answer
404 views
custom permalink/shortlink with base62 encoded post ID
I want my post-links to look like /%post_id62%_%postname%/ where %post_id62% is the post ID in base62 encoding (e.g. http://example.com/y9Rlf_test/) and my shortlinks to consist of /%post_id62% only ...
0
votes
1answer
2k views
Custom page with variables in url. Nice url with add_rewrite_rule
Using WP3.1
I Have a custom page with a WP_Query and the query gets dynamic variables from the url. And i want safe variables and clean urls.
Example:
...