Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"
2
votes
0answers
70 views
How to change ?lang=cn into /cn/
I'm trying to add languages to my wordpress driven website and i installed xili-languages plugin. Unfortunately it uses lang param to differentiate between languages and i rather have seen something ...
2
votes
0answers
43 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 ...
2
votes
0answers
89 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 ...
2
votes
0answers
134 views
get_permalink returns default link
I hope you can help me.
So i'm using /%postname%/ as permalink structure, and my htaccess is this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /develop/sekai/
...
1
vote
0answers
26 views
How to pass url as a parameter in a add_rewrite_rule
I am building a plugin which relies on passing the url as a GET parameter. Now, I am trying to prettify the links by using rewrite rules but am stuck.
What I have now:
function ...
1
vote
0answers
40 views
How to rewrite a URL to another rewritten URL without changing the address?
Just got to the end of a site build and the client is now saying the original site URL's need to stay the same and do not want to do 301 redirects due to loss of link juice.
The structure of the site ...
1
vote
0answers
47 views
Lost of query parameter when using permalink
I have many issues with the use of rewriting, but i'll just point out one in this post to be specific.
In my theme i use custom post type, with custom taxonomy
function custom_post_realisation() {
...
1
vote
0answers
38 views
Using a page template without a page
Does anyone know if it's possible to use a page template on a URL, even if a page doesn't exist for that page?
When building sites, I create the relevant pages to ensure use of the templates, but ...
1
vote
0answers
54 views
Incorrect 404 for pages when using permalink, a static front page, and posts page
I am having an issue with my permalink setup, which I think has to do with my setup, rewrite rules, and more.
Under Settings->Reading, we have a static Front Page set as well as a Posts page (Home ...
1
vote
0answers
58 views
Changing URL scheme, mod_rewrite not helping
We're trying to move away from the /YYYY/MM/DD/Post-Title URL structure without breaking links that are floating around on the internet. The mod_rewrite rule is fairly straight forward -
RewriteRule ...
1
vote
0answers
48 views
Rewrite permalink for specific posts
A client wants certain posts to have a custom permalink structure. Client is running WordPress 2.8.5 and upgrade is not currently an option, so I can't use a custom post type. That being the case, it ...
1
vote
0answers
42 views
Flat category URLs but retaining hierarchy?
I have the categories as follows:
- Beauty
-- Hair
-- Makeup
WP expects the URLs to be:
/beauty
/beauty/hair
/beauty/makeup
Is it possible to have the following links while still keeping the ...
1
vote
0answers
47 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
64 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:
...
1
vote
0answers
24 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 ...
1
vote
0answers
84 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
48 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 ...
1
vote
0answers
53 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 ...
1
vote
0answers
42 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 ...
1
vote
0answers
37 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 ...
1
vote
0answers
83 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
0answers
86 views
URL Rewrite with Custom Variables
I right now have a custom post type with a url structure like:
example.com/videos/taxonomyname/
I have a custom variable that I am detecting in the template file to switch layout views which works ...
1
vote
0answers
97 views
wordpress multisite permalink structure: mostly subdomains but not all
I've got a Wordpress multi-site install with three (related) sites, and it works great. Previously, each site had its own totally unique domain name which I was managing with the WordPress MU Domain ...
1
vote
0answers
131 views
Wordpress rewrite rule not working
www.xyz.com/place?id=(variable)
which I would like in the format:
www.xyz.com/places/(variable)
www.xyz.com/tags?id=(variable)
which I would like in the format:
www.xyz.com/type/(variable)
...
1
vote
0answers
60 views
Disable date based archives for all categories except one
I want to remove all date base archive url permalinks (url_rewrites) from my site, excluding for only 1 category. How can i do that.
For example:
www.example.com/category_1/2012/ -> 404 error
...
1
vote
0answers
27 views
Permalinks only for posts
I would like to use wordpress permalinks but only for posts. Is there any way to do that?
I don't care about seo, my website is about niche subject so it already has first position in google. Also ...
1
vote
0answers
29 views
How do I list terms of a custom taxonomy at i.e. domain.com/brands/
I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be:
domain.com/brands - should list the brands
domain.com/brands/brand/ - should list products of the ...
1
vote
0answers
57 views
Custom taxonomy and post type with same slug
I'm using the plugin "types" to register the custom taxonomy and post types,
and got 404 when using the same slug for them to display them hierarchy, like this:
site.com/tax //taxonomy archive
...
1
vote
0answers
159 views
htaccess rewrite, adding segment to url
Im not that good with htaccess files & regexes, and i'm trying to add a segment to a certain url. I'm building a website for a festival and we have a comon structure for the artists being:
line-up ...
1
vote
0answers
44 views
URL rewrite of independent plugin?
I'm currently developing a more complex plugin for WP which can't be hooked up to the WP-API itself (Custom Post Types doesn't fit my requirements). Of course I use the API alot, because the data is ...
1
vote
0answers
166 views
How to display only the parent category in the permalink
How it is possible to display only the parent category of the post. It contains two sub categories and I want to eliminate it.
Example:
myblog.com/parent_category/post_name
This is only what I want.
...
1
vote
0answers
94 views
Having a sub directory with a separate site
Hi I am new to wordpress and I have successful installed my blog wp site. The location of this is on my go daddy hosting server under "\". So WP has installed everything there and I see different ...
1
vote
0answers
55 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
85 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
152 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
15 views
Custom Post Type and Rewrite Slug Not working for Archive page
I'm hoping someone can help me out. I asked this on Wordpress.org but figured no harm in asking here too.
I read an article about using a custom plugin to create custom post types. So I did. ...
0
votes
0answers
21 views
Custom permalinks structure and custom post types
For all posts, regardless of of the post type I want the URL to be, /read/%post_id%/%postname% and have the custom post types be archives so you can go to /%post_type% and /%post_type%/%category%.
...
0
votes
0answers
11 views
Affiliate linking id to payment page
I'm sorry if this has been repeated but I haven't found anything exactly to what I need. I have a website for a client that will be sending links to affiliates. The affiliates will link to our ...
0
votes
0answers
10 views
Rewrite Admin URLs
I am creating settings pages for my plugin. Is there some method of making it so that my admin pages have nicer permalinks? (perhaps using wp_rewrite?). For instance, the url for my settings page ...
0
votes
0answers
40 views
Pretty URLs for lost password functionality
I have WP installed in sub-directory and I'd like to have pretty URLs for the lost password functionality. So, something like this, from WP native -> pretty URL:
Initial and any errors lost password ...
0
votes
0answers
28 views
Change URL of static page set as homepage
I've been on this one for a while and just cant seem to find the proper way of doing it....
I have a static page called 'digital' set as my homepage. I just want the home url to display:
...
0
votes
0answers
32 views
Wordpress adding in site URL to header links
A little information: I am developing a one page theme that uses posts as sections on the main page. I have created code that allows users to add a menu item in the post page from a meta box when they ...
0
votes
0answers
35 views
Adding in Custom Directory/Path in URL Without Effecting Permalinks
After several tries of piecing together different forms of add_rewrite_rule() and .htaccess edits, I have not been able to find a solution that works. I want to add in a custom directory to a ...
0
votes
0answers
57 views
how to set up permalinks to contain special characters
I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
0
votes
0answers
27 views
How Wordpress Rewrite Rule Work
This is my rewrite rule under function.php file
include('add_rewrite_rules.php');
$options = array(
'query_vars' => array('state', 'state_destination','state_name'),
'rules' =>
...
0
votes
0answers
49 views
Use $_GET with permalinks on page
I'm currently trying to use a $_GET to populate a MySQL query with in a URL on another page within a Wordpress site.
URL sample:
<a href="http://site.com/file.php?alabama">Alabama</a>
...
0
votes
0answers
32 views
Complex regex to add_rewrite_rule
I'm making a plugin and I need to get the URL stay that way:
/user/user-name/musics/music-category-slug/page/1
Real example:
/user/mike-yoles/musics/rock/page/1
.
user/ => post_type ( I ...
0
votes
0answers
43 views
Rewrite URL in wordpress
I am working on calendar.
My URL is /event/. When I click on next button my URL changes to
event/?month=11&year1=2012. The query string is added using javascript.
How do I rewrite it to look ...
0
votes
0answers
48 views
How to remove subcategory permalinks on archive page of customtaxonomy and category?
I display the list of parents-category on the home page.
I display the list of subcategories on archive category page.
<?php if (is_home()){?>
<div class="widgettitle"><h3> ...
0
votes
0answers
81 views
Rewrite and replace url wp-admin/edit.php and wp-admin/post-new.php
everybody
I want to rewrite and replace all url
mydomain.com/wp-admin/edit.php -> mydomain.com/wp-admin/edit/
and
mydomain.com/wp-admin/post-new.php -> mydomain.com/wp-admin/addnewpost/
How i ...
