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
36 views

how to refresh woocommerce products

i have a bunch of products in woocommerce that i had to export and fix and then re-import. Everything seemed to go smoothly except for 1 thing. Each of the prouducts had a Advanced custom field ...
0
votes
1answer
34 views

Nginx WordPress and another Web app URL structure

I have got WordPress installed on my root example.com/ Website. Also I have another Web application that on example.com/my-app/ which has got ugly links like example.com/my-app/file.php?arg=value to ...
1
vote
1answer
47 views

Replace term archives with static pages

I need to make different pages for different Woocommerce product categories with each having different look and functionality. Defining templates for each term archive would make it difficult for my ...
0
votes
1answer
569 views

How to make wordpress use www.example.com/blog/wp-includes/ instead of www.example.com/wp-includes/?

I have WordPress at address http://www.example.com/blog/, now I want it to be accessible as http://www.example.com/ without moving wordpress to root directory. I have made appropriate .htaccess ...
0
votes
0answers
64 views

Dynamically Change Base Permalink Prefix For Custom Taxonomies (Categories)

I'd like to change/modify the permalink structure for the standard and custom post-types and taxonomies, such that the base being prefixed to the permalink dynamically changes for each post-type and ...
0
votes
1answer
41 views

Custom post type url Rewrite (conflicting with page url)

I have a website that has many different custom type posts. I want to use pages as parent templates for those custom type posts (listing all particular custom posts) For example I have a page called "...
1
vote
1answer
60 views

Change permalink for a single post entry

I've defined a custom post type, projects, and I've set the permalink for those post types to /projects/my-project/. However, for one of the projects, I need to give it a special URL, so instead of /...
0
votes
1answer
559 views

Best way to hook a custom url?

Let say I've a custom page with slug created "/products", I want user will be able to POST to a form with url "/products/create" and allow us to render some JSON output. The "/products/create" page ...
0
votes
0answers
25 views

How to ignore further page child path?

We are desperately looking for a way to create a page that accepts parameters, just like: example.com/mypage/?key=value but... without the ordinary query string. Instead, we wish to use the ...
0
votes
1answer
70 views

Remove custom post type slug but keep related category taxonomy permalink

struggling as well with custom url rewriting for custom post type taxonomies. Here is my requirement: domain/mycpt_category/postname/ It's well documented here and in several SE threads removing ...
0
votes
0answers
76 views

Woocommerce own single product page

I change permlink to '/produkt/%product_cat%/%post_id%' and my link looks like produkt/komputery/80/product-name/ - okey It is working. But for tests I change function ...
-1
votes
1answer
30 views

Single product link in woocomerce

I want to change my product link from produkt/produkt-name to produkt/category/subcategory/product_id/product-name/?myvariableParsedByJson Please give me any tips how to do it?
0
votes
0answers
19 views

Rewrite rule help

I am moving a website to wordpress from a custom CMS and have an issue with some custom rewrite URL that I need to match for SEO purpose. Original url looks something like this /search?Filter=filter1,...
0
votes
0answers
15 views

Where wordpress try to find php file for site?

I have installed woocommerce. When I open site host.eu/product/category/something else `host.eu/product/sth' Where wordpress try to find .php file to run this page? add_rewrite_rule('^product/([^/]*...
0
votes
1answer
17 views

page not found for example.com/custom-post-name

i have created custom post type: jobs custom taxonomy : jobs_division I wanted url like Custom permalink structure: /%custom-post-type%/%custom-taxonomy%/%post-name%/ I have registered custom ...
0
votes
0answers
17 views

Help with custom posts being rewritten to standard posts

I am having a bit of an issue with custom posts. My setup is WP4.4 with the following plugins: Yoast SEO Toolset Types Custom Post Type Permalinks I am rebuilding our company motorcycle website ...
0
votes
0answers
35 views

Multiple Sub Domain Names - One WP Install (non-Multisite) - Default Each Sub Domain name to AUTHOR Archive

Use case is somewhat simple - here goes: Unlimited people share a single wordpress install - not multi-user Each person blogs and puts their posts in a their own unique author archive Each person's ...
0
votes
2answers
16 views

Adding Rewrite URL for Base + Children Separately

I have a main page and beyond that it has children. I successfully rewrite the children like so: add_rewrite_rule('my-url/?([^/]*)', 'index.php?my-var=$matches[1]', 'top'); This works great. But ...
3
votes
1answer
68 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: domain.com/...
1
vote
2answers
76 views

Custom Post Type get_post_type_archive_link( $post_type ) returns false

Permalinks are (finally) working for individual posts of the custom yoga-event type I've created. And archive works without URL rewriting: http://website.localhost/?post_type=yoga-event However ...
1
vote
2answers
1k views

WordPress keeps writing rewrite rules to .htaccess

WordPress keeps writing rewrite rules into .htaccess again and again till it causes an error and causes server to return 500 Internal server error... i.e. My .htaccess is a series of # BEGIN ...
1
vote
0answers
41 views

Category base to url in custom post type/taxonomy

I'm building a recipe site that uses custom post types for recipes. So I searched for including the custom post type categories in the url and found a solution below by Milo. It rewrites the url and ...
0
votes
0answers
76 views

Custom WP TItle from custom template with dynamic URL structure

I am new to custom WP development, but I have made a custom plugin. With a custom rewrite I have made the following URL structure: /profile/[company_name]/ I have made a new post Profile with a ...
1
vote
1answer
34 views

Help with rewrite rules for two post types

I'm trying to setup two rewrite rules for two post types. Basically, the structure I want is this: site.com/app/course/xxxx/ => adds query_var course site.com/app/course/xxxx/theme/xxxx/ => adss ...
0
votes
1answer
42 views

Multiple query vars sorting combination and url rewrite

I have a custom search page for a custom post type ('program'). There are 4 parameters that can be set up for this search: 'word_search', 'archived', 'category' and 'operating_system'. We can search ...
0
votes
0answers
118 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 ...
0
votes
1answer
12 views

Access or edit custom generated permalinks with WP_Rewrite

I want to create custom permalinks for my plugin using WP_Rewrite. I found the codex the have great examples and this stack topic also explained a lot to me. Currently I've got the following code ...
0
votes
0answers
68 views

Post type permalink as subdomain rewrite rule

I'm trying to use custom post type slug on permalink before site URL (as sub domain) so the permalink most look like: http://post-type-slug.example.com I use a modified class from Subdomains plugin ...
0
votes
0answers
26 views

Custom Permalinks for posts with custom taxonomy

I have kind of a unique problem with permalinks and a custom taxonomy that I can't seem to find the answer to. I have created a custom taxonomy called "content_type" which is attached to the "posts" ...
0
votes
0answers
15 views

The Loop doesn't work when using RewriteRule

I am using .htaccess RewriteRule on my page. When user goes to /news RewriteRule actually loads /?nav=news On that page, I use The Wordpress Loop to show recent posts if (have_posts()) { ...
0
votes
0answers
36 views

Custom Permalink Rewrite for Blog Posts and Archives

I've seen stacks around a lot with mixed results. Basically the goal is to have a URL structure for all default Posts ('post' post type) to be: /blog/postname But also, archives (category/tag for '...
1
vote
2answers
647 views

Remove subfolders from URL

I am having a tough time removing the subfolders from the URL in my WordPress site. Currently, the URL format is: www.mysite.com/subfolder/index.php/category/postname I would like to remove both the ...
0
votes
0answers
12 views

All sub-sites urls show with main site in address bar

I have enabled subfolder version and MU-domain mappin plugin on Main site zeblog.xyz, Also put in the right (subfolder) .htaccess file My subsite is plumbingservice.info I did the following edited ...
0
votes
2answers
32 views

rewriterule not working

I have post type example with 2 records: exam1 and exam2. This post type was created by plugin Types Toolset (www.wp-types.com). So link to exam1 looks like my_site/example/exam1. Also I have 1 GET-...
0
votes
1answer
33 views

Rewrite URL for a specific taxonomy [duplicate]

I registered a post type of 'product', and also registered a taxonomy 'poruct-cats' for this post type. When I want to access to product-cats it seems like below: example.com/poruct-cats/a-product-...
0
votes
0answers
45 views

After I changed the slug of a custom post type, the single page returns 404

I created a custom post type using types plugin the post type has ad as slug, but now need to change it to card, and I edited the slug field in the types panel. the thing is that new urls return 404.....
0
votes
0answers
33 views

Modify custom taxonomy permalink to allow 2 additional parameters?

I have a custom post and taxonomy set up. The only section I have in my website are taxonomy archives. The archive page lists the posts from the current taxonomy term. Each post is viewed in a modal, ...
0
votes
0answers
29 views

Rewrite URL query string for all pages

I need to pass query string http://example.com/anypage?query=123 to look like this: http://example.com/anypage/123 and it should work on any page: ...com/anotherpage/123 I am looking for the ...
0
votes
0answers
28 views

override a category with a page using a rewrite rule

I want to override a category with a page using a rewrite rule. The code below works fine. It overrides the education category with the education page. Strangely though I'm getting a 404 on the ...
0
votes
1answer
36 views

variable endpoints for webservice

New to wordpress development, I am working on a plugin that retrieves data from a webservice. I need an endpoint because the retrieved data also depends on the value of the page's metabox, so in ...
10
votes
3answers
9k 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
33 views

Rewrite Endpoint Url without ? before endpoint

Created Custom Post type called members, don't need a members permalink, but need to link to member patents, if exists for member (which I got figured out). The problem I'm facing is the creation of ...
0
votes
0answers
14 views

How to write custom rewrite rule for custom post

I have make a custom template which fetching result from sugarcrm. and its url is following : http://www.ideadunes.com/newideadune/career/apply-form/?category=Android&job=Android%20Developer&...
0
votes
0answers
63 views

Same slug for custom post type archive and custom taxonomy archive?

"Recipes" is a custom post type and "breakfast" is a term of the custom taxonomy "recipe-category". I want to achieve this: www.mysite.com/recipes/my-tasty-recipe = a single post (recipe) www....
0
votes
0answers
27 views

Rewrite single template permalink?

I have a single template file called single-schools.php. A school "templated" post is reached via the url http://example.com/schools/post. But the site's main language is Swedish, and therefore I want ...
1
vote
2answers
66 views

Remove base slug in CPT & CT, use CT in permalink

I've come quite far, but can't manage to get this to work. I'd like to remove the base slug from my Custom Post Type review and my Custom Taxonomy brand. The final result should be a URL like this: ...
0
votes
1answer
52 views

Rewrite URL Parameter And Force 'Pretty' Permalink

I’m trying to pass a variable via a URL parameter and rewrite + force 'redirect' it. In other words, I have: /dir1/dir2/?my_var=123 and I want: /dir1/dir2/123/ Through the following code in ...
1
vote
2answers
286 views

Get url-friendly version of the_title?

How can I get an url-friendly version of the post_title? I´m using anchor links for my posts on an archive page, and for the moment the posts get the post_ID as a hash tag but I would like to get the ...
0
votes
0answers
25 views

Get content upon urlrewrite

My goal is to rewrite my custom post type URLs including post's meta values, I achieved it by doing : // declaring my custom post type $args = array( 'rewrite' => false ); register_post_type( '...
0
votes
0answers
31 views

URL rewrites with two post types

I have two post types: car and parts. Now I would like to be able to rewrite the url slug for parts bit differently. Right now it is like this: mydomain.com/parts/some-part-post-slug And for cars it ...