Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

3
votes
1answer
229 views

Remove unwanted part of permalink custom structure from CPT url?

My site currently has regular posts (in a section called "Trend Watch"), as well as a Custom Taxonomy (called "Region"). My permalink settings have this Custom Structure: ...
1
vote
2answers
124 views

How can we take into account post types when constructing permalinks?

When I'm working with Wordpress's permalink system, I can create plenty of options for creating permalinks, like so: /blog/%year%/%monthnum%/%day%/%postname%/ But if I add introduce a new kind of ...
8
votes
3answers
5k views

Masking wp-content/themes/name/images to just images directory using htaccess

I'm trying what I thought would be something really simple of masking my url but cannot seem to get it to work. I want to be able to link to images in my img tag without having to type in the full ...
0
votes
1answer
352 views

change url for portfolio image

I am working on champer theme , I add portfolio by guideness of documentation, but when i click on image , its go on another page, but I want to stay in similar page, not changing. how can I do this. ...
2
votes
2answers
869 views

Add .html extension to only one page in my Wordpress site

We had an old site that had html pages in it. One of the pages in that site was linked to from many other sites. Now we moved to a WordPress site, and we created a page with that name, but of course ...
0
votes
1answer
323 views

Author Specific URL's in WordPress

In continuation of this thread Mapping multiple URLs to same page in WordPress is there any other way except redirect similar pattern URLs to same page. Our goal is to provide our guest and other ...
0
votes
2answers
1k views

Subdomains pointing to a permalink URL

I have Wordpress (v3.2.1) set up at domain.org.nz/wordpress with a number of pages set up as domain.org.nz/wordpress/services/example. I want to set up a subdomain, example.domain.org.nz to point to ...
0
votes
1answer
583 views

Rewrite loading custom template file but is_home() returns true, and there's no 404

I want to create some custom pages for my theme that don't appear in the Page listing in wp-admin. I have the following class which intercepts the url. class jtvRewrite { var $path = ''; function ...
0
votes
3answers
6k views

Mapping multiple URLs to same page

I just came across this page with almost similar requirements as mine Multiple endpoints to same page i have to achieve same functionality but i also want to pass some parameters to the page where ...
0
votes
1answer
693 views

How to properly prefix blog post URL's

I want to prefix my blog posts with /news/ and changing my Permalinks to /news/%postname% seems to do the trick. However, I also have a few custom post types and for some reason those URL's are now ...
0
votes
2answers
481 views

Custom post type permalink structure

I've browsed tons of Q/A on stackexchange, google, wordpress forums... but haven't found yet a definitive answer to what looks like to be a common issue since the introduction of custom post types. ...
0
votes
1answer
500 views

How to deal with a GET variable of 'name'?

I'd like to have a custom registration confirmation page live within a WordPress site. I can provide a URL for this page to an external site. When the registration is successful the URL has several ...
-1
votes
2answers
136 views

URL issues with WordPress

I am having some URl issues with WordPress Basically i have different categories and for some reason whenever I have posts with exact same title...even though in "different" categories...I still have ...
0
votes
1answer
3k views

Nginx rewrite rules

I am having some problems with the Nginx rewrite algorithm for WordPress. I am using this for the rewrite and it works good; server_name www.domain.com domain.com; if ($host != ...
0
votes
1answer
300 views

Can’t use a specific custom URL (slug)?

I’m having some problems understanding an error I’m getting. I have a page which is called “pitch” and as such the URL and the slug should be “pitch” as well, so: www.my-domain.com/pitch/ But when I ...
3
votes
1answer
11k views

How to rewrite URI of custom post type?

The site that I am working on uses the following "pretty" permalink structure: http://example.com/blog/my-special-post But for a custom post type my client would like to avoid having a "pretty" ...
8
votes
1answer
1k views

Does WordPress keep track of a post's URL history and provide automatic redirects?

I just changed the URL of one of my posts from http://2011.denmark.wordcamp.org/session/theme-frameworks-trends-og-standardisering/ to ...
3
votes
1answer
1k views

Multiple endpoints to same page

I'm doing a bit of AB testing, and am looking for a way to point multiple endpoints to the same page in wordpress. My site is using wordpress as it's CMS tool. http://mysite.com/test/link1 ...
0
votes
2answers
260 views

How are rewrite rules applied in WordPress?

How are rewrite rules applied in WordPress? I don't see any rules in the .htaccess file... For example, if I set the address URL to www.example.com, then calls to example.com will 301 redirect to ...
0
votes
1answer
624 views

Rewrite rules for custom post type

There is a nonhierarchical custom post type "news". /news/ /news/page/2/ /news/post_slug/ Each post has custom field "views". When someone opens post, field's value increased by one. Would like ...
2
votes
2answers
4k views

Removing taxonomy base using WP rewrite

I´m trying to create the following URL structure: example.com/attractions <-- post type archive example.com/attractions/taxonomy_term <-- taxonomy archive ...
1
vote
1answer
247 views

Rewrite a category

How do I rewrite a category url that has a number at the end, to a url with no number using wordpress url rewriter? and... Why is there a number appended to all category url's? ...
3
votes
1answer
2k views

Custom Permalinks for Blog Posts Only

I know this is a fairly common topic around here, but I can't seem to figure out a solution to my particular case from reading similar threads. Basically, my permalink structure needs to be ...
2
votes
2answers
400 views

Define orderby in url

is there a way to set the order of posts via the url? /orderby/date/order/desc/ i have tried several things with add_rewrite_rule whiteout success. add_action( 'init', 'wpse13483_init' ); function ...
0
votes
1answer
437 views

Custom taxonomy and post type rewrite rules

I'm working on portfolio site, where I need to create a "portfolio" post type and divide posts in it by categories with urls like "/portfolio/category/", so the "category" is the category term. ...
3
votes
1answer
2k views

Pretty URL with add_query_var

I'm trying to add a 'sub post' to each post on my site, eg site.com/product-one/changelog site.com/product-two/changelog site.com/product-three/changelog This is the code I'm using atm, which I ...
0
votes
2answers
261 views

Dynamically append custom post type to end of url

At the moment my nav menu's category list only links to normal post_type archives. I'd like to dynamically append a custom post type, specifically ?post_type=portfolio, to the end of each url that ...
0
votes
1answer
115 views

How to shorten the Permalink after WP>WP blog import?

We've imported a blog from one domain to another and the permalink thats been created for category archives is: domain.com/category/graphic-design-blog/tips-for-artist/ where ...
2
votes
1answer
368 views

How to change author base without front

I am currently using this code: function change_author_permalinks() { global $wp_rewrite; $wp_rewrite->author_base = 'connect/member'; } add_action('init','change_author_permalinks'); ...
0
votes
1answer
2k views

Rewrite rule that wp-login.php?action=register is left alone

Unfortunately buddypress breaks a facebook connect script because of the rewrite rules. It changes /wp-login.php?action=register into /register/ I tried to find where the custom rewrite rule is ...
2
votes
3answers
325 views

url rewriting for most recent post

I'd like to set up my WP so that urls ending in /last would return the most recent post in that set of posts. For example, /last returns the most recent post of any type, ...
0
votes
1answer
1k views

Rewrite on custom post type permalink not working?

My theme has a custom post type called 'portfolio'. I want the url to display 'projects' instead. I've change the rewrite on the register_post_type function to 'projects' but it doesn't change the ...
3
votes
2answers
3k views

URL rewrites and pagination

I must say that I am a complete nooby at Wordpress custom URL rewrites. I have searched for past many days to find a clear explanation of how to determine and write correct pattern for URL rewrites. I ...
0
votes
1answer
77 views

Plugin with custom domain

OK I will try to explane my problem better. What I need to do is to create a kind o service for my WordPress. From some external web sites I like to send some data to my main WordPress web site ...
0
votes
1answer
138 views

How to Use metada Value in Url and is it possible? [duplicate]

Possible Duplicate: How to use Post Custom Metadata in Post Titles and Post Permalinks hii i want to know that how can i use my metadata value for post url which i add with my every post in ...
3
votes
2answers
450 views

How to use Post Custom Metadata in Post Titles and Post Permalinks

I am very new to WordPress. How can I use post custom metadata in place of Post Titles, and as the Post Permalink? For example, instead of domain.com/the-post-title, the permalink would be ...
1
vote
0answers
56 views

Entities in URL… why? [closed]

A user creates a post with the following url: http://mysite.com/entry/we’re-here/ However, my text editor converts it to this automatically (I'm using the url somewhere else in a cut and paste): ...
1
vote
2answers
171 views

How do I get rid of “category” from my URL structure?

By default WP links to a category like this, mydomain.com/category/travel. Having the word "category" appear in the URL seems unnecessary. I'd prefer have the link read mydomain.com/travel. How can ...
0
votes
1answer
39 views

How do I get posts to appear at mydomain.com/blog?

I'd like to use WP to manage my whole site, not just the blog. I don't want the blog to appear on the home page, but instead at mydomain.com/blog. What I've done so far under Settings/Reading is to ...
0
votes
1answer
69 views

Custom rewrite rule takes place AFTER the generic category rule

I've got a custom post type defined to handle a company's distributors. It takes a post and routes it under /distributors/abc-truck-sales. I noticed that loading /distributors/ matches up to a ...
2
votes
1answer
2k views

Custom post type's get_permalink returns wrong url

Currently my permalink setting is /paper/%postname%/. I am developing a plugin, so the following is done during the activation. I am programatically adding a new custom-post-type called 'meta', like ...
0
votes
1answer
512 views

Flushing rewrite rules

I'm using this function to add a custom end point to the WordPress urls add_rewrite_endpoint('print', EP_ALL); When the plug-in gets deactivated, I run this function flush_rewrite_rules(); This ...
4
votes
1answer
999 views

How to filter custom post type archive by meta value

I have a problem where I'm trying to build a calendar plugin for a client. I'm having trouble getting a date based archive for the custom post type I'm using. I'm not too well versed in how the ...
0
votes
1answer
565 views

HowTo to add my rewrite rules at the beginning, redirect to the right page and flush the rules on plugin activation?

Hi i am currently writing a WordPress plugin that i want to release to the public. I am having a few issues with URL rewrites however. I have got the plugin to redirect to the plugin page ...
2
votes
1answer
450 views

Category and tag with same name

IN my blog, if I have a category and tag with the same name, it will make the tag have a number in the URI. Example: category/php tags/php-2 Is there anyway to make my tags with the same name as ...
1
vote
1answer
364 views

Wordpress removes spaces in URL on pagination

I'm having a problem with wordpress rewriting my URLs, basically I have a regular search form with method set as GET, when I submit it the URL looks like this at first: ...
0
votes
2answers
2k views

301 Redirect all posts urls from .html to / (without .html)

How can i redirect all posts permalinks from .html to / ,in Wordpress ? now all my posts url are ending in / ,but before it was with .html to be more clear ,for example a post url like this ...
3
votes
2answers
562 views

Rewrite custom post type rss feed links

I am looking for a way to rewrite my custom post type feed located at http://localhost:8888/feed/?post_type=post to http://localhost:8888/feed/portfolio this post suggests using ...
1
vote
1answer
977 views

How to have a custom URL structure for a custom post type?

Even though this question sounds like others here is my problem: The site I am updating had a permalink structure of /%postname%, during this time I created a custom post type of "popups" (rewrite ...
0
votes
1answer
203 views

Combine 2 different custom post slugs into a single permalink?

Need some help with this URL rewrite. I have 2 custom posts set up, 'company' and 'job'. I have a single-company page, and a single-job page, which work fine. A company can have many jobs, and I'm ...