Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"
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" ...
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() {
...
0
votes
1answer
36 views
Rewrite vs Redirect from ?p={ID}
WordPress does a 301 from http://example.com/?p=100 to http://example.com/post-title/, but I thought a URL rewrite was different from a redirect and therefore this wouldn't result in a 301.
Can ...
0
votes
0answers
24 views
Need help creating custom rewrite rule
My goal is to change
http://mysite.com/store/?city=oslo&store=ferner+jacobsen&id=3721
to
http://mysite.com/store/oslo/ferner+jacobsen/3721
@Jan-fabry have given me an extensive explanation ...
1
vote
1answer
64 views
Custom Rewrite Rules
I am developing a plugin, the goal of which is to allow for a bookmark-able, pretty permalink search engine on a single page. To do so, I am using WP's rewrite rules to allow for the ...
2
votes
1answer
20 views
Is it possible to generate an alternate structure for multi-tag urls?
I know that one can query multiple tags with the + syntax, as in www.example.com?tag=?test+test2+test3
I'm looking for a solution where the URL would be in this format instead: ...
0
votes
2answers
44 views
wordpress url correction
I have my wordpress site in a root folder like this "www.mysite/myblog/"
so to get to the blog you have to go to "www.mysite/myblog/"
I'm wanting to make it so that a user can go to "www.mysite" and ...
0
votes
1answer
40 views
Function to rewrite URl in Wordpress
I need to rewrte this URL http://example.com/news/?news_id=2 to http://example.com/news/2 where news is the page and 2 is the news_id
I have added following code in functions.php:
function ...
1
vote
1answer
77 views
Passing the JQuery string to Worldpress URL
I have already followed the tutorial here: http://www.rlmseo.com/blog/passing-get-query-string-parameters-in-wordpress-url/
But it still doesn't work.
In the function.php, my code is
//decode ...
1
vote
1answer
118 views
Creating a dynamic URL structure
I want to create a directory structure for my WordPress links and for the final page to be based on the taxonomy of the page.
So I have a business that belongs to a city (meta) and country ...
2
votes
1answer
103 views
Creating a custom public user page
I'd like to develop a plugin that allows me to have custom user pages. I really like the way the author archive template handles the URL: /author/username. I don't want to rewrite the author_base as ...
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 ...
0
votes
1answer
42 views
URL Redirect in Wordpress
I am facing problem to redirect some url in wordpress. I need to rewrite following URL:
First URL is like this: http://example.com/news/?news=2 where news=2 is the news id and I am getting this id by ...
0
votes
0answers
40 views
Permalink rewrite to show author's custom post types through author/USERNAME/CPT
I'm trying to hook into the author/NAME/ permalink to allow showing of specific custom post types (CPT).
I'm almost there. Everything works, except paging on CPT request.
e.g. author/USERNAME/CPT/ ...
4
votes
1answer
246 views
How do I add a server-independent external rewrite rule?
External rewrite rules are awesome. They let you define rewrites that don't necessarily pass through WordPress' index.php. This means you can map arbitrary rules to arbitrary files like:
...
0
votes
0answers
44 views
Rewrite URL to include custom field
I am using /%category%/%postname%/ permalinks.
Within two custom post types (and only those two), I need to append that URL structure with a third variable which will be from a custom field (provided ...
0
votes
0answers
141 views
How to change the permalink structure of the default post type
This Custom permalink structure only for default posts looked like the perfect answer:
add_action( 'init', 'my_new_default_post_type', 1 );
function my_new_default_post_type() {
...
0
votes
1answer
77 views
ow to change cutsom page url of wordpress site using htaccess
i need help in httaccess rewrite of a wordpress site. i have url like below
http://thewhiterabbit.dk/beta/steder-detail/?id=floos
i want it to be like
...
3
votes
1answer
82 views
Creating custom permalink structure for languages
I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc).
I hook into the wp action to read the ...
1
vote
1answer
219 views
Passing parameters to a custom page template using clean urls
I am now passing parameters to a custom template in the following format
www.example.com/?pageid=12&rid=24&title=this-is-the-title
I have created two tables . So I need to fetch data and ...
0
votes
1answer
65 views
Rewrite rules for custom posts types
So I created a new post type 'quote'.
Basically I want to change all quotes URLs to domain.com/quotes/ID since as it as right now (/?quote={xxx}) could get pretty long, and since this post type is ...
0
votes
1answer
50 views
Wordpress Rewrite Rule
I have a standard page setup at http://mysite.com/mypage/
I'd like to setup a rewrite rule in my theme functions that takes any URLs such as:
http://mysite.com/mypage/helloworld/ <-- Currently ...
5
votes
1answer
157 views
Date based URLs for custom posts and pagination
I have created a custom permalink structure for a custom post type (events) using the code below:
$GLOBALS["wp"]->add_query_var("event_year");
$GLOBALS["wp"]->add_query_var("event_monthnum");
...
3
votes
1answer
139 views
Custom taxonomy on permalink
I have a long time problem and look forward for your help.
I have a custom taxonomy of "city" (it is no hierarchical like tags).
I just would like my URLs to look like this:
...
0
votes
1answer
36 views
Overwrite URL on blog posts
I would like to overwrite my URL on single blog posts.
At the moment my posts are displaying as www.mydomain.co.uk/post-title, however I would like them to be as
www.mydomain.co.uk/blog/post-title ...
0
votes
0answers
52 views
How to add a custom permalink to posts that have one specific tag or category?
sorry if the title doesn't explain well what I want... I'll write an example. I have set one Wordpress site with this permalink settings:
/%postname%/
That's what I need for mostly of the posts, but ...
-1
votes
1answer
63 views
Display posts in page url structure [closed]
I wonder if it is possible to "move" all posts into the page structure.
Reason is that it would be great SEO but not sure what problems it would cause with Wordpress it self.
Currently I have a ...
6
votes
1answer
200 views
Using the Rewrite API to Construct a RESTful URL
I'm trying to generate rewrite rules for a RESTful API. I just want to see if there is a better way to make this work than having to write out every possible rewrite combination.
Ok so I have 4 ...
0
votes
1answer
87 views
Creating a folder structure
My WP site has a members area which they pay to get access to.
I want that area to be a subfolder, so something like site.com/premium/nameofpage.
I am aware of url rewriting, htaccess etc. Is that ...
0
votes
1answer
52 views
Rewrite URL variable to custom path
I am passing to my url some variables to display latest posts, most viewed etc.
http://website.com/?r_sortby=highest_rated
I am wondering how to create a custom path for it instead for SEO purpose ...
0
votes
2answers
58 views
subdirectory install breaking existing links
I've had this issue several times now. While building a site, including some content, I keep wordpress in a subdirectory (say, /wordpress/). When putting it live, I move/copy 3 files out of the dir ...
2
votes
2answers
233 views
Rewrite the base-url for single posts
I want to append the URL when viewing a single post.
For example when im on a post I want the url to be something like: example.com/mypage/mypage/single-post-article
The default url is ...
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 ...
0
votes
1answer
56 views
How to solve this without flushing the rewrite rules for each post query the visitor triggers?
Actually I have the problem that I provide a menu link (predefined in theme) to the latest post of a specific custom post type. I achieve this by the following function …
function ...
0
votes
1answer
39 views
How to Detect That WP is Using Mod Rewrite or $_GET variables?
I am trying to get WP is using Mod_Write or $_GET for URLs,
Because by it, I can generate my own links like:
mysite.com/val1/val2
or in a conventional way;
mysite.com/?var1=val1&var2=val2
...
0
votes
0answers
43 views
Use structure tag in custom post type url format permalink [closed]
Is it possible to use structure tags in custom post type rewrite slugs?
add_action( 'init', 'test1' );
function test1()
{
register_post_type( 'test1', array(
'label' => 'test1',
...
0
votes
2answers
47 views
Is Wordpress API visible from PHP file called in htaccess
I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
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 ...
0
votes
1answer
50 views
URL Variables in a Certain Page
I have a product loop in a certain page,
and I want to filter its categories via URL such as:
mysite.com/products // Shows all products
mysite.com/products/sculptures // Shows only sculptures
...
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 ...
2
votes
3answers
125 views
Defining a default page for custom post type
Let's say I create a custom post type called 'new projects', with capability type = page and slug = 'projects'.
Let's then say that I create a new page of type 'new projects' and name it 'my new ...
1
vote
1answer
74 views
Disable page access via query vars
I'd like to disable the default WP query vars (p, attachment_id, etc...), and make the pages only accessible by URI Permalinks.
I've taken a list of variables from WordPress Query Vars and created a ...
3
votes
1answer
161 views
Add rewrite rule in plugin: with .htaccess in plugin folder or using WordPress functions
I need add a rewrite rule in my plugin, and distribute it with my code. All works fine if I put the rule in the .htaccess in the WordPress root folder, but I need distribute the plugin with my rule.
...
5
votes
1answer
233 views
Custom post type yearly/ monthly archive permalinks
I have a custom post type "news" in my Wordpress site. I am using Advanced Custom Fields plugin to add meta data to each post.
I want to create an array of news items as an archive:
[2013]
...
2
votes
2answers
73 views
Rewrite numeric ID parameter for hierarchical custom post type
I've been banging my head against a wall on this one for a while but I'm not quite sure from all the tutorials I read how to see why this isn't doing what I expect.
I have a page called ...
0
votes
1answer
42 views
Monkey Man Rewrite Analyzer says my rule will trigger but it doesn't [closed]
I installed Monkey Man Rewrite Analyzer, i got a rule installed, it shows in the list, if i test it with monkey man it says it will fire but it doesn't in reality, whats wrong?
add_action('init', ...
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 ...
0
votes
1answer
85 views
Make Author Archive Page URL be a Subdirectory of a Custom Post Type URL
I have a custom post type with a custom URL structure so it works like:
http://domain.com/custom-post-type/post1
http://domain.com/custom-post-type/post2
http://domain.com/custom-post-type/post3
etc.
...
2
votes
1answer
107 views
add new permalink structure from dynamic page
I created page "play" url: http://localhost/myweb/play and inside of page "play" I include PHP code to make the new search from outside Wordpress.
And all worked, if I search from my page "play" the ...
0
votes
1answer
125 views
How to Force WWW. in Domain With WordPress MU Domain Mapping Plugin?
I created a thread (How to make www. and no www. Go to same site, for all sites?) in the support forums for the WordPress plugin: WordPress MU Domain Mapping.
Everything is fine and dandy. I have a ...

