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

Creating a page for custom taxonomy archive

I have a custom taxonomy called 'news'. Inside it I have two categories called 'news-releases' and 'competition-news'. Going to 'mydomain.com/news/competition-news' gives the expected result and ...
3
votes
2answers
503 views

How to custom change author base without $this->front?

I have a sample code: function change_author_permalinks() { global $wp_rewrite; $wp_rewrite->author_base = 'u'; $wp_rewrite->author_structure = "/" . $wp_rewrite->author_base . ...
0
votes
2answers
3k views

How to remove the index.php in the url?

I have installed wordpress in a subdirectory (blog). In the root directory I have installed Magento. Now the file directory is as following: app downloader includes media .... blog/wp-admin My ...
2
votes
1answer
238 views

Members area with externally-managed htaccess / htpasswd authentication?

I am looking at the feasibility of converting a client's site from countless hand-built web pages to a WordPress installation. The challenge is that we have a free area and a members-only area. The ...
0
votes
2answers
140 views

Rewrite function

I have a wordpress blog. I get url in blog like this, http://www.domain.com/2013/01/test19/page/2/ But I want my ur like this, http://www.domain.com/page/2/ So can we rewrite this url. I ...
0
votes
1answer
38 views

How can you preserve URLs when moving posts to a custom post type?

I am working on a site where they want to break up the content into custom post types (right now everything is broken up by post categories) but they want to be able to save their URLs to preserve ...
1
vote
0answers
73 views

URL endpoint with html

I'm using wordpress endpoints for render another template on a post page. How can i add '.html' end of the url that using endpoint? Example; Normal URL: example.com/angry-birds Normal URL with ...
1
vote
0answers
98 views

Custom post type's permalink adds the name of the post type before the post name

So I've create a custom post type which seem to work. however the permalinks of the create posts has the name of the custom post type in-front of the post name. I am getting addresses like: ...
0
votes
1answer
33 views

My wordpress site must be being affected by outside sources [duplicate]

Possible Duplicate: Error 310 too many redirects after switching domains Some of my pages are resulting in 310 errors. We recently switched domains from kgstiles.com to ...
3
votes
2answers
233 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 = ...
-1
votes
1answer
414 views

How to redirect image attachment to its original post

I'm making a slider that is getting images from attachments in the post. I am trying to rewrite the url for the post so that if someone pastes the direct url to the attachment, it'll go the post ...
1
vote
1answer
59 views

Organizing Your Pages

I'm having problems creating sub pages. So far I've followed the proper directions: Go to a new page, click the "Page Parent" drop-down menu. Select the appropriate parent Page from the drop-down ...
0
votes
2answers
124 views

Generating custom URL before post is published

I have implemented a post_type_link filter for my custom post and this is working great. However, the only downside is that the final URL only seems to be created when the post is published. What I'd ...
1
vote
0answers
32 views

URL Rewrite fires when retrieving a custom value?

I'm working on an old WP Multisite instalation (3.0.1) and something weird is happening. The guy who built the site made a decision to store direct URLs instead of Post IDs to a Custom Field. And ...
2
votes
0answers
77 views

Use single-site install and map entities to subdomains

Not sure if this is a pipe-dream, but I am interested in the URL rewriting capabilities (and DNS mapping) of a single-site WordPress install. Typically in a WordPress MU setup, we'd use WordPress Mu ...
4
votes
5answers
4k views

Relative URLs and hide /wp-content/themes/

in my header and other sections I would like to use <script src="/incs/js/script.js"></script> While maintaining the default theme folder structure in server as below ...
2
votes
1answer
265 views

Custom user profile URLs

I have created a page "profile" that when visited with get variable of user id like: http://example.com/profile/?uid=1 Then it will display the profile details of user id 1. Now I want to rewrite … ...
0
votes
1answer
140 views

Virtual Page with Registration form

Working on a plugin, which is intended to provide a registration on front-end, to let users register. I am trying to create a Virtual page, which would display the form. Trying to create URL like ...
3
votes
2answers
474 views

Make post slug have priority over category slug

I have a wordpress site where the category base is stripped from the url. Now, when a category has a certain slug that's similar to a post slug, the category is shown. I would like to show the post ...
0
votes
1answer
93 views

URL problem: www.sitename.com/blog and www.sitename.com/learn using same WP installation

I'm sure there has to be some way to make this with single wordpress instalation. Posts for "learn" page are tagged with "learn" and I built a custom template that has loop that prints only posts from ...
1
vote
2answers
181 views

How to rewrite custom post type URL for multiple depths instead of one specific depth

I got this code that rewrite the url's for custom posttypes. It works but only for a depth where the posttitle is on the 5th segment. How can i adjust it so it accepts multiple depths? e.g.: ...
2
votes
1answer
192 views

Rewriting URLs in Wordpress

I am trying to solve a rewrite problem but don't fully understand how to read the below code. I believe the event/industry/(.+)/?$' is stating the format I want in my new url after rewritten, which ...
0
votes
3answers
70 views

how to move another machine or server without dealing with IP

Wordpress website for a small company. i am able to install wordpress in IIS server. my doubt is when installing , i am giving the ip address as "192.168.0.101:87".Everything works fine.I created ...
0
votes
1answer
712 views

404 permalink errors on Pages only

I am having a strange issue with permalinks while using the /%postname%/ structure. I can access my custom post types using the pretty permalink localhost/cpu/<post-type>/<post-title>/ ...
0
votes
1answer
36 views

URL to an image in a post is changing when permalink is set to custom. Can I avoid this?

I have a buy-button image set in all posts on the entire site. When permalink settings are default the URL to that image file is www.mydomain.com/images/buy-button.gif. When permalink settings are ...
1
vote
2answers
102 views

a one-off rewrite rule

I have one page that I need to change the URL for. Currently, the page resides at example.com/departments/human-resources/ (human-resources is a sub-page of /departments/ ) My client wants to ...
1
vote
1answer
316 views

ReWriteRules and WordPress Multi-Sites with Sub Directories

I'm having a diffucult time getting the ReWriteRules and URL structures setup for a Wordpress 3.4.2 (latest version as of this post) blog with multi-site enabled. www.ourdomain.com/ is the homepage ...
1
vote
0answers
311 views

Custom category URL rewriting

Here is the situation: let say I have a page called Press and that page has this url: www.example.com/press-center Now, let say that I have a category Press (slug is press) and subcategory called ...
1
vote
0answers
58 views

404 error using Meta for Permalink rewrite

I'm trying to rewrite my permalinks using meta data from my post. The permalink rewrite works fine but I'm getting the 404 error when I try to view the post. Could someone offer a clue as to why this ...
0
votes
2answers
251 views

How do I make WordPress revise an .htaccess file a certain way?

I've learned just a slight bit with WordPress Rewrite API -- just enough to add another rewrite rule for a plugin. The plugin works if installed in the root, but I'm finding that if one installs ...
4
votes
1answer
288 views

Enforcing canonical URLs with multiple custom post types

I'm working on a project with several custom post types, where one of the post types is naturally (but not actually in the WordPress sense) the 'parent' of the others. For example, say I have a ...
-1
votes
2answers
1k views

How to improve WordPress security by hiding non public facing files?

e.g. curl -I http://ma.tt/blog/wp-config.php 200 OK The wp-config.php is not public facing file, since it currently just return blank page, so why not return 404 instead. (so will not be cached by ...
0
votes
1answer
372 views

Tricky URL rewrite with custom values in url

We have custom post type as user_images and each of these post has a image attached with image name is 3 digit number followed by extension. When the url http://mysite.com/wp_username/3digitnumber ...
1
vote
0answers
67 views

Possible to get all posts with my shortcode?

So here's what I'm trying to do. I'm building a plugin for a business directory. Each business is assigned to a category. There are two views, listing and detail. To give the user as much ...
4
votes
1answer
188 views

Permalinks so that one custom post type appears to be a child of another, not working

Currently I have two post types, "products" and "products-data" they are separate post types; however, for all intents and purposes products-data is a child post of products. The relation is ...
4
votes
1answer
415 views

Display posts with author in the url with custom post types

I'm having a really difficult time with this. I have a multi-user gallery site. Each author has his own page that lists the author's posts (this is a custom post type). I have made it so that the ...
0
votes
2answers
233 views

Rewriting Image URLs from dynamic to original

Here's the deal: My plugin automatically watermarks images from the WP gallery on the fly using the GD library wherever these images appear. So, I have a physical copy (in wp-uploads) of these ...
5
votes
1answer
635 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 ...
1
vote
1answer
97 views

How to Create a Custom Slug for Tags and Categories with a prefix or suffix?

I wanted to rename the slug to use a custom rewrite with a prefix or suffix that I choose. For example, if the tag name is "product" I want to use a rewrite with a slug that says ...
1
vote
0answers
72 views

Pretty URLs and rewrite

I'm trying to get to where I can create a pretty URL for a custom post type (The end goal being to add a unique value to the query string so I can leverage page caching). So for example the original ...
0
votes
1answer
79 views

Two Rewrite Rules

I have one folder inside WordPress root folder named links and there is a file called index.php inside this folder. at somewhere else in my WordPress site I do generate links such as ...
0
votes
1answer
496 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
2
votes
0answers
358 views

get_permalink returns default link

I hope you can help me. So I'm using /%postname%/ as permalink structure, and my htaccess looks like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
1
vote
0answers
52 views

Customise particular RSS permalink

From my old static website, I want to preserve some URLs like the RSS Feed one. My feed URL is http://traduction.bainslesbains.com/actualite-russe.xml and I want to redirect it to the category feed ...
4
votes
1answer
645 views

Add forward slash on categories url (serve one version of a url)

How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash). I manage to remove ...
1
vote
0answers
111 views

One blog inside another

I have a question about having two blogs at the same host simultaneously. Here is my scenario: The first blog is hosted in the root directory http://mathosproject.com/, and the second is hosted in a ...
1
vote
2answers
1k views

Combine Multiple Categories Into One URL Slug

I have a Wordpress website with 20+ categories. To make it easier to navigate I want to decrease the categories, but at the same time keep the original categories. In other words I want to be able to ...
2
votes
1answer
101 views

Appending numbers to url do not break the link

I'm doing some url and meta cleanup and have found a strange problem(?) where, when adding a number to a url, the url still works. For example: The following uris both work and retrieve the same ...
0
votes
2answers
631 views

Search url wp-rewrite after redirect?

I started using this functions for my "search results"-page. #SearchRewrite add_action('generate_rewrite_rules', 'my_rewrite_rules'); function my_rewrite_rules( $wp_rewrite ) { //RewriteRule ...
2
votes
1answer
226 views

Custom rewrite rule is not picked by Wordpress

I am trying to create a custom Rewrite URL something like function add_my_rule() { global $wp; $wp->add_query_var('state'); $wp->add_query_var('state_destination'); ...