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)

1
vote
0answers
26 views

Including taxonomy term before post type breaks top level pages

Got a website that has two top level pages called commercial and domestic, and in these pages there is other content that shares a similar format, e.g. I want case studies in both the commercial and ...
0
votes
0answers
18 views

Set custom post type's base url in subfolder

I have a custom post type (non-hierarchical), say, "tickets," and usually what WP does with its URLs is this: Single CPT: http://tld.com/tickets/single-entry/ Archive CPT: http://tld.com/tickets/ ...
0
votes
1answer
36 views

Overwrite Wordpress's URL rewrite not working

What I'm trying to do it's pretty much simple, but it's not working and I don't know if it's a Wordpress rewrite or I'm just doing it wrong. What I have is this url: ...
0
votes
0answers
25 views

How can I write the following URL in wordpress

I am working on a project, and one of the biggest parameters was that we keep existing data and URL structures intact. the decision was made long before me to switch from an old, crappy codeignitor ...
0
votes
0answers
38 views

url redirect to another url whilst keeping original url

I have a wordpress site (mysite.co.uk). I also have another add-on domain (mysite.fr) pointing to the wordpress site root. I have pointed this domain (mysite.fr) to this page - ...
0
votes
0answers
66 views

Generate page URL based on form field input

I have a WordPress page with the URL: http://example.com/mypage/ On that page I have a custom form, on the submission of the form I want to generate the URL in following format: ...
2
votes
1answer
41 views

Custom Permalink Tag breaks Pagination

Most the below work stems from a previous question / accepted answer. I'm trying to achieve the following permalink structure: /listings/ /listings/page/2/ /listings/%state%/ ...
0
votes
1answer
116 views

Rewrite Rule for Custom Page with Query Vars in URL

Background I have a a page called 'listen' with a custom template, which runs a custom wp_query that uses the 'show' variable in the URL. The following example works... ...
0
votes
0answers
5 views

How to display customized urls

I need to rewrite some urls or to create masked urls. I create two tags categories displayed as widgets on the site, job title and city name but the url of both tags categories must have the same ...
0
votes
0answers
14 views

Rewrite rules in Multisite not working unless flush_rules() always run

We have a multisite website that creates pages in the website by pulling from an API and inserting them into template files. The current rewrite rules we have made to create these pages are: ...
2
votes
2answers
449 views

Is the SEO plugin necessary?

I want to understand how wordpress is structured in the first place with regard to search engine friendliness. Isn't it set up for SEO by default? Is the SEO plugin necessary then? and to what extent ...
0
votes
0answers
27 views

Make URL like /fr/something display same as /something

I would like every URL of my WordPress site that looks like /fr/something to show exactly the same page as /something, but without redirecting; I want to keep the URL. I think I'm close, I used : ...
0
votes
0answers
53 views

How to show custom URL and load the content of PHP file?

Suppose I want to display the URL like this: www.example.com/whatsup I don't want to make a page to show, just make a URL like that. And say in my theme directory I have a file like this: ...
0
votes
0answers
46 views

Paging not working for hierarchical custom post type

I've defined a custom post type called Fishing Reports, and want to break it down by states, then regions. For example: url.com/fishing-reports/florida/northwest/ That part is working as expected. ...
0
votes
0answers
45 views

add_rewrite_rule using custom taxonomy and year

I have a CPT called books and a custom taxonomy called genre and need to show in a page all books of a specific term and a specific year. For that, I created taxonomy-genre.php file and created a ...
0
votes
1answer
26 views

Add pagination to a template loaded by query variable

I have set a query_var,called men, which loads a custom template displaying men's clothes. The rewrite rule is as follows: ...
0
votes
0answers
19 views

URLs with two taxonomies are missing from sitemap

I have problem with wordpress rewrite and SEO, mostly the sitemap. I'm using the Yoast SEO plugin. I use the regular "post" post type with two taxonomies. The regular "category" and a cutom taxonomy ...
0
votes
2answers
23 views

Many Rewrite Parameters/Rules

I have a bible page which is page_id of 135 and I am trying to create multiple WordPress rewrite rules. I am trying to obtain something like either of the following: website/bible/nasb ...
0
votes
0answers
55 views

Rewrite.php .htaccess generating external rewriterule for a different domain

I've been searching the web for a bit now and have not found a clear answer to this question. How can I modify rewrite.php so that when .htaccess is regenerated it creates rewrite rules for an ...
0
votes
0answers
20 views

How to assign a category of Wordpress posts parent page and change its permalink structure?

I have posts of the category hiring and I need to assign a parent page about to posts from the category, so that the permalink structure can be changed from www.mysite.com/hiring-post to ...
1
vote
0answers
86 views

Multisite theme path rewrite using .htaccess

I'm trying to rewrite the theme path for multiple domains (wordpresss multisite) using separate themes, this is my current .htaccess file, this is allowing each site to use seperate CSS files but not ...
1
vote
1answer
61 views

WordPress rewrite rules for state and city

I'm building a site where every state and city in the US has a landing page. I have a database of every city, state, and zip code, set up as a custom post type in WP. Here's what I've done ...
0
votes
0answers
29 views

add_rewrite_rule

Facebook share will strip out querystrings. So I'm thinking if I can create a rewrite rule that will take a pretty URL like: http://mariners.plainjoe.net/irvine/events/event/131306 and rewrite it ...
3
votes
0answers
38 views

Custom Posttype Inheritance (and url structure)

After looking at documentation and searching around, I haven't been able to find anything, so here goes: Are there any way of custom-post-type-inheritance, and an url structure like this: ...
0
votes
0answers
24 views

Rewrite URL Category + Tag

I want to rewrite some URL's in my Wordpress site. The idea is to change URL's that has been generated by a search form across custom categories and custom tags. For example: ...
0
votes
0answers
50 views

SEO friendly custom page URL for multi-page posts

Is it possible to use a SEO friendly custom url structure for multi-page (paginated) posts in Wordpress? Example: This is the default url structure for paginated posts: category/post/2 ...
0
votes
1answer
43 views

rewrites and custom links in page need help with add_rewrite_rule

I have one page with edited permalink, like, address.com/detail/ I need to send there some values by GET request, so i would like the link looks like /detail/value1/value2/ i added this code in ...
1
vote
0answers
13 views

Correct procedure for advanced permalinks

I've googled this extensively, but can't get my head around it. I have a few custom post types and a taxonomy (location). I can access all the post types in a location via: ...
0
votes
1answer
65 views

How to dynamically alter all the links in menu via function.php

I have been searching and reading for 3 hours and still couldn't find anything that come close to what I needed and I am still trying understand how wp add_filter, rewrite, etc works. Just started ...
0
votes
2answers
2k views

Query custom taxonomy by term id?

I made a custom post type and a custom taxonomy, but I have a problem. When I access the url http://www.ithemes.co.kr/?shopcat=galaxy-s, it works well. But when I access the url ...
0
votes
0answers
22 views

How to remove custom post type identifier in permalinks? [duplicate]

I've purchased a premium "SEO-fitted" (so I thought) theme, that uses custom post types in the URL. like /cat/ or /item/ But I really need to remove those slugs, and change my URLs so it will be less ...
0
votes
2answers
506 views

Permalink Problems

I am having a problem. I am running WP 3.05 with one custom taxonomy. Here is the code to create the taxonomy: function create_property_taxonomies() { // Add new taxonomy, make it hierarchical ...
0
votes
0answers
12 views

Permalink Custom Structure urls taxonomia

I created a CPT and taxonomy, category and products, the problem is I need my product has the permalink well .com / name-category / name-product the permalink structure is set up /% category% /% ...
0
votes
0answers
29 views

Mixed CPT permalink structure

Im working on a site and i would need to add new features to the The Event Calendar plugin. The plugin uses tribe_events for event CPT and tribe_events_cat for Event category taxonomy. I need ...
2
votes
2answers
899 views

Custom rewrite rule serves content, but returns 404 error code

I have a plugin that sets up a custom rewrite rule. I can access the short URL and the content is returned correctly, but the HTTP response is 404, Page not found. From searching the web it seems ...
0
votes
1answer
112 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive ...
0
votes
0answers
112 views

Multiple urls for the same page without 301 redirect

Is it somehow possible to have 2 urls for the same page without using redirects in htaccess or a plugin? For example: I have a page with my products: http://example.com/products/all-products and ...
0
votes
0answers
62 views

Rewrite permalinks for custom post type, meta key?

The site I am working on uses the following "pretty" permalink structure: http://example.com/watch/the-strain-eps3/ I want to change it to: http://example.com/watch/the-strain-eps3/1504 1504 is ...
0
votes
0answers
49 views

Loading WP post with AJAX in Fancybox with home in background on post URL visit

I'm developing a WP site where product thumbnails (post's featured image) are displayed on the homepage and when the user clicks on one of them, the post is loaded inside a Fancybox with AJAX. I want ...
0
votes
0answers
89 views

Dynamically add a keyword to url with a specific template

I'm working on a site that is going to have two parts. Its going to have the regular marketing website and its going to have lots of landing pages constantly being drafted up to test things. My ...
0
votes
0answers
16 views

Custom Rewrite Rules Not working

i creat a plugin same it but when i go to http://mysite/apk/(post id) it not working :( hope some one can help me :( // Custom Rewrite Rules add_filter( ...
1
vote
1answer
95 views

Persist url parameter passed by a referrer website? [duplicate]

My website gets called from a referrer with a zip code in the url as a parameter like this: http://example.org/?zip=47800 But if I click another link on my site, the parameter is lost! How can I ...
0
votes
1answer
39 views

How Can a CPT in WordPress have a page 2 without an error?

I have a custom post type named foobar in my functions.php file with a rewrite rule of: $rewrite = array( 'slug' => 'foobar', 'with_front' => true, 'pages' ...
2
votes
1answer
5k views

Custom post type permalink endpoint

I have a custom post type called "destinations" and I have set the EP mask for the post type to default EP_PERMALINK. I have added a couple of endpoints as follows : add_filter( 'query_vars', ...
0
votes
0answers
78 views

Changing current post image uls with a function

I've changed my wp-content folder to a folder called stuff and am trying to change my image urls in existing posts with a function rather than a SQL query... I've placed this in my function.php ...
0
votes
0answers
59 views

Blog List Page 404 With Custom Post Type Rewriting to Blog Parent

There will be a lot of code blocks below, but here's the short version: On a site, I have a Resources custom post type, with a Resource Types taxonomy. The URL for a Resource Type post archive is: ...
0
votes
0answers
41 views

Custom Taxonomy Dynamic Slugs

I have two custom taxonomies named Cities and store-categories. i have following code for that register_taxonomy('cities',array('store-listings'), array( 'hierarchical' => true, 'labels' ...
5
votes
2answers
1k views

Custom pages with plugin

I'm developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, ...
0
votes
0answers
58 views

Pagination appearing twice in URL after rewrite

For my site, I have a custom post type video set to appear at at the URL http://site.url/videos. It is paginated so that there are 24 videos per archive page. However, I am not using the single.php to ...
0
votes
0answers
23 views

How to not redirect url blog pages to www?

I do not want the url of my blog pages to add the prefix www everytime I reload the page, which is what it's doing right now. How can I solve this problem?