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

Correctly Rewrite Register Page

I have attempted to make it so that users can register on my site as follows: www.domain.com/register I have done this by adding the following line to my .htaccess file: RewriteRule ^register/?$ ...
0
votes
1answer
51 views

WP Rewrite for a custom variable

I know there are dozens of posts on this, but (I'm embarassed to say this) I'm having a rough time following them. My goal here is to have /resources?audience=teachers become ...
0
votes
1answer
430 views

How to rename the WordPress wp-login.php running on IIS6?

My Windows 2003 VPS recently hang due to bots hammering my WordPress login php non-stop for hours (determined from IIS6 logs). This caused MySQL to use up all the allocated 1G RAM. After resetting ...
-1
votes
2answers
480 views

get parameter from url rewrite [closed]

I have a problem : Example : http://domain/hotel Now I set value: http://domain/hotel/?tour=hawaii How i can get value of variable "tour".
4
votes
1answer
89 views

Pretty Permalinks

I've created my own search functionality which basically finds the nearest store closest to the entered postal code. My URL for the search currently looks like this ...
0
votes
1answer
94 views

Custom Permalinks for Custom Post Types and Taxonomies

I've been struggling with this for hours. I'm trying to get this URL structure: example.com/business/%custom-tax-name%/%custom-post-name%/ By custom tax name I don't mean the name of the taxonomy ...
0
votes
0answers
113 views

Custom post type & taxonomy just like WP defaults

I've spent days attempting to do a single thing: create a custom post type/taxonomy (cat)/taxonomy(tag) trio that replicates the stock standard WP category/post/tag structure with permalinks of ...
1
vote
0answers
126 views

How to remove slug from hierarchical custom types in 3.5.2

I know that is not suggested and that there is lots of discussion about this argument out there. Unfortunally, after a week of trying and tests, I have not managed to remove the slug from my custom ...
0
votes
0answers
116 views

Index page redirecting to custom post type page

Every time I go to the index page of the website, it redirects me to a single custom post type page. This url: http://example.com/ Redirects you to this url: ...
0
votes
1answer
53 views

rewrite rules add a folder in the path

I have to do some url rewritting for custom post types. I have 2 custom post types: portfolios and locations. What I need to change is the url like this: current: ...
0
votes
0answers
114 views

Problem with my add_rewrite_rule

I have a rewrite rule that needs to allow me to add 1-3 variables to the end of a page, the variables are then accessed by a plugin using a shortcode. This is the base page: ...
1
vote
2answers
73 views

Wordpress Rewrite

I'm trying to get http://example.com/site/vendors/?u=abc to rewrite to http://example.com/site/vendors/abc but I can't for the life of me figure out how to get the url rewrites to work. /site/ is the ...
0
votes
0answers
43 views

Custom Rewrite for Profiles

I'm currently trying to modify my rewrites to allow for an additional URL segment e.g. http://example.com/vendors/username/ by default WP allows for additional numeric segments but everything else ...
0
votes
0answers
100 views

Stop wordpress to redirecting home page if no page found

I don't want to redirect to home page when there is no page or wrong url. I have following in httaccess file # BEGIN WordPress RewriteRule ^sitemap.xml sitemap-%{SERVER_NAME}.xml [L] RewriteRule ...
0
votes
0answers
433 views

How to rewrite AJAX call URL to admin-ajax.php to match REST style URLs

Let's say I have an AJAX callback setup using admin-ajax.php that fetches WordPress posts when query parameters are passed in the URL. A typical URL for an AJAX call using the GET method would look ...
0
votes
1answer
58 views

Having WordPress control only certain pages with .htaccess?

Building a site that we want the home page controlled by it (main page will be the main blog page as well as the site home); it should also control a couple other pages such as the contact us page and ...
0
votes
1answer
59 views

Custom Post Type, post-formats associated to custom post type > 404 archives

I'm finishing a custom layout. Here's the code of my Custom Post Type <?php /* ------------------ [ CUSTOM POST TYPE ] ------------------------- */ add_action( 'init', 'create_post_type' ); ...
1
vote
3answers
708 views

Custom post type URL with post ID that allows archiving and paging

I'm having a difficult time trying to get my custom post types URLs to work correctly. Every solution I find has crippled another part that needs to work. What I am trying to accomplish is ...
0
votes
1answer
49 views

Wordpress Custom Rewrite Rule

I have a custom page template to use for a wordpress page. I am trying to setup a custom rewrite rule but without success. I have a page at blog/book-page/, the display of this page depends on the ...
1
vote
0answers
51 views

Help with .htaccess and Login with Subfolders

I know this question has been asked many times, but I still not sure whether I have this correct. I am trying to make it so that my login page is here: www.url.com/login My WordPress installation ...
0
votes
1answer
137 views

Getting URL Variables with a Rewritten Page (Login Page)

As part of a larger project, I am attempting all login activity to occur at the following address: www.url.com/login So, a link that should lead to a form that would allow a user to reset their ...
2
votes
1answer
45 views

Is there a 'rake routes' for wordpress?

Is there an equivalent to 'rake routes' in php/wordpress that would spit out all the available wordpress url paths available?
1
vote
3answers
195 views

Changing RSS feed URL structure

I am in the process of creating a wordpress website, and I just have one issue left - RSS feeds. Currently, the website has a .htaccess file blocking access to /category/* pages. It was part of a ...
0
votes
2answers
69 views

List posts with same tag?

Is there any way to list my posts by tags ? i need to alter the URL too... like mysite.com/tags/mytag will list all the posts having 'mytag' as tag.
0
votes
1answer
139 views

Localize URL bases

I run a non-English blog. I love that WordPress has been translated to Spanish and currently I use the Spanish translated version of WordPress. One thing that I'd really like to change is the URL ...
0
votes
1answer
34 views

Difference in Get Variable Location

I have noticed that in some instances in WordPress (such as in my custom post types), GET variables appear as following in the URL: www.url.com/events/cool-event?action=edit&message=1 However, ...
0
votes
1answer
115 views

Change Permalink Structure for Tag.php template

Im using a custom post type to build a filterable gallery and taking advantage of the tags taxonomy within it. I am also using a custom taxonomy called years. at the moment, the permalink structure ...
0
votes
1answer
63 views

Pagination posts. Url format

i'm using pagination for very long posts. So i have a problem here. I'm not happy with standard utl structure (where is couple personal reasons for that in my project). For example, i have post ...
0
votes
1answer
66 views

Additional .htaccess rules based on wp page

I've created a page in the dashboard called Authors, created a new template-authors.php with completely own logic. It works well, going to website.com/authors/ I see a list of all authors, specifying ...
3
votes
2answers
812 views

Custom Post Type and Taxonomy URL rewrite

I'm creating custom theme for my personal website using Wordpress 3.5.1. I have problem with the WordPress custom post type and taxonomy, here's the detail: custom post type name: articles taxonomy ...
0
votes
0answers
98 views

Ignoring slug capitalization on rewrite rule for custom post type archive page

I'm declaring a custom post type 'games' with a rewrite rule: 'rewrite' => array('slug' => 'Games','with_front' => false), So the resulting url for the games archive is ...
0
votes
0answers
66 views

Permalinks with Virtual Pages

I am attempting to make a custom login page template (page-login.php) that will be loaded whenever the user navigates to any of the following URLs: www.url.com/login ...
0
votes
0answers
33 views

Custom URL writing with two taxonomies

I have two custom taxonomies: Brand and State If I'm viewing the "Browse States" page, I'm wanting to use wp_list_categories() to list all the states (I can do this). The urls for each State being ...
0
votes
2answers
118 views

Exclude subcategories from the url

We have a site with categories and subcategories. If anybody navigates to a content belongs to a subcategory the url will have the following form: domain/main-category/sub-category/mycontent/ But we ...
0
votes
0answers
22 views

Make only one CPT available by slug

I did a lot of research until I figured out how to remove the slug from a custom post type. I used the method described in this post here. So I have RewriteRule ^bereiche/(.+)$ /$1 [R=301] in my ...
0
votes
1answer
38 views

How to force load a page in plugin?

I have a plugin which do very simple task... if ( $_SERVER["REQUEST_URI"] === '/foo' ) { // How to display the content of page of ID = 3, without using wp_redirect() } So the url is staying at ...
3
votes
2answers
302 views

Rewrite url for custom post type

I'm using WPML plugin to translate my site. I have a custom post type called "vinos" and I use this args: $args = array( 'labels' => $labels, 'hierarchical' => false, ...
0
votes
0answers
91 views

Multiple Taxonomy in URL/Query - No Custom Post Type

I have Volume and Issue as separate Taxonomies and all Posts have a Volume and Issue assigned. These posts are of post_type=post, not a custom post type. I linked to and queried for the Volume ...
3
votes
2answers
215 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
1
vote
1answer
565 views

Wordpress returns 404 on custom rewrite rule conflict in parameters

I have been following the steps on the answer here and it worked wonders. But my problem is on this part, on the original: add_filter('rewrite_rules_array', 'mmp_rewrite_rules'); function ...
1
vote
0answers
347 views

URL Rewrite and add_query_var not working

I know there are several topics about URL rewriting in Wordpress but none of the topics I found helped me. I want to rewrite the URL profile/?person=abc (which works fine, but isn't pretty) to ...
0
votes
2answers
28 views

Access posts while mod_rewrite is broken

On my wordpress installation mod_rewrite (e.g. the permalinks) is temporarily broken. For debugging I want to access the formerly "prettified" page mydomain.tld/page/2. What is the old GET parameter ...
0
votes
0answers
72 views

Add parameter to URL

I have in my functions.php this function: // rewrite the url function my_rewrites_init(){ add_rewrite_rule( 'demo/([0-9]+)/?$', 'index.php?pagename=demo&p_id=$matches[1]', ...
0
votes
0answers
123 views

Multiple taxonomy (category) filters

I would like to add advanced filtration to my wp website. E.g.: - you can filter cars by "fuel type", "purpose", "color", "brand/make"... - I would like to get intersection of results in one page. ...
0
votes
1answer
132 views

URL Rewriting in WordPress

How can I rewrite URLs on WordPress? For example, I have a URL like sitename.com/?page=<numbers>&id=<numbers> and I want to rewrite it as sitename.com/page/id/<other info>. How ...
0
votes
1answer
47 views

Rewriting WordPress URLs

I've got a plugin which takes input through a GET request via a shortcode. The shortcode is placed on a page with the address /search, and the query used to execute this particular piece of the search ...
0
votes
0answers
81 views

Pass form field values as part of URL

I'm trying to integrate my contact form (contact form 7) with a payment gateway. How do I pass the value in my input field after the user hit submit button? For example, if the amount is "12.99" ...
0
votes
1answer
28 views

.htm re-write is adding an ending / to my URL bar

The client site I am working on required me to make the Page post type pages to end with the .htm extension. I got that working, however when you go to a page... www.domain.com/mypage.htm it loads ...
0
votes
1answer
77 views

Get logged in username in wordpress url

I want to get the username of the logged in users in the URL of my wordpress site. Like if user: arvind is logged in, I want to get the url as 'www.wp.com/arvind' or 'www.wp.com?user=arvind'. Is ...
1
vote
1answer
715 views

Removing parent slug from URL on custom post type

As the title states, I'd like to remove parent slugs from URLs for a particular post type: services. Something that would change this: http://demo.com/parent-service/child-service-1 ...