Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"
0
votes
0answers
11 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
1answer
33 views
How to obfuscate theme directory URLs
I'm rewriting this question because I realized it was totally unclear what I want to do. I'm looking for a way to "obscure" the theme directory so that absolute URLs that reference things like images ...
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
21 views
Fix my url problem in wordpress [closed]
I have a website which runs on a bing api. The site is imgpot.com and if you open the site in chrome and open any image on the right side then you will see the URL is broken and it adds %20 between ...
0
votes
1answer
39 views
Rewrite custom post type url's adding meta box values
I've got these custom post types (CPT) and meta boxes:
Movies (CPT)
Genre (Meta box)
Genres (CPT)
If one movie is called Die hard then I want the permalink to be:
/genres/action/die-hard
This ...
1
vote
1answer
49 views
Adding paged query to custom URL rewrite
I have set up the following to create 'pretty' post type and category permalinks:
function kdev_add_category_rules() {
$post_types = array(
'kdev_photos',
'kdev_videos',
...
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
1answer
18 views
Custom taxonomy rewrite using tax name instead of rewrite slug
I Created a custom taxonomy for my projects custom post type.
function projects_taxonomy() {
$labels = array(
'name' => __('projects Categories'),
'singular_name' => ...
0
votes
1answer
32 views
Redirect URL to an existing page with query string or #! added on
I'm trying to make a photo gallery where the individual photos can be shared on Facebook and Twitter, and when you click the link, the photo that was shared will open in a lightbox automatically.
...
1
vote
1answer
48 views
Author Profile URL
I have 2 user roles. "photographer" and "subscriber"
I have set my author.php like this
<?php get_header();
$thisauthor = get_userdata(intval($author));
$author_user = ...
1
vote
1answer
55 views
WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)
I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php
I've been looking at the core code and noticed that most login ...
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 ...
1
vote
0answers
25 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 ...
0
votes
1answer
23 views
Access $_POST data after redirect
How can I access $_POST data after a page redirect?
I guess there is some way to tell WordPress to pass all $_POST data to the redirected address, like it does with $_GET data, using Rewrite Rules, ...
0
votes
1answer
30 views
Wordpress Rewrites - How can I pass a variable to Custom Post Type?
I'm looking for a wordpress rewrite that will let me pass a query var. I have a custom post type that produces urls like this:
example.com/custom-post-slug/custom-post-title/
my goal is to have
...
0
votes
0answers
39 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
27 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
1answer
38 views
“set_front” => false on custom post type breaks wp_list_categories links [closed]
My question is related to this one. I would like my post permalinks to be prefixed by /blog/, but I don't want this prefix to be applied to my custom post type portfolio. In other words, I expect post ...
0
votes
1answer
40 views
Per Page Permalink Structure for Page Post Type
I am trying to Re-Write Page URL's so that they END with .htm
I was able to do this using...
/* Add .htm extension to Page URL Links */
add_action('init', 'htm_page_permalink', -1);
function ...
0
votes
1answer
30 views
How to change pagination base from slash to query form?
Can this function...
function custom_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'p';
$wp_rewrite->flush_rules();
}
add_action( 'init', 'custom_pagination_base' );
...
0
votes
1answer
30 views
Prevent Wordpress from automatically correcting URLs
I notice that if I type in http://www.example.com/pag I can land on an existing page that has a name like http://www.example.com/page_five. I don't know exactly what causes this, but I want to know if ...
0
votes
0answers
4 views
Are there some permalink typology betther than other for SEO indexing? [migrated]
I am pretty new in WordPress and on my blog I am using permalink.
I have see that there is 5 typology of permalink and I don't know if some type are bettere than other for the search engine that have ...
0
votes
1answer
48 views
Custom post type and custom taxonomy archive inaccessible
I've created some custom post type let say:
post_type_1
post_type_2
Those post types are related to each other, every post_type_1 has parent of many post_type_2.
Then I created a custom taxonomy ...
0
votes
0answers
31 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 ...
6
votes
1answer
123 views
Two (or more) parallel (sub-)TLDs that are retained when surfing the site / dynamically set the site address?
I am running a site for a German NGO under the domain sub.example.org.
Recently, I added sub.example.ch for its Swiss spin-off.
Both (sub-)domains are pointing to the same physical location, a WP ...
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
1answer
32 views
how rewrite is working in wordpress
I have installed a plugin called marketpress.
And it have a url as http://www.mydomain.com/store/shopping-cart/shipping/
Now i just want to know which php page it refers to.
In my db and found ...
1
vote
1answer
20 views
Multiple URLS per post non-ascii
I am looking for some best practice / practical advise on a particular URL use case. I am finding myself using a lot of non-ASCII characters in my URLs. This doesn't really make it easy for users of ...
0
votes
0answers
54 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' =>
...
3
votes
2answers
68 views
How to modify author base slug with groups and slug to use nice_nickname?
After reading the following suggestions from Jan Fabry regarding URL rewrite and the author slug I took the challenge in combining both solution in one.
Change author base slug for different roles
...
0
votes
2answers
40 views
username in rewritten URL, howto use it in a template
on my site user profiles can be accessed on /user/xxx. Now i created a rewrite rule and all user links are handled on the template page. But how can i access the xxx(user) in the template file?
The ...
0
votes
1answer
34 views
What is the proper way to use add_rewrite_rule to remove the (question mark)?
I have a page called "People" with a custom template that takes in a variable called name:
example.com/people/?name=FirstLast
What I want is this:
example.com/people/FristLast
I know I need to use ...
1
vote
2answers
56 views
open all .docs in word online
Hey I'm trying to make all .doc/docx .xls/xlsx files open in office online.
This would mean that every link to a .doc
http://mywebsite.com/wp-content/uploads.link.doc
would have to instead point ...
0
votes
1answer
36 views
Custom Rewrite Problem
I'm creating some custom rewrites using the code below. Everything works fine, as far as urls such as this:
example.com/reviews/showname
Tells my theme to use the special archive page and passes ...
0
votes
1answer
53 views
Need Help With A Rewrite Issue
On the site im getting this
"mysitehere.com/pro/my-everyday/?auth=my%20author%20title"
I would love to have it like
"mysitehere.com/pro/my-everyday/my-author-title"
I have looked around and found ...
1
vote
0answers
38 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 ...
0
votes
1answer
140 views
Custom Post Type nest under a normal WordPress Page
EDIT Again, nope it's not impossible, just nasty. Solution below.
Trying very hard to get this working. Have tried numerous suggestions here on stackexchange/overflow
My goals are to simply select ...
0
votes
0answers
48 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
1answer
22 views
Rewwrite rule for mapping plugin static file
I am thinking to move my static data to Amazon cloudefront and i am able to map all static data with the URL from the cloudefront except Plugins i have installed.
I do not want to use any plugin to ...
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
41 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
47 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
2answers
50 views
How to embed a new string in url?
I am creating a custom tours and travel theme in which I have created custom post type Cities, Locations, Destinations and i am using custom permalink structure. /%category%/%postname%/
So now I want ...
3
votes
3answers
174 views
rewrite_rule() not preserving the query string
We have added a custom rewrite_rule to our site to allow for a pretty inbound link to be parsed and handled properly. Links are constructed as domain.com/meetings/faculty/someIDnumber
add_action( ...
0
votes
1answer
27 views
Generate daily archive whenever any post type is added
We have an issue with our date archive in WordPress, where our daily archive (example address www.xxx.com/2013/01/09) is only generated when a post from the default post type is added. Any day where a ...
0
votes
1answer
87 views
How to customize a title by passing query string?
I have a profile page, it is a template. Every time when I click one of a doctor, the profile page will show the specific doctor info by passing a query string. Something like
profile?doctorName=abc.
...
0
votes
0answers
79 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 ...
0
votes
0answers
44 views
Add query var to every post permalink
I have to add a variable value myvarvalue to every post permalink. Every post could have it but could also be empty, so it's not necessary they will have.
The permalink should be: ...
0
votes
0answers
33 views
rewrite rules, replicate page for #! vars
my site has only one page and tons of news in small boxes, i load all of this news from a JSON with jquery. Im trying to make the site google friendly so i've checked in google "AJAX content crawled" ...
