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

ngnix Url rewrite doesn't work

on my server i have installed magento,which is in my root directory. then I created a sub-folder named blog in my site's server. access the blog url is: http://example.com/blog ...
1
vote
0answers
129 views

Evaluating a external rewrite rule before internal wordpress rewrite rule

I am been plucking out my hairs since last few days trying to solve this problem: I want to convert my urls from format http://example.com/prodsearch/category/tag1-tag2-tag3-tag4 to ...
1
vote
0answers
221 views

IIRF + IIS 6 + Wordpress does not return 404 error

I use IIRF for Wordpress redirects in IIS6, but does not return "Page not found" (404), always redirect to home directory for all missing files. Permalink Structure: /%postname%.html IIRF rewrite: ...
0
votes
0answers
3 views

BuddyPress error 404 with rewrite module enabled

WordPress is at root path of Apache: http://localhost renders WordPress home page. Rewrite module is enabled: $ apachectl -M | grep -i rewrite rewrite_module (shared) Also permalink structure is ...
0
votes
0answers
16 views

How to Combine Two Custom Post Types into Single Permalink Structure

The website uses - A) A hierarcical Custom Post Type "Destination" to support the following structure, so each tier of the hierarchy could have its own unique destination guide: Territory - ...
0
votes
0answers
10 views

Re-write URL for certain sub-pages only

For better Organization in my Admin panel for Pages on a site I would like to add a page called "Unlisted" and then add sub-pages to this page that I do not want to be listed on the site...the purpose ...
0
votes
0answers
13 views

how to change some of the rules in the database

I need to add a rewrite rule for a WP page. I noticed that the rule is already part of the existing set, but apparently it is not correct. With the hope some internal mechanism would have replaced ...
0
votes
0answers
17 views

Rewriting URLs with Query Strings

I've been (unsuccessfully) attempting to prettify some URLs in a website I'm building in Wordpress, from something like this - ...
0
votes
0answers
17 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
18 views

URL rewriting with custom pagination

I'm using a custom query to display the results with the pagination and rewrite the URLs. The following function works fine and displays the URLs in following pattern: ...
0
votes
0answers
10 views

How to turn system default url into friendly urls?

We have been using wordpress for everything and we are really happy with it! While we can customize the way our friendly urls look though, there does not seem to be a way to do the same for the ...
0
votes
0answers
21 views

Custom Post Type and Custom Taxonomy - Same rewrite/permalink

I may be attempting the impossible here, I'd like a custom post type and a custom taxonomy to share the same rewrite. The rewrite being "/", with the intention of not having the custom post or taxo ...
0
votes
0answers
24 views

Create custom 'page' with plugin

I haven't been able to find this anywhere else so I thought I'll ask here! My plugin creates a custom post type with the various front-end rewrites, and I'd like to create a page on the front-end ...
0
votes
0answers
24 views

Wordpress permalinks on subfolder in iis7 not working

I have IIS 7.5. mod rewrite active. Currently, my wp site is inside subfolder. Here is web.config in my root folder : <rewrite> <rules> <rule name="site2.com" stopProcessing="true"> ...
0
votes
0answers
25 views

Append a custom string in custom post type URL

Is there any way in WordPress how to achieve following situation? I have a custom post type with permalinks. And I need to append a string to this URL, which will produce a different view. E.g. - ...
0
votes
0answers
14 views

Wordpress custom URL htaccess not working

I am having a URL in wordpress which needs to be changed. http://www.somedomain.com/site/other-jobs/view/?action=view&title=php-developer&JOB_ID=158 I want to make this URL to look something ...
0
votes
0answers
17 views

URL rewrite for custom taxonomies

I wish you guys can help me, here is the setup i have in my real estate theme and what i would like to achieve. I have a custom post called properties and inside the custom post I have custom ...
0
votes
0answers
26 views

How can i add a rewrite rule in wordpress

I want to add following rewrite rule in wordpress .htaccess using add_rewrite_rule() function. RewriteRule ^admin-panel/(.*) wp-admin/$1?%{QUERY_STRING} [L] how can i proceed? Thanks advance.
0
votes
0answers
18 views

Wordpress rewrite specific URL

How can I rewrite a specific URL? Example, orginal url is: www.domain.com/category/slug-1 to www.domain.com/slug-1 And the other category pages will not be affected.
0
votes
0answers
28 views

Changing attachment page Permalink

How can i change the attachment page permalinks to http://domain.com/photos/%attachment_id%/%postname%/%attachmentname% currently my permalinks set to Custom Structure ...
0
votes
0answers
15 views

Rewriting URLs with query strings and preserving them

straight to the issue - I MUST preserve link structure as follows, otherwise the baby squirrels die: website.com/blog.html?comments=%id% where the %id% stands for ID of post basicaly, that ...
0
votes
0answers
14 views

Add custom dynamic string to permalink structure wordpress

I am adding dynamic string to permalink but the problem is all the pages which runs from page.php goes to 404 whereas the detail page of the post is working fine. Code: add_filter('post_link', ...
0
votes
0answers
24 views

URLs unchanged after migration

I have my company's blog at http://blog.analytixsolutions.com and now I've moved it to http://blog.aixsol.com but I have the URLs still pointing to the former address. I used the commonly recommended ...
0
votes
0answers
18 views

add_rewrite_rule is not fired

I need to rewrite some urls: I have a page (id = 61), with slug anunciantes on wich I use a custom template to generate a wp_query to list a custom post_type. I need to be able to filter by two ...
0
votes
0answers
18 views

Register frontend page without access in backend

I'm looking to register a page that can be accessed from the frontend, while not actually having it show up as a "page" in the admin. I had thought about creating the page programatically and then ...
0
votes
0answers
23 views

WP Rewrite Rules - insert custom rules

function rewriteRules() { add_filter( 'rewrite_rules_array', array( $this, 'my_insert_rewrite_rules')); add_filter( 'query_vars',array( $this, 'my_insert_query_vars')); ...
0
votes
0answers
9 views

How can I merge this rewrite rule into Wordpress so that it does not generate 404's or 500's?

I've been trying to accomplish a simple url rewrite (really I want to move a multisite to a different url) as I explained here I did get advice on the url rewrite here in a way I understand, but now ...
0
votes
0answers
16 views

URL-parameters and RewriteRule gives 404

In Wordpress I have a template (lets call it template.php) that has content on the following page: example.com/template This page should be able to handle URL-parameters like. I got this to work. ...
0
votes
0answers
27 views

How can I send an id over the url?

I need to send an id that I am going to collect and use in a plugin. Plugin will collect it in a page where I use plugins shortcode. The url I am trying to get is like ...
0
votes
0answers
27 views

URL Rewrite for CPT single posts

I'm struggling with Wordpress' rewrite function I have the following URL structure http://example.com/album/test-7/ 'album' is the slug for the CPT single page 'test-7' is the slug for the CPT ...
0
votes
0answers
7 views

Can I rewrite URLs for tags to be children of the CPT they refer to?

I'm creating a site with multiple custom post types and taxonomies, and I need to restructure the URLs for the taxonomies so that they appear "beneath" the urls for the CPT archives. For example, I ...
0
votes
0answers
42 views

Where should I insert code to dynamically generate page content?

I would like to generate dynamic pages based on a third-party API. However, I'm not sure where in the WP loop to capture the request and generate the content. For example, if a user is requesting a ...
0
votes
0answers
15 views

URL Rewrite Inconsistency Between WP Installs

My plugin registers multiple custom post types which are grouped under different types of business objects. URLs are rewritten in the form: nebfm/busines_object/post_slug/post_name. On my local WAMP ...
0
votes
0answers
26 views

Why is my rewrite rule refreshing the page and removing my variables?

For some reason, the catch-all page rewrite rule is capturing this rewrite, rather than my own rewrite rule. My rewrite rule is listed at the top when doing a var_dump of the rules, as well as when ...
0
votes
0answers
27 views

Is it possible to change %post_id% in permalink by a constant?

I had an assignment of moving Joomla 1.0 content, categories and other stuff to the latest WordPress. Everything went fine, a few PHP scripts, a bit of fiddling with MySQL. But then, unexpected ...
0
votes
0answers
43 views

URLs ending with number higher than 2147483647 redirects to to domain.com/2147483647

I've got a javascript implented on my Wordpress site with the purpose to the substring of the URL and if it matches some criteria, it'll load a specific piece of content. So, if you input this URL ...
0
votes
0answers
21 views

URL rewrite results in a 404, but everything should work!

So I modified this code that I found elsewhere and stuck it in a plugin. The plugin works; I can see the .htaccess file updated when I hit save on the permalinks page. add_action( 'init', ...
0
votes
0answers
15 views

multisite to root

I have this configuration : http://domaine.com/ with an old wp (be removed soon) http://domaine.com/bob with a new wordpress multisite (the main) http://domaine.com/bob/site2 with a wordpress ...
0
votes
0answers
19 views

How to disable tag url rewriting on homepage (on others it works)?

Wordpress is able to handle posts selection by multiple tags: This url shows all posts from category fruit AND (with tags apple OR orange) http://www.example.com/category/fruits/?tag=apple,orange ...
0
votes
0answers
24 views

Unable to manipulate rewrite rules without calling flush_rewrite_rules() each time

I am trying to make a small portfolio website in multiple languages. Just a few pages (the actual blog doesn't need to be in multiple languages), mainly pages that are generated by a own-made plugin. ...
0
votes
0answers
16 views

pretty permalink for filtered posts

I am working on a personal book store. I have made CPT "Book" and Author as it’s custom Taxonomy, Author. Its just like another book site with usual categories like like Suspense , Horror, Comic etc ...
0
votes
0answers
36 views

Rewrite rule is not working

I want a custom rewrite rule for my plugin. But for some reason it is not working. I tried flushing url, registered query var. But still it wont work and it gives output like this: ...
0
votes
0answers
14 views

Change only the attachment permalinks to %post_id%

My permalinks are set to /%category%/%postname%/ but I would like attachments to live at photo/%post_id%/ I already have a rewrite function to change the attachment slug from attachment/ to photo/, ...
0
votes
0answers
26 views

Network created blogs URL

I'm building a blog network where people can register their blogs. As default if my domain is domain.com and if user creates a blog, the URL will be domain.com/mynewblog/ Now I would like that all ...
0
votes
0answers
33 views

permalink overwriting after save post

I'm developing a plugin to sell tickets for live courses. Using a shortcode [ticketform] I show a form that takes customer data and if everything is ok --> go to paypal --> thank you page. Within ...
0
votes
0answers
55 views

How to include in a child page url the parent slug?

I have this page structure: Auto (parent) with child pages: Ford, Audi, Opel, etc. Normally accessing the opel page the url is example.com/auto/opel and I want to obtain ...
0
votes
0answers
27 views

Create permalink for my custom URL

I am trying to redirect all requests with "somestring" in the URL to a specific template. That means: http://mysite.local/mysitename/somestring to a specific template in file somefile.php below is my ...
0
votes
0answers
43 views

Custom URL in Wordpress with add_rewrite_rules and add_rewrite_endpoints

I have the following URL for a filter functionality that i try to build in wordpress: example.com/offers-type-all-inclusive-from-germany-transportation-airplane.html How can I make the arguments ...
0
votes
0answers
47 views

Custom Rewrite Rule with Sub Folders

I need to create a custom rewrite rule for a WordPress plugin. I have read this topic and came up with a working solution using add_rewrite_rule(). However, after testing the plugin, I realized that ...
0
votes
0answers
66 views

Customized author slugs not working with get_author_posts_url method

I really appreciated the solution for the author rewrite rules here: Change Author Base Slug for different Roles The solution worked for me, however, when I now use the get_author_posts_url($id) ...