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
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( ...
0
votes
0answers
19 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
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' ...
0
votes
0answers
58 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
76 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
39 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
57 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
87 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
32 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
65 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
39 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
93 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
78 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
30 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
33 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
27 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
60 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
14 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
23 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 ...
0
votes
0answers
86 views

How to add variable at the end of URL

Regarding category URL rewriting: Current URL : www.example.com/category/croatia/hotel Required URL : www.example.com/croatia/hotel Here the keyword category is default from WordPress. The keyword ...
0
votes
1answer
25 views

Custom Taxonomy and Rewrite URL

I'm fixing some custom templates. There is this custom taxonomies add_action( 'init', 'custom_taxonomies', 0 ); function custom_taxonomies() { register_taxonomy('news_category', 'stfp_news', array( ...
0
votes
1answer
108 views

Rewrite url without flushing the database?

Is it possible to create a rewrite in WP dynamically such that no flushing is required? For example, not storing the rewrite in the database but rather defined in my plugin code?
0
votes
1answer
67 views

404 redirect based on url

I have a link like this: https://www.example.com/bh-job/38/?title=digital-marketing-intelligence-expert When I surf to the page I'm redirected 404 page because the page doesn't exisit. The page ...
0
votes
0answers
18 views

Taxonomy name in the URL [duplicate]

So I have a taxonomy of Clients linked to two custom post types (Press releases & Case Studies). What I want is the URL of a Press Release or Case Study post to have the client name (taxonomy ...
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?
0
votes
1answer
49 views

URL rewrite before template_redirect called

Logic I have a page template at /blog that contains a "public" blog. I have a page template at /members that is members area. If a user enters the URL /members/blog I want to catch this in the ...
1
vote
1answer
67 views

Wordpress Redirecting Non Category Pages /page/nnn to their Canonical URLs

I seemingly to have a strange issue I have found in almost every other Wordpress site. Suppose, you have set your Blog home to a static WP page /myhome. And you have a separate page for blog /blog. ...
1
vote
0answers
38 views

Custom Post Types hierarchy and rewrite

I've been around this problem for 2 days, googling and experimenting with no avail. I have this Custom Post Type name "programas", and a page with the same name. The page "Programas" lists all the ...
0
votes
1answer
67 views

Custom Post Types and Removing Slugs - should we do it?

I've run into issues trying to remove my custom post types slugs and I've read other questions on here from people with the same problem. We don't want that slug in our URL! But the solutions to this ...
0
votes
0answers
30 views

show 404 page for url which contains unexisting post id

I created custom urls rewrite example : domain.com/post_id/image/image_name/ with rewrite rule it shows likes this : Domain.com/125/image/my-car-image/ it work fine but i want to show 404 not ...
0
votes
2answers
52 views

Custom post type URL

I have a page called "News", and I have created a custom post type for news. In "News" page I need to show all news custom posts and they need to be clickable. "News" page url is ...
0
votes
1answer
85 views

forward/redirect taxonomy archive of term to a page with same name

I have a page called "cars" with child pages for each individual car eg (site.com/cars/ferrari) I have created a taxonomy called 'vehicle' where each term has a car that matches the child page. ...
1
vote
1answer
37 views

Load an url with minimal/no DB queries

What would be an ok way to load a theme template with minimal/no db queries? Another question: is it viable to 'dry' load a non-wordpress template using rewrite rules? So instead of index.php?p=1011 ...
0
votes
0answers
135 views

Add custom parameter to permalinks

I have a WordPress page that I would like to use SEO friendly query parameters with. Let's say this wordpress page is accessible by going to http://www.example.com/test and its short URL is ...
0
votes
0answers
27 views

Category Archive Permalinks

So my blog has been running well since last time i asked a question here. But now, i've got another question, i'm having problem with the category archives permalinks So my category tree looks like ...
0
votes
0answers
26 views

“Project” post type to “Page”

I need the user to go to a Page when he clicks on the menu that is managed in "Projects" section (backend). Situation I have a kind of a menu managed in "Projects" section (backend), made with ...
0
votes
0answers
17 views

Can I use the same permalink base for Categories and Posts?

I am migrating our site from another CMS and the way the permalinks were setup with the prevous CMS are like this: posts: /news/%year%/%monthnum%/%day%/%postname%/ categories: ...
0
votes
0answers
46 views

Custom Permalinks with Post Meta Value , other pages return only homepage error

I have a directory site, so i created a post type name "ads" and their post title are phone numbers, but i want the permalinks instead of mysite.com/ads/post_title i want it ...
0
votes
0answers
125 views

How to remove custom post type slug & taxonomy-base from URL in WordPress

I am using woo-commerce I have bellow code to remove the post type "product" slug from url and it works fine. Product url = http://example.com/product/product-name/ to Product url = ...
0
votes
0answers
55 views

How to get additional query parameters after a url rewrite

DISCLAIMER: Wordpress novice here. I'm trying perform a custom rewrite rule - and I believe Wordpress is stripping the additional query values from the rewritten url. example url: ...
1
vote
1answer
26 views

Can I have /blog and /foo and /bar all point to the same blog?

I currently have wordpress installed in its own directory and serving content for URLs beginning with /blog. So all my wordpress content is served from URLs like these: ...
1
vote
0answers
91 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
51 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
59 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
50 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
34 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
61 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
27 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 ...