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)

0
votes
0answers
5 views

Permalinks 404 error with HTTPS host

My new permalinks continue displaying a 404 error on my site even after adding the AllowOverride and Rewrite modules parameters. Here is my default-ssl.conf file : <IfModule mod_ssl.c> ...
0
votes
1answer
15 views

Hide category name in URL

I have this situation myurl.com/catA leads to main wordpress site, and I need to make that myurl.com/catB should leads to specify wordpress category but without showing it in url like ...
0
votes
1answer
15 views

Add ReWrite from Old Pages to Wordpress (remove .php)

I have a WordPress site that has 4 old .php pages left to run as is. My issue is previous there was a rewrite rule to remove the .php from the URL giving it clean URLs. I tried just adding the same ...
0
votes
0answers
20 views

how to use two permalinks for one custom post type

I have a custom post type "article" where posts have a permalink structure (www.mysite.com/article/post-name). I need each post in it to have two different templates according to its permalinks: the ...
0
votes
0answers
8 views

URL rewriting taxonomy term

I'm trying to find solution for the following hours now and i don't know if this is applicable. I have 1 Custom Taxonomy "Years" for Post Type "Post (default)". The taxonomy has 2 Terms: "2014" and ...
0
votes
1answer
20 views

Wordpress rewrite rules not working

I have created a plugin and i have gotten rewrite rules to work using my .htaccess file. I would like to make this work from my plugin instead to keep everything contained from within there. Im ...
0
votes
0answers
8 views

Link a page type with custom WP_query variable

Basicly i want the URL : http://localhost/brands/[brand-name] to be addressed to a page template single-brandname where "[brand-name]" is a custom variable introduced in permalink. The Main Brands ...
0
votes
0answers
6 views

How can I have a custom post type titled “feed” and have the urls work?

First of all if you think this is something one definitely shouldn't do go ahead and tell. I want to separate my site to two blogs, one will be titled "UX Blog" and another just "Feed". But of ...
0
votes
1answer
13 views

Custom post type permalink: only use %post_id% and remove %postname%

I have created a custom post type in Wordpress which is working great. The only thing I need to solve are the permalinks created by this CTP. I currently have: ...
0
votes
0answers
18 views

Creating a URL re-write rule on Ngix causes re-direct loop with wp-admin

I have a Wordpress site hosted on Nginx by WP Engine. Currently it resolves requests to URLs either with or without a trailing slash. So, both of these URLs are functional: mysite.com/single-post ...
0
votes
0answers
30 views

How to rewrite a URL for a domain resolving to a sub-folder containing a WordPress install?

I'm having the following dilemma with WordPress: We are hosting several sites under one hosting plan (GoDaddy Deluxe Hosting) and using the "Hosted Domain" feature, which makes domains resolve to an ...
0
votes
1answer
17 views

Pagination for custom post types - url rewriting

I'm working with custom post type, that I want to paginate, here's part of code, initializing custom post type: $args = array( 'labels' => $labels, 'public' ...
0
votes
2answers
22 views

Custom URL segment parameters for posts

I need to add a custom parameter/segment to the post URL. For example, when I have a post at example.com/post-name, I need to add another segment like example.com/post-name/places. After that, I ...
0
votes
0answers
17 views

Two same URL domain

I have a problem with my wordpress . I just migrate to a new install only the post and categories . But now entering a link or search the CSS BASE URL for example doubles A href attribute URL : ...
1
vote
0answers
21 views

Attachment page gives 404 if user not logged

I am struggling on a very weird behaviour for a WP site I have developed. My client have uploaded many photos to the media library, and tags them with some custom taxonomies I have defined. Some of ...
0
votes
1answer
45 views

optional parameter in permalink structure

Im currently facing an issue with the relationship between pretty permalink and my themes templates. I have a post type called 'performance', and with pretty permalinks enabled the URLs for the ...
0
votes
0answers
26 views

Unable to perform simple URL rewrite

I've been trying to get url rewrites to work, but I don't seem to be getting anywhere with them. I've checked that AllowOverride All is set in httpd.conf, I've made sure that rewrite rules are ...
1
vote
1answer
189 views

Regionalised Content

Ok, so - I am working on a magazine style website that requires "regionalised" content. So for example I have: UK (Includes ALL) Manchester Brighton London I have already successfully ...
0
votes
0answers
36 views

Dynamically populate permalinks

I'm using a fairly standard permalink structure in wordpress e.g. example.com/custom-name/post-title However, I wish to prepend the 'custom-post-type' with a location name from my database. So the ...
0
votes
0answers
13 views

How to control the the URL of a Custom Post Type to have multiple slugs?

I currently have a custom post type whose rewrite rule is this: 'rewrite' => array( 'slug' => 'tests', 'with_front'=> false ), So the URL is www.domain.com/tests/post-name ...
3
votes
1answer
55 views

Dynamic Endpoints

I have a database table outside WordPress that I need to make endpoints for. I've created a page /cars/ where I plan on using a page template to generate links. I would like for the url to look like ...
0
votes
0answers
17 views

Redirect to single post with unique custom taxonomy term

I need some help with taxonomies and custom post type to make a redirection to an specific single post. Lets suppose I have a custom taxonomy called "place_id" wich assigns each custom post type ...
0
votes
1answer
73 views

Include language variable in url

I have been developing a language plugin for wordpress which works completely. The only thing that is missing now is the url-rewriting. I have been looking at a lot of websites, sources and other ...
0
votes
0answers
16 views

ModRewrite not working properly

I am experiencing issues with modrewrite and RewriteRule. Have a look at my .htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond ...
0
votes
1answer
28 views

How to rewrite URL and get the values?

I created a shortcode by add_shortcode. where the shortcode placed in a wordpress page to display dynamic content. The dynamic content is based on the URL value. Example If URL is ...
0
votes
0answers
13 views

How to list posts of a given format

I want to create new urls in my wordpress that list posts of a given format and category. I thought the url structure would make sense to be like this: /[post-format]/[category], i.e.: ...
0
votes
0answers
17 views

Custom URL Rewriting by Year, Custom post type and Custom taxonomy

I am trying to create a custom rewrite url, but is not so clear for me unfortunately... So my problem is: I have a Media-Resources custom post type and Media Type custom taxonomy. This taxonomy is ...
0
votes
0answers
24 views

Wordpress 4.2.1 Rewrite issue

i'm working on Wordpress 4.2.1 with custom Template. Webserver: IIS 7.5 with Helicon Isapi_Rewrite. It's a multilanguage website but i have 2 issue that i can't solve. My first problem is about Url ...
0
votes
1answer
20 views

Need help with custom rewrite rule

I have a CPT called presskit, and I need to add a custom query var named welcome_box. I have this code right now: function my_new_url_querystring(){ add_rewrite_tag( '%welcome_box%','([^&]+)' ...
0
votes
1answer
22 views

Custom slug in front of search URL

I'll try explain this the best I can... I have a search form on my homepage: <form role="search" method="get" id="searchform" class="form" action="<?php echo esc_url( home_url( '/' ) ); ...
0
votes
1answer
21 views

Custom URLs in Custom Search Results

I need your help with Custom URLs in Custom Search Results (Wordpress). I have this URL http://domain.com/?s=&categories=489&locations=310 which get me search results. I can replace IDs with ...
0
votes
0answers
32 views

How does the WordPress URL Routing work?

I would like to try and mimic how WordPress has their URL routing system designed, only a much more simplistic level. Can someone help me understand how they have their routing system designed so that ...
0
votes
2answers
55 views

Rewriting URLs with a query string

I am running into a headache trying to get some url rewriting working on a wordpress website, running Centos 6 for operating system. This is what I am trying to achieve. Current URL = ...
0
votes
1answer
21 views

Using page as front page, why does /page/### work?

So I've experimented with different themes and have determined this is a WordPress thing and not a theme thing. Say I create a page titled "The Front Page", then set it as the front page on reading ...
4
votes
2answers
56 views

Adding rewrite endpoint breaks static front page

I have static front page for my WP installation set from settings > reading. Then I have added a URL endpoint using. add_rewrite_endpoint('foo', EP_ALL); So, the front page should be accessible ...
2
votes
1answer
23 views

Single Redirection Rule for Pages and Archive links

I am trying to find pretty URL solution for url parameters. Consider this url set http://example.com?token=foo http://example.com/pagename?token=foo http://example.com/parent/childpage?token=foo ...
0
votes
1answer
22 views

Custom taxonomy Rewrite Rule

I want my taxonomy url to be like this: site.com/page/taxonomy_term How will I be able to achieve this? I have written a wordpress rewrite rule code in my functions.php like this: function ...
0
votes
0answers
14 views

Rewrite URL of a page which is child of a Custom Post Type

With the plugin Types I've created a hierarchical custom post type "journeys", and then I set that normal "pages" are child of "journeys". I've created a "journeys" post called "My First Journey". ...
0
votes
0answers
49 views

Remove trailing slash

I need to revert from "pretty prmalinks" to query string just for the pagination urls. (so that example.com/page/2 becomes example.com/?paged=2). It could possibly be done via a hook in to redirect ...
0
votes
0answers
37 views

Remove one part from the Permalink automatically

I have a bit of a messed up situation. The client wanted to have static landing pages like website.com/state/city but also create custom post types like restaurant. So I setup regular pages with the ...
0
votes
1answer
27 views

configuration of .htaccess for add_rewrite_rule to make sense

I am trying this code from codex wordpress site function custom_rewrite_basic() { add_rewrite_rule('^leaf/([0-9]+)/?', 'index.php?page_id=$matches[1]', 'top'); } add_action('init', ...
0
votes
0answers
15 views

Add Archive suffix on permalink structure

My permalink structure is /%category%/%postname%/ Where the posts can have one category and one subcategory, having its permalink: /category/subcategory/postname The homepage of all the ...
0
votes
0answers
40 views

Nginx WP permalink 404 .html

Moving a site over from Apache to Nginx. The permalink structure is using: /%category%/%postname%.html Getting 404's for all links that use .html, I have been searching for hours and cannot find a ...
1
vote
2answers
19 views

Get rewrite result

Quick simple question. How would I get the result of a rewrite in wordpress? For example I have: www.some.website.com/some/parameter How would I get the end result that WP processes? Aka, the ...
0
votes
1answer
20 views

Problem with add_rewrite_tag

I tried to rewrite my URl with a custom query string. Here is the code : add_action( 'init', 'wpse12065_init' ); function wpse12065_init() { add_rewrite_rule( ...
0
votes
0answers
16 views

using two different urls for same post

I want to use two different permalinks for same post for some reasons the permalink structure i need are http://www.example.com/category-name/post-name http://www.example.com/post-name please help ...
0
votes
1answer
23 views

How Do I get the author's page id?

I need to assign comments a user makes to the author's page where the user is posting the comment. So, I need to get the author's page id. I have already tried functions like: url_to_postid() and ...
0
votes
0answers
19 views

I am trying to add a mode rewerite rule that seems to fail

I am trying to redirect everything from /app/.... to a certain page Will use that later for angular js. This is what i came up with : add_rewrite_rule('/app/.*', 'index.php?page_id=11', 'top'); ...
0
votes
1answer
27 views

Capturing /page-name/[0-99999] in both template and number

Apologies if this has been answered already - I have singularly failed to word my question in a way that Google can help. I'm trying to create a page that acts as a base URL for a range of items with ...
0
votes
2answers
71 views

How to get page_id for url rewrite or how to use page slug for calling a page?

I would like to simply create an url rewrite that takes the third argument and matches it to its corresponding pages, ignoring the other two arguments. domain.com/argument1/argument2/page-slug = ...