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
107 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
61 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
215 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
23 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: ...
0
votes
0answers
34 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
68 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
61 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
75 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
35 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
24 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
25 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
64 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 ...
1
vote
0answers
120 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
94 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
33 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
1answer
67 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
33 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
79 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
50 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
0answers
23 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
1answer
84 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
0answers
17 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
33 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 ...
0
votes
1answer
220 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
129 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
81 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
63 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
17 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( ...
0
votes
0answers
29 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 ...
0
votes
1answer
40 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' ...
0
votes
0answers
98 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
111 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
57 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' ...
0
votes
0answers
77 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
110 views

MyBB 1.8.6 and Wordpress 4.3.1: Error at member.php from myBB

I have the following setup: Wordpress Instance at /var/www/html/mypage MyBB Instance at /var/www/html/mypage/board I am using a WP-Connector from myBB Addons to connect them both. When logging in ...
1
vote
0answers
12 views

Removing taxonomy slug from URL but keeping post type [duplicate]

As the title says, I want to remove the taxonomy slug from URL. Instead, I want to keep the post type slug. For example: I have a post type called "Books" (rewrite_slug = books) and a taxonomy called ...
0
votes
0answers
37 views

Rewrite url from /page to /custom/page

I have a situation where I need some custom routes in my Wordpress set up. In my menu, there is an 'about us' item (which I set as a custom link) but it is not clickable, and just has 2 sub items in ...
0
votes
0answers
72 views

Hierarchical URL based on custom taxonomies and post types

I've been googling around for an answer to this question but the answers are either too old or hard to follow. I'm hoping I can get some clarification on how this works here. I'm trying to set up a ...
0
votes
0answers
43 views

How to make variables in custom page URL look like the permalink structure?

I am using wordpress and in that i am using permalinks post name but in project manager plugin on click of one of one project i get this url which i want to make user friendly as the name of the ...
1
vote
1answer
167 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
106 views

Multisite custom rewrite urls

On a multisite installation, which is running the Polylang plugin, I want to add a custom rewrite rule. Currently, my permalink structure is: http://host.com/sitename/language/pagename Now I want ...
0
votes
0answers
36 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: ...
0
votes
0answers
37 views

Custom Post Type below second level mainmenu

I want to have the following structure in my website menu: Home | for Beginners | for Experts | Contact | | Reports (CPT) Reports (CPT) Jobs (CPT) Jobs ...
0
votes
0answers
27 views

Rewrite rules are correct but ignored

I am trying to get the following URL to point to a particular WordPress page. URL/courses/computer-course/units/ needs to redirect to URL/units/ with coursename='computer-course' and page_id='228'. ...
0
votes
0answers
33 views

Passing values in SEO friendly way

Here is the link I have right now : domain.com/my-basic-page/?state=colorado&city=austin Here my-basic-page will be always same. I have written some stuffs to do with those state & city ...
0
votes
0answers
89 views

Plugin returns random 404 Error on URL ReWrite

A proprietary plugin I'm trying to install is generating a 404 Page about once in every 6 or so page reloads. Saving permalinks has no effect on this bug. I cannot find any meaningful server logs ...
0
votes
0answers
17 views

Category-dependent custom permalink

My website uses a custom permalink structure of the type: /blog/%year%/%monthnum%/%day%/%postname%/ Now, I created a new post category, which needs to have the permalink: /guide/%postname%/ In ...
0
votes
0answers
25 views

wordpress ignoring search variables

I need a custom path for the search function, but not permalink, because I want to be able to pass in any of the regular wordpress search variables. For example, I'd like to search for the word yes ...