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
1answer
20 views

2nd and 3rd Custom Post Type URL's 404ing

My first CPT saves its URL's exactly as expected. However, I have worked for 2 days on getting my second and third Custom Post Type URL'S to rewrite correctly. They do in fact save as expected in ...
0
votes
0answers
29 views

Customized wordpress permalinks

Posted on SO earlier but was referred to post it here rather. I have searching it for a while, but can't seem to be able to find anything substantial. Consider the following URL pattern ...
0
votes
1answer
221 views

Using add_rewrite_tag to create urls for page sections

I am dividing my page templates into linkable regions. I'd like to be able to use clean urls to do so. My page urls look like so www.example.com/page-name/?section=example I'd like to rewrite the ...
0
votes
0answers
54 views

External/non-WP rewrite rule without QSA

I'm trying to add a new external/non-WP rewrite rule to my .htaccess but WP keeps adding [QSA,L] to the end of the rule. How do I prevent the QSA part? This line adds the RewriteRule: ...
1
vote
0answers
30 views

Specific routing for CPT

I'm developing site for art gallery. A have Artist CPT (internal name artsin_artist) which is defined in my functions.php like following: register_post_type('artsin_artist', array( 'labels' => ...
0
votes
0answers
79 views

author / profile url without slug

is it possible to make users profile / author url like domain.com/username? I have tried to set "user" instead of "author" as a slug and use the following code in htaccess: RewriteCond ...
0
votes
0answers
44 views

Rewrite/append all URL's with variable if user logged in

I need to add a variable of the username to all of my URL's when the user is logged in. So for example it would be: www.example.com/?user=user1 www.example.com/category1/product1/?user=user1 The ...
5
votes
1answer
426 views

External/non-WP rewrite rules

I have a fairly complex wordpress with multiple sub-directories: example.com/sub1/ example.com/sub2/ I'm trying to implement some history/bookmark support, and to do that I need the URLS containing ...
0
votes
2answers
41 views

change the url in wordpress

I'm creating a wordpress website, And i have created "News" custom post type with taxonomy. My archive page URL is www.yourwebsite.com/news/ and taxonomy page URL is ...
1
vote
0answers
121 views

Multiple post categories - single permalink

I created a post which is assigned to multiple categories. Eg: I have a post "My Post", and I put it in "foo" and "bar" categories. Now my article will have two permalinks, "/foo/my-post" and ...
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
0answers
106 views

Changing a custom post type “has_archive” after registered

Ok, I've seen some similar posts on how to change a custom post type's attributes after it has been registered (in my case, I'm trying to modify a custom post type created by a plugin without ...
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 ...
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 ...
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 ...
-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".
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 ...
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 ...
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: ...
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 ...
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
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
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 ...
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
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?
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
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
114 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
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
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 ...
3
votes
2answers
195 views

How do i change the search permanent links

I have 3 custom searches created using different templates. The search results page loads different results depending on the referrer: <? /* Template Name: Search Results */ $search_refer = ...
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 ...
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 ...
0
votes
1answer
308 views

Author Specific URL's in WordPress

In continuation of this thread Mapping multiple URLs to same page in WordPress is there any other way except redirect similar pattern URLs to same page. Our goal is to provide our guest and other ...
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 ...