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
3answers
242 views

How to have permalink like domain.com/term/postname?

I'm trying without success to have a URL structure like domain.com/term/postname, but I just get 404 for all non-CPT pages. function add_video_post_type() { $labels = array( 'name' ...
0
votes
1answer
60 views

Rewrite Question

I'm having troubles with creating my rewrite. I've been searching here (and other sites) for an example, but so far, no luck. My testing site is: ...
0
votes
0answers
37 views

Another flat level URL question (no hierarchy)

I read some issues with related topics, but found no answer. I have categories and subcategories on my site.The only reason having hierarchy is because I need to have on the category page all child ...
0
votes
1answer
85 views

Wordpress URL rewrite problem

blog.com/product/somename In the above URL - how do I tell Wordpress that 'product' is a variable and 'somename' is its value. Then how do I extract that value and use it inside a function I'll ...
0
votes
0answers
456 views

Redirect all page templates to index.php and turning Wordpress into a Single Page Application CMS

I’m trying to push the boundaries of Wordpress by turning it into a SPA CMS. Everything works fine until now except for a redirection issue. github angularpresstheme How it works: When I create a ...
0
votes
1answer
41 views

How can i fix a 404 error when targeting custom taxonomy slug ?

I have defined my new taxonomy like this $args = array( 'labels' => $labels, 'show_tagcloud' => false, 'hierarchical' => true, 'rewrite' => array( 'slug' => ...
0
votes
1answer
19 views

Re-directing URLs with dates to URLs without dates

When I first started writing entries I decided to include the month and day in the URL's, thinking I might need them. In the end turns out I didn't. I found that I can access a particular entry as ...
0
votes
1answer
11 views

Rewriting URL does not automatically log me in

I've installed my blog at www.mysite.com/blog I want to re-write the URL to take out the blog part so you can access it at www.mysite.com I added a rewrite rule in .htaccess file, but I noticed that ...
0
votes
0answers
90 views

400 Bad Request on Custom Post Type Rewrite

I'm doing some rewriting of the url for a taxonomy and custom post type based on some code I found on here. However on my custom post type archive url I'm getting a 400 Bad Request. I honestly just ...
0
votes
1answer
110 views

Remove index.php from WP 8.0 install migrated to IIS from Apache (still detecting Apache server)?

I was developing this WP site using WAMP at work, and now suddenly we're switching it up and putting it on a Windows server (2003). I can tell from the Permalinks Settings page in wp-admin that it ...
0
votes
0answers
41 views

URL rewrite function and pagination with year in the url

UPDATE No more 404 errors. Part of the problem was I using a reserved variable (year, doh!) so i changed a couple of things around and i have this almost fully working. I've made very good progress ...
0
votes
1answer
30 views

Taxonomy Parent not showing up in address bar

I created a custom taxonomy successfully and assigned the custom post type as well. It is a hierarchical taxonomy and I added terms in the back in a hierarchical way. I added for instance main ...
0
votes
0answers
46 views

Rewrite rule for custom parameters

Im having rewrite rules like this add_rewrite_tag('%offercode%','([^&]+)'); add_rewrite_tag('%offerdatefrom%','([^&]+)'); add_rewrite_tag('%offerdeparture%','([^&]+)'); ...
0
votes
1answer
106 views

Pagination 404 Not Found child page

I have a page Heemtijdinghen displaying custom posts (post_type=artikel) paginated. The page is a child page of page Publicaties: /publicaties/heemtijdinghen/ When navigating to e.g. page 2 a 404 Not ...
1
vote
1answer
316 views

Rewrite rule for custom taxonomy

I'm pretty new to wordpress and I'm trying to create a recipes blog. I've created a custom taxonomy for ingredients: register_taxonomy( 'ingredient', 'post', array( 'label' => ...
0
votes
0answers
20 views

Rewrite rule for a page to support pagination

I have a created a page and I want to use pagination in this page. I have added below rewrite rule but still I am getting 404 error, please help me to fix this issue, function ...
0
votes
1answer
30 views

How to stop Wordpress creating URLs that dont exisit

I have a website that is constantly created URLS that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLS - see below eg: ...
0
votes
0answers
112 views

Custom post type/taxonomy and pages rewrite conflict gives 404

I have set up a CPT called 'question'. For this CPT I am using a custom taxonomy called 'profession', consisting of terms such as 'doctor' and 'plumber'. I am also working with standard pages. When ...
1
vote
1answer
159 views

Migration from old CMS to WordPress 301 redirection rules?

I need 301 redirection rule for migrating old CMS to WordPress. On old CMS I have URL structure like this: I wish is to move my site to WordPress and to have all old (or most) URLs with 301 redirect ...
1
vote
0answers
92 views

WP Rewrite the last two parts of the URL

I have found quite a lot of post on the subject of WP rewrite but I can't find the right words to describe this problem. I'm trying to accomplish the following: ...
0
votes
1answer
33 views

Customize category permalinks

How can I generate URLs like http://example.com/blog/category/Test/? Currently, I have http://example.com/category/blog/Test/.
0
votes
0answers
242 views

Rewriting custom post type permalinks gives 404

I am using this code in my functions file to be able to include a post ID in my permalinks for a custom post type. But I am getting a 404 error when I attempt to preview view any of the posts of that ...
0
votes
0answers
100 views

Cannot modify a registered custom post type rewrite slug

I'm using this function in my child theme to modify the rewrite slug from custom post type that was registered on the parent theme. But it doesn't work. function change_rewrite_rules() { global ...
0
votes
1answer
26 views

How to change the url?

How to rewrite the url in wordpress? Instead of http://yapkimyks.com/product-list/astarlar/ it should be http://yapkimyks.com/product-list/yapbond/astarlar/ where, yapbond is main category name ...
0
votes
0answers
61 views

Custom URL rewrite rule for migrating to WordPress

I am trying to move my image gallery site from one CMS to Wordpress. On current CMS I have page with medium size image on it with URL: ...
0
votes
0answers
129 views

Rewrite / Mask URL of Auto Generated Page

I am using an old unsupported Wordpress plugin (Tan Tan Noodles) that pulls in a photo sets from flickr and auto generates a html page in Wordpress. A resulting URL would be: ...
-1
votes
1answer
96 views

Remove parent page from url

I would like to remove the parent page name from the permalink. At the moment, I have site.com/parent-page/child-page.php and I would like to have something like that site.com/child-page.php
0
votes
2answers
460 views

Possible to change the slug of default post type?

I have custom post types on my wordpress site and I've set the slugs to say "/blog/{post_type}/{post_title}". I'm using the default post type as a "notes" section, so I want that slug to be ...
2
votes
0answers
52 views

Plural Category Base Slug On Category Archive Page

I've got a little problem with the category base slugs. Say I have got a category called 'Resources', with the category slug set to 'resource'. So any post in the category resource will appear with ...
0
votes
1answer
130 views

how to change the verification url of pie register plugin of wordpress?

how can I change the verification url of pie register plugin? when any user registers it send a verifiaction url like this " ...
0
votes
0answers
40 views

WP_rewrite static Page URLs

Just moved over from blogger to wordpress. To try and maintain old URLs, and respective comments etc I've changed the site URL in the wordpress settings to match the old blogger format which was ...
0
votes
2answers
65 views

page is not redirecting

I want to redirect to a page to my home page if there would be found only one post.I have tried below code but it is not working, i have also tried header("location:url"), but it is also not working. ...
0
votes
1answer
38 views

Change the search URL

How can I change the search URL from /?s=my-word to /busca/?s=my-word ? I know how to change to /busca/my-word, but I really need the "s" parameter. Thanks.
1
vote
0answers
29 views

WP Rewrite issue

I'm trying to build this structure: for single page: www.example.com/london/restaurants/monrooe/ where: "london" is a query var "restaurants" is a category "monrooe" is the post name. How can ...
0
votes
0answers
53 views

Taxonomy to WordPress Permalinks of custom post type

I am searching days now for the answer how to add taxonomy to my custom post type permalink. I've found this article which almost exactly gives the answer but it doesn't work for my custom post type. ...
0
votes
1answer
67 views

Archive page for custom post type and custom taxonomy

I've made a custom post type book and a custom taxonomy book_category. I've been trying to create an archive page where the books belonging to a particular category can be viewed. So far I've only ...
0
votes
0answers
85 views

Removing top-level pages from URL

The pages (not posts) on my site follow a hierarchical structure, where top-level pages have no content and are only used to group the lower-level pages in categories. That way, the page us has no ...
0
votes
0answers
182 views

translate iframe content- transposh filter

I am using transposh plugin to translate content. Its working fine but it is not able to translate iframe content. I want to show content of another site or remote url. I just want to translate these ...
0
votes
1answer
47 views

Wordpress comment for virtual page

How to create separate comment section for all the virtual pages? Is this even possible? Do I have to create separate table to store the comments and do all the work myself or is there any ...
-1
votes
1answer
50 views

How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]

What I want to do is make some url rewrites that will be handled by classes in my plugin. When one of these urls is matched I want to hit an external api and then put out custom html with the content ...
0
votes
0answers
19 views

Wordpress comment for URL rewritten pages

I am rewriting URL like this product/product-category-name/product-name Here product is the real wordpress page, the rest are generated by database query. So, there is only one comment section which ...
0
votes
0answers
150 views

flush_rewrite_rules vs $wp_rewrite->flush_rules

I have been trying to flush the rewrite rules whenever admin chooses to change some value which needs rewriting. I first tried flush_rewrite_rules(true)(hard flush) which didn't work. Then I tried ...
1
vote
2answers
240 views

Filter to change the content of 404 page

I have created custom rewrite rules. These rules now go to 404 page as expected. I can use action hook template_redirect to change the template matching query_var. But I don't want to create separate ...
1
vote
1answer
389 views

Custom rewrite rule for backend/admin?

I would like to create a custom rewrite rule that will take the URL: http://domain/submit-project/add but display http://domain/wp/wp-admin/post-new.php?post_type=project Is there any way to do ...
0
votes
0answers
42 views

How to put a Custom Folder under one sub-site of Multisite WP?

I have a multisite wordpress and i'm now trying to have a custom directory under 1 of the sites of the multisite. Example: http://apple.example.com http://banana.example.com/myfolder ...
2
votes
0answers
79 views

web.config conflict on IIS

folder structure docroot |- wordpress |- web.config |- wp-content |- japi |- index.php \- web.config ... ... As you can see there are 2 web.config ...
0
votes
0answers
42 views

How to add taxonomy into URL of single custom post type

I have the following url of each custom post type Portfolio/titleofcustomposttype Portfolio/othertitleofcustomposttype But, i have already taxonomy for each post, and i want it to be displayed in ...
0
votes
0answers
117 views

WP redirects pretty permalink to query string

I have a custom post type artist and a taxonomy kind_of_art. I want their permalinks to be like: %kind_of_art%/%artist% Therefore I created following rewrite rules: add_rewrite_rule( ...
3
votes
1answer
116 views

Prepend meta_value to permalink of post

I have 2 custom post types movies (non-hierarchical) and series(hierarchical). Each post from seriestype has a meta field _movie which contains a movie ID. I want to specify a custom permalink ...
4
votes
4answers
291 views

Update URL Snippet to Canonical Permalink URL

My permalinks is in the format domain.com/post-id/post-slug I notice this is a great choice for permalinks as I can share articles with a short URL like domain.com/123 But when I go to this short ...